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