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
🌐
Codebrahma
codebrahma.com › eslint-setup-for-react-projects-step-by-step
ESLint Setup for React Projects: Step-by-Step
November 5, 2024 - This sets up ESLint with recommended rules for JavaScript and React, including hooks. We've already installed the React plugins.
🌐
GitHub
github.com › jsx-eslint › eslint-plugin-react
GitHub - jsx-eslint/eslint-plugin-react: React-specific linting rules for ESLint · GitHub
React-specific linting rules for ESLint. Contribute to jsx-eslint/eslint-plugin-react development by creating an account on GitHub.
Starred by 9.3K users
Forked by 2.7K users
Languages   JavaScript
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
What eslint rules you recommend?
eslint-plugin-unicorn is always a great choice. What I like to do with core ESLint, or any plugin I use, is turn on every rule. I often find that this helps me find some rules that weren't turned on by default, that I probably wouldn't have found otherwise. From there, if I see a rule that I dislike, I either check to see if it can be configured in a way that I like, or I turn it off otherwise. More on reddit.com
🌐 r/reactjs
68
40
February 21, 2025
eslint-plugin-pure: ESLint plugin that forces you to write pure functions.
483K subscribers in the reactjs community. A community for discussing anything related to the React UI framework and its ecosystem. Join the Reactiflux Discord (reactiflux.com) for additional React discussion and help. More on reddit.com
🌐 r/reactjs
26
March 11, 2016
ESLint plugin react conflict?
It looks like it’s picking up the Eslint plugin from your client app. Do you have it installed in your root package.json file? Do you have multiple versions installed (due to it being a sub dependency)? I’d look into installing it in the root and possibly using a resolution to make sure there’s only one version present More on reddit.com
🌐 r/reactjs
3
2
February 12, 2023
🌐
Eslint-react
eslint-react.xyz › docs › migrating-from-eslint-plugin-react
Migrating from eslint-plugin-react | ESLint React
ESLint React is designed as a modern replacement for eslint-plugin-react with improved performance, better TypeScript support, and more accurate rule implementations.
🌐
freeCodeCamp
freecodecamp.org › news › how-to-add-eslint-to-your-react-project
How to Add ESLint to Your React Project
August 8, 2023 - npx create-react-app signup-app · And you can use the following command to set up ESLint: npm install eslint eslint-plugin-react eslint-plugin-react-hooks --save-dev ·
🌐
Oxidation Compiler
oxc.rs › blog › 2026-03-11-oxlint-js-plugins-alpha
Oxlint JS Plugins Alpha
4 days ago - Oxlint already natively implements most of ESLint's built-in rules, rewritten in Rust, but not all rules are implemented yet. To bridge this gap, we provide oxlint-plugin-eslint, which contains all ESLint's built-in rules packaged as an Oxlint JS plugin.
🌐
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)?

Find elsewhere
🌐
Scaler
scaler.com › home › topics › react › eslint plugin react
ESLint Plugin React - Scaler Topics
May 4, 2023 - ESlint is an open-source library that Reacts developers frequently use to enforce guidelines for upholding the project's code standard. You can configure the desired rules on your own because it is completely customizable.
🌐
npm
npmjs.com › package › @eslint-react › eslint-plugin
@eslint-react/eslint-plugin - npm
1 month ago - @eslint-react/eslint-plugin - A unified plugin that combines all individual plugins into one.
      » npm install @eslint-react/eslint-plugin
    
Published   Feb 14, 2026
Version   2.13.0
Author   Rel1cx
🌐
JavaScript in Plain English
javascript.plainenglish.io › essential-guide-to-configuring-eslint-in-your-react-app-565ef2cb7e1d
How to Configure ESLint in Your React App | JavaScript in Plain English
November 5, 2024 - ESLint is a powerful tool that checks your code for errors, enforces style rules, and helps you maintain clean, consistent, and bug-free code. When added to a React project, ESLint automatically catches issues and offers suggestions to improve ...
🌐
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 16978 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
🌐
Emotion
emotion.sh › docs › eslint-plugin-react
Emotion – eslint-plugin-react
The react/no-unknown-property rule from eslint-plugin-react will produce an error if the css prop is passed to a DOM element.
🌐
ESLint
eslint.org › docs › latest › use › getting-started
Getting Started with ESLint
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.
🌐
GitHub
github.com › yannickcr › eslint-plugin-react › blob › master › README.md
eslint-plugin-react/README.md at master
React-specific linting rules for ESLint. Contribute to jsx-eslint/eslint-plugin-react development by creating an account on GitHub.
Author   jsx-eslint
🌐
Cloudsmith
cloudsmith.com › navigator › npm › eslint-plugin-react
eslint-plugin-react (7.37.5) - npm Package Quality | Cloudsmith Navigator
Learn all about the quality, security, and current maintenance status of eslint-plugin-react using Cloudsmith Navigator
🌐
JavaScript in Plain English
javascript.plainenglish.io › how-to-configure-eslint-v9-in-a-react-project-2025-guide-a86d893e1703
How to Configure ESLint v9 in a React Project (2025 Guide) | by Leandro A. Siqueira | JavaScript in Plain English
June 13, 2025 - In this guide, we’ll walk through setting up ESLint v9 from scratch in a modern React project. ... ESLint v9 introduces a flat configuration system that replaces the traditional .eslintrc files. This new system offers: ... Instead of .eslintrc.js, you'll now use eslint.config.js. ... First, install ESLint v9 and required plugins for React and JSX support: npm install --save-dev eslint@^9 eslint-plugin-react
🌐
Better Programming
betterprogramming.pub › 4-essential-eslint-plugins-you-need-in-your-react-setup-824b419ce598
4 Essential ESLint Plugins You Need in Your React Setup
March 16, 2020 - 4 Essential ESLint Plugins You Need in Your React Setup Focus on coding and let them help you with the rest Along the coding journey, I have learned how a proper setup environment can boost your …
🌐
Reddit
reddit.com › r/reactjs › what eslint rules you recommend?
r/reactjs on Reddit: What eslint rules you recommend?
February 21, 2025 -

Hey all, I am in the process of creating my own eslint version 9 set of rules with a flat config for the first time and I am wondering what you guys are using or recommending as a must have?

I use Typescript with React so thought to definitely include eslint-plugin-react and typescript-eslint. What else? I saw there is sonar eslint too but this one seems not so popular?

Do you have any "gems" that are not enabled by default or not popular but still a great addition?

I also see that many rules can be customized a bit, do you recommend that or rather not?

Really curious and interested about your experience on this, thanks!

🌐
ESLint
eslint.org
Find and fix problems in your JavaScript code - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.