eslint-plugin-react-app-entities
plugin for prod project
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-react-app-entities
:
npm i -D eslint-plugin-react-app-entities
Usage
Add react-app-entities
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"react-app-entities"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"react-app-entities/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.