@maxxxxxdlp/eslint-config-react

3.0.0 • Public • Published

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.

Package Sidebar

Install

npm i @maxxxxxdlp/eslint-config-react

Weekly Downloads

103

Version

3.0.0

License

MIT

Unpacked Size

6.04 kB

Total Files

4

Last publish

Collaborators

  • maxxxxxdlp