@maxxxxxdlp/eslint-config-react
v3.0.0
Published
A very strict ESLint config with support for TypeScript, React and Prettier
Downloads
652
Maintainers
Readme
ESLint-React Configuration
A very strict ESLInt configuration for React.
Note, this config includes only React-specific rules. It's recommended to use this config alongside @maxxxxxdlp/eslint-config.
Usage
Install dependencies:
npm install --save-dev @maxxxxxdlp/eslint-config-react
Then, create eslint.config.js
at the root directory of your project:
import eslintConfigReact from '@maxxxxxdlp/eslint-config-react';
export default [
...eslintReactConfig,
{
// Your custom rules and overrides here
},
];
The config is using Flat Config style.