0.0.2 • Published 3 years ago
eslint-plugin-alex-plugin-prod-path v0.0.2
eslint-plugin-alex-plugin-prod-path
plugin for prod project on react
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-alex-plugin-prod-path:
npm install eslint-plugin-alex-plugin-prod-path --save-devUsage
Add alex-plugin-prod-path to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"alex-plugin-prod-path"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"alex-plugin-prod-path/rule-name": 2
}
}Rules
TODO: Run eslint-doc-generator to generate the rules list.