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