ESLint React
Welcome to the ESLint React documentation.
A series of composable ESLint plugins for libraries and frameworks that use React as a UI runtime.
Features
- Universal rules for libraries and frameworks that use React as a UI runtime.
- Well designed rule behaviors and sensible defaults.
- Maximum flexibility through minimum rule options.
Public packages
All-in-one plugins
@eslint-react/eslint-plugin
- The main ESLint plugin package including all rules and config presets in this repository.
Mono plugins
eslint-plugin-react-x
- Core rules (renderer-agnostic, compatible with x-platform).eslint-plugin-react-dom
- DOM specific rules for React DOM.eslint-plugin-react-web-api
- Rules for interacting with Web APIs.eslint-plugin-react-hooks-extra
- Extra React Hooks rules.eslint-plugin-react-naming-convention
- Naming convention rules.
FAQ
License
This project is licensed under the MIT License - see the LICENSE file for details.