3.0.0 • Published 1 year ago

@maxxxxxdlp/eslint-config-react v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.