eslint-config-adidas-hero-react
v1.3.2
Published
ESLint configuration and rules for React codebases
Downloads
3
Readme
eslint-config-adidas-hero-react
Adds ESLint settings and rules for React framework.
These already extend eslint-config-adidas-hero-jsx
.
Install
npm i --save-dev eslint@7 eslint-plugin-react@7 eslint-config-adidas-hero-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"
]
}