eslint-config-adidas-react

ESLint configuration and rules for React codebases

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
eslint-config-adidas-react
3042.0.09 months ago6 years agoMinified + gzip package size for eslint-config-adidas-react in KB

Readme

npm version
eslint-config-adidas-react
Adds ESLint settings and rules for React framework.
These already extend eslint-config-adidas-jsx.

Install

npm i --save-dev eslint@8 eslint-plugin-react@7 eslint-config-adidas-react

Usage

{
  "extends": [
    "adidas-react"
  ]
}

Usually you would mix this with other eslint configurations, like:
{
  "extends": [
    "adidas-env/browser",
    "adidas-env/module",
    "adidas-es6",
    "adidas-react"
  ]
}

When using create-react-app, you shall also need babel's configuration:
{
  "extends": [
    "adidas-env/browser",
    "adidas-env/module",
    "adidas-es6",
    "adidas-babel",
    "adidas-react"
  ]
}

Links