1.0.6 • Published 6 years ago
eslint-config-lako-react v1.0.6
eslint-config-lako-react
Personal additional rules to react app.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-config-lako-react
:
$ npm install eslint-config-lako-react --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-config-lako-react
globally.
Usage
Raccomand to use with eslint-config-airbnb
Add lako-react
to the 'extends' section of your .eslintrc
configuration file. You omit the eslint-config-
prefix:
{
"extends": [
"lako-react"
]
}
Rules
- "react/prefer-stateless-function": 0
- "react/jsx-curly-brace-presence": 0