You don't normally, because its better for the code to be consistent among developers. I would advice that you, instead aim to convince your team to install it for the project. If you still want to do it, you could install it, develop and then remove it from your package.json before commiting. And maybe create a simple script file (AI could do this for you) to do this for you. Answer from R3PTILIA on reddit.com
🌐
npm
npmjs.com › package › eslint-plugin-react
eslint-plugin-react - npm
April 3, 2025 - React specific linting rules for ESLint. Latest version: 7.37.5, last published: a year ago. Start using eslint-plugin-react in your project by running `npm i eslint-plugin-react`. There are 16982 other projects in the npm registry using eslint-plugin-react.
      » npm install eslint-plugin-react
    
Published   Apr 03, 2025
Version   7.37.5
Author   Yannick Croissant
🌐
npm
npmjs.com › package › eslint-plugin-react-hooks
eslint-plugin-react-hooks - npm
The official ESLint plugin for React which enforces the Rules of React and other best practices. ... # npm npm install eslint-plugin-react-hooks --save-dev # yarn yarn add eslint-plugin-react-hooks --dev
      » npm install eslint-plugin-react-hooks
    
Published   Oct 24, 2025
Version   7.0.1
Homepage   https://react.dev/
Discussions

How to use eslint-plugin-react and eslint-plugin-react-hooks, just for myself?
You don't normally, because its better for the code to be consistent among developers. I would advice that you, instead aim to convince your team to install it for the project. If you still want to do it, you could install it, develop and then remove it from your package.json before commiting. And maybe create a simple script file (AI could do this for you) to do this for you. More on reddit.com
🌐 r/reactjs
7
6
January 10, 2025
reactjs - Warning: React version not specified in 'eslint-plugin-react settings' while running eslint on top of React 18.2.0 - Stack Overflow
Git bash shows Warning: React version not specified in eslint-plugin-react settings. See https://github.com/jsx-eslint/eslint-plugin-react#configuration . while running eslint. create-react-app my-app cd app npm install eslint --save-dev npx eslint --init npx eslint . More on stackoverflow.com
🌐 stackoverflow.com
Help with eslint install and dependency problem
You probably need to use eslint 8. Some of your dependencies are not compatible with vetsion 9 More on reddit.com
🌐 r/webdev
16
0
April 23, 2024
What ESLint Plugins Do You Recommend When Using NextJs?
Here is my ESLint plugins I use for all my NextJS projects: https://github.com/ixartz/Next-js-Boilerplate/blob/main/package.json#L85-L102 There are 18 plugins. I also use ESLint plugins for testing part: Jest, Playwright, Storybook, etc. And here you can find how I configure everything: https://github.com/ixartz/Next-js-Boilerplate/blob/main/.eslintrc More on reddit.com
🌐 r/reactjs
25
14
February 20, 2024
🌐
npm
npmjs.com › package › @eslint-react › eslint-plugin
@eslint-react/eslint-plugin - npm
1 month ago - A unified plugin that combines all individual plugins from the eslint-react monorepo into one.. Latest version: 2.13.0, last published: 24 days ago. Start using @eslint-react/eslint-plugin in your project by running `npm i @eslint-react/esl...
      » npm install @eslint-react/eslint-plugin
    
Published   Feb 14, 2026
Version   2.13.0
Author   Rel1cx
🌐
GitHub
github.com › yannickcr › eslint-plugin-react › blob › master › README.md
eslint-plugin-react/README.md at master
This plugin exports a `recommended` configuration that enforces React good practices. ... See [`eslint` documentation](https://eslint.org/docs/user-guide/configuring/configuration-files#extending-configuration-files) for more information about extending configuration files.
Author   jsx-eslint
🌐
ESLint
eslint.org › docs › latest › use › getting-started
Getting Started with ESLint
Before you begin, you must already have a package.json file. If you don’t, make sure to run npm init or yarn init to create the file beforehand. ... Add configuration to the eslint.config.js file. Refer to the Configure ESLint documentation to learn how to add rules, custom configurations, plugins, and more.
🌐
Cloudsmith
cloudsmith.com › navigator › npm › eslint-plugin-react
eslint-plugin-react (7.37.5) - npm Package Quality | Cloudsmith Navigator
$npm install eslint-plugin-react · /Processing... ✓Done · Start your free trial · 7.37.5 · Stable version · 11months ago · Released · Loading Version Data · NPM on Cloudsmith · Learn more about NPM on Cloudsmith ·
Find elsewhere
🌐
npm
npmjs.com › package › eslint-plugin-react-you-might-not-need-an-effect
eslint-plugin-react-you-might-not-need-an-effect - npm
2 weeks ago - React's official eslint-plugin-react-hooks/set-state-in-effect rule flags synchronous setState calls inside effects, helping prevent unnecessary re-renders. However, unnecessary effects aren’t limited to this, as I'm sure we've all seen (or written 😅). npm install --save-dev eslint-plugin-react-you-might-not-need-an-effect
      » npm install eslint-plugin-react-you-might-not-need-an-effect
    
🌐
Reddit
reddit.com › r/reactjs › how to use eslint-plugin-react and eslint-plugin-react-hooks, just for myself?
r/reactjs on Reddit: How to use eslint-plugin-react and eslint-plugin-react-hooks, just for myself?
January 10, 2025 -

Forgive me if this question is poorly worded or misinformed; I'm new to using NPM.

My team has eslint installed as a dev dependency in our project to ensure high code quality. However, we don't use the eslint-plugin-react or eslint-plugin-react-hooks packages. I'd like to install them so that I can follow the best React practices when coding, without actually making changes to the official dependencies used by all developers. Is there a way to go about this (eg, modify a personal "packages.json" that is separate from the project's but will still lint my company's project)?

🌐
npm
npmjs.com › package › eslint-plugin-react-refresh
eslint-plugin-react-refresh - npm
3 weeks ago - Latest version: 0.5.2, last published: 18 days ago. Start using eslint-plugin-react-refresh in your project by running `npm i eslint-plugin-react-refresh`. There are 633 other projects in the npm registry using ...
      » npm install eslint-plugin-react-refresh
    
Published   Feb 23, 2026
Version   0.5.2
Author   Arnaud Barré
🌐
npm
npmjs.com › package › eslint-plugin-react-x › v › 2.0.0-beta.60
eslint-plugin-react-x - npm
September 1, 2025 - A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.. Latest version: 2.13.0, last published: a month ago. Start using eslint-plugin-react-x in your project by running `npm i eslint-plugin-react-x`. There ...
      » npm install eslint-plugin-react-x
    
Published   Feb 14, 2026
Version   2.0.0-beta.60
Author   Rel1cx
🌐
npm
npmjs.com › package › eslint-plugin-react-etc
eslint-plugin-react-etc - npm
May 10, 2023 - If you intend to use those rules, install the parser using npm: ... And then configure the parser and the parserOptions for ESLint. Here, I use a .eslintrc.js file for the configuration: const { join } = require("path"); module.exports = { parser: "@typescript-eslint/parser", parserOptions: { ecmaVersion: 2020, project: join(__dirname, "./tsconfig.json"), sourceType: "module" }, plugins: ["react-etc"], extends: [], rules: { "react-etc/prefer-usememo": "error" } };
      » npm install eslint-plugin-react-etc
    
Published   May 10, 2023
Version   2.0.1
Author   Nicholas Jamieson
🌐
Medium
medium.com › @RossWhitehouse › setting-up-eslint-in-react-c20015ef35f7
Setting up ESLint in React
April 13, 2018 - Alternatively if you're running ESLint locally, we run npm install eslint-plugin-react --save-dev. This will install the plugin we need, but we need to tell ESLint that we want this plugin to help us out.
🌐
GitHub
github.com › eslint › eslint › discussions › 13813
ESLint couldn't find the plugin "eslint-plugin-react". · eslint/eslint · Discussion #13813
(The package "eslint-plugin-react" was not found when loaded as a Node module from the directory "/Users/bergman/git/_X/code/基础项目/打包/pack实践/blank".) It's likely that the plugin isn't installed correctly. Try reinstalling by running the following: npm install eslint-plugin-react@latest --save-dev The plugin "eslint-plugin-react" was referenced from the config file in ".eslintrc.js".
Author   eslint
🌐
npm
npmjs.com › package › eslint-plugin-react-compiler
eslint-plugin-react-compiler - npm
ESLint plugin to display errors found by the React compiler.. Latest version: 19.1.0-rc.2, last published: 9 months ago. Start using eslint-plugin-react-compiler in your project by running `npm i eslint-plugin-react-compiler`. There are 107 ...
      » npm install eslint-plugin-react-compiler
    
Published   May 14, 2025
Version   19.1.0-rc.2
🌐
ESLint
eslint.org
Find and fix problems in your JavaScript code - ESLint - Pluggable JavaScript Linter
ESLint is the #1 JavaScript linter by downloads on npm (over 84.9 million downloads / week) and is used at companies like Microsoft, Airbnb, Netflix, and Facebook.
🌐
jsDelivr
jsdelivr.com › package › npm › eslint-plugin-react-app
eslint-plugin-react-app CDN by jsDelivr - A CDN for npm and GitHub
April 1, 2020 - ESLint configuration used by Create React App · Version 6.2.2 License MIT · INSTALL · Version: Static · Static · Latest Patch · Latest Minor · Latest Major · Learn more · Readme Files Statistics Browse CDN · Statistics · Requests 0 · Bandwidth 0 · Top version - 0 Full eslint-plugin-react-app Download Stats ·
Published   Feb 09, 2017
🌐
Debricked
debricked.com › select › package › npm-eslint-plugin-react
View npm: eslint-plugin-react | OpenText Core SCA
Open source vulnerability management made simple. OpenText Core SCA helps you stay on top of security while maintaining your development speed.
🌐
npm
npmjs.com › package › eslint-plugin-react-app
eslint-plugin-react-app - npm
April 1, 2020 - A minimal set of easy to install ... .eslintrc, and you'll be all set. This plugin exposes the ESLint configuration used by Create React App without the need of declaring all its dependencies....
      » npm install eslint-plugin-react-app