🌐
npm
npmjs.com › package › eslint-plugin-react-dom
eslint-plugin-react-dom - npm
ESLint React's ESLint plugin for DOM related rules.. Latest version: 2.13.0, last published: 10 days ago. Start using eslint-plugin-react-dom in your project by running `npm i eslint-plugin-react-dom`. There are 14 other projects in the npm registry using eslint-plugin-react-dom.
      » npm install eslint-plugin-react-dom
    
Published   Feb 14, 2026
Version   2.13.0
Author   Rel1cx
🌐
GitHub
github.com › jsx-eslint › eslint-plugin-react
GitHub - jsx-eslint/eslint-plugin-react: React-specific linting rules for ESLint · GitHub
Enforces where React component static properties should be positioned. style-prop-object · Enforce style prop value is an object · void-dom-elements-no-children · Disallow void DOM elements (e.g. <img />, <br />) from receiving children · Rules of Hooks: eslint-plugin-react-hooks ·
Starred by 9.3K users
Forked by 2.7K users
Languages   JavaScript
🌐
npm
npmjs.com › package › @eslint-react › eslint-plugin
@eslint-react/eslint-plugin - npm
eslint-plugin-react-dom - DOM-specific rules for React DOM.
      » npm install @eslint-react/eslint-plugin
    
Published   Feb 14, 2026
Version   2.13.0
Author   Rel1cx
🌐
GitHub
github.com › Rel1cx › eslint-react
GitHub - Rel1cx/eslint-react: 4-7x faster, composable ESLint rules for React and friends.
eslint-plugin-react-dom - DOM-specific rules for React DOM.
Starred by 490 users
Forked by 39 users
Languages   TypeScript 80.1% | MDX 19.3% | TypeScript 80.1% | MDX 19.3%
🌐
GitHub
github.com › Rel1cx › eslint-react › tree › main › packages › plugins › eslint-plugin-react-dom
eslint-react/packages/plugins/eslint-plugin-react-dom at main · Rel1cx/eslint-react
import js from "@eslint/js"; import dom from "eslint-plugin-react-dom"; import { defineConfig } from "eslint/config"; import tseslint from "typescript-eslint"; export default defineConfig( { files: ["**/*.{ts,tsx}"], extends: [ js.configs.recommended, tseslint.configs.recommended, // Add configs from eslint-plugin-react-dom dom.configs.recommended, ], rules: { // Put rules you want to override here "react-dom/no-dangerously-set-innerhtml": "warn", }, }, );
Author   Rel1cx
🌐
npm
npmjs.com › package › eslint-plugin-react
eslint-plugin-react - npm
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 16974 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
🌐
GeeksforGeeks
geeksforgeeks.org › reactjs › how-to-configure-eslint-for-react-projects
How to configure ESLint for React Projects ? - GeeksforGeeks
July 23, 2025 - ESLint in React is a JavaScript linting tool that is used for automatically detecting incorrect patterns found in ECMAScript/JavaScript code. It is used with the purpose of improving code quality, making code more consistent, and avoiding bugs.
🌐
LogRocket
blog.logrocket.com › home › 12 essential eslint rules for react
12 essential ESLint rules for React - LogRocket Blog
June 4, 2024 - ESLint has a comprehensive set of rules for JavaScript code that cover stylistic choices and prevent common bugs. Using ESLint alone will give your project a boost, but there are ESLint plugins available to add React-specific rules that will help you write solid React applications.
Find elsewhere
🌐
React
react.dev › reference › eslint-plugin-react-hooks
eslint-plugin-react-hooks – React
This plugin helps you catch violations of React’s rules at build time, ensuring your components and hooks follow React’s rules for correctness and performance. The lints cover both fundamental React patterns (exhaustive-deps and rules-of-hooks) and issues flagged by React Compiler. React Compiler diagnostics are automatically surfaced by this ESLint plugin, and can be used even if your app hasn’t adopted the compiler yet.
🌐
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 install eslint-plugin-react-hooks
    
Published   Oct 24, 2025
Version   7.0.1
Homepage   https://react.dev/
🌐
Medium
medium.com › @RossWhitehouse › setting-up-eslint-in-react-c20015ef35f7
Setting up ESLint in React
April 13, 2018 - In our terminal again, we need to npm install -g eslint-plugin-react. 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.
🌐
Eslint-react
eslint-react.xyz › docs › presets
Presets | ESLint React
The following presets are available in @eslint-react/eslint-plugin: x Enable rules for "react". dom Enable rules for "react-dom". web-api Enable rules for interacting with Web APIs. rsc Enable rules for React Server Components. recommended Enforce rules that are recommended by ESLint React for general-purpose React + React DOM projects.
🌐
npm
npmjs.com › search
eslint-plugin-react-hooks - npm search
Fork of `eslint-plugin-react-hooks` ... a year ago0 dependents licensed under $MIT ... This plugin helps you to forbid DOM globals within the react server side rendering....
🌐
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.
🌐
freeCodeCamp
freecodecamp.org › news › how-to-add-eslint-to-your-react-project
How to Add ESLint to Your React Project
August 8, 2023 - React needs to be imported in app.js file. We need to export our button component. This error might confuse you, because you may not know where it's coming from. We are seeing this error because we set up ESLint in our project, and it scans through our project to tell us that React needs to be imported in the app.js file.
🌐
React
react.dev › learn › react-compiler › installation
Installation – React
React Compiler includes an ESLint rule that helps identify code that can’t be optimized. When the ESLint rule reports an error, it means the compiler will skip optimizing that specific component or hook. This is safe: the compiler will continue optimizing other parts of your codebase.
🌐
Npm
npm.io › package › eslint-plugin-react
Eslint-plugin-react NPM | npm.io
It is also possible to install ESLint globally rather than locally (using npm install -g eslint). However, this is not recommended, and any plugins or shareable configs that you use must be installed locally in either case. ... If you are using the new JSX transform from React 17, extend react/jsx-runtime in your eslint config (add "plugin:react/jsx-runtime" to "extends") to disable the relevant rules.