1.6.0 • Published 2 years ago

@pilaton/eslint-config-react v1.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@pilaton/eslint-config-react

npm

ESLint configuration including all necessary plugins for testing React project code.

!NOTE Package from the eslint-eco monorepository.
I recommend reading the documentation to understand the whole picture.

Included in the package

  1. eslint-plugin-react
  2. eslint-plugin-react-hooks
  3. eslint-plugin-react-refresh
  4. eslint-plugin-jsx-a11y
  5. eslint-plugin-tailwindcss

Install

npm i @pilaton/eslint-config-react --save-dev

I recommend using this config over the @pilaton/eslint-config-base base config:

npm i @pilaton/eslint-config-base @pilaton/eslint-config-react --save-dev

Usage

This configuration is created for the new ESLint Flat Config, and only supports ESM!

eslint.config.js (eslint>=v8.23.1)

import base from '@pilaton/eslint-config-base';
import react from '@pilaton/eslint-config-react';

export default [
  ...base,
  ...react

  {
    // Your config
  },
];
1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.2.0

2 years ago

0.4.6

2 years ago

0.4.5

2 years ago

0.4.3

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.1.0

2 years ago