3.0.0 • Published 1 year ago

@wolox/eslint-config-react v3.0.0

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

@wolox/eslint-config-react

FEArmy

Wolox's default ESLint React configuration

Dependencies

We use eslint as our linter and prettier as our code formatter

Also, this configuration relies on some peer dependencies you must add in your project as dev dependencies:

Make sure you check that the version you install in your project matches the one in this configuration's package.json

Usage

To use this config, make your eslint config extend from this configuration:

{
  // In case you want to use more than one config, you can compose it 
  // using an array of configurations instead of this string 
  "extends": "@wolox/eslint-config-react",
  "rules": {
    // You can override any rule here.
  }
}

Note that we use this configuration with @wolox/eslint-config. Although it is recommended to do so, it's not mandatory.