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