0.3.5 • Published 2 years ago

@iteam/eslint-config-react v0.3.5

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

Iteam ESLint config for React

Contains our preferred eslint defaults for JS and TS React development

This library only contains eslint code quality rules and is unopinionated regarding the consumer projects formatting preferences.

Althought it shouldn't happend, this means that any prettier configs you decide to use locally will override any potential conflicts it would raise with this eslint config.

Installation

Add the peer dependencies of @iteam/eslint-config-react to your dev dependencies:

npx install-peerdeps --dev @iteam/eslint-config-react

Then add @iteam/eslint-config-react

npm install --save-dev @iteam/eslint-config-react

Then add the @iteam/eslint-config-react in your .eslintrc

{
  "extends": ["@iteam/eslint-config-react"]
}

or if you're using TS:

{
  "extends": ["@iteam/eslint-config-react/typescript"]
}

If you bootstrapped with create-react-app, edit package.json:

"eslintConfig": {
    "extends": [
      "@iteam/eslint-config-react"
    ]
  },

or if you're using TS:

"eslintConfig": {
    "extends": [
      "@iteam/eslint-config-react/typescript"
    ]
  },

Plugins

  • ESLint recommended
  • React recommended
  • React Hooks recommended
  • Imports recommended
  • JSX a11y recommended
0.3.5

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.0

3 years ago

0.3.1

2 years ago

0.2.0

5 years ago

0.1.2

5 years ago