eslint-config-adidas-react
v3.0.0
Published
ESLint configuration and rules for React codebases
Downloads
144
Readme
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@9 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"
]
}