eslint-plugin-custom-lists
v0.0.2
Published
custom plugin for black and white lists
Downloads
3
Maintainers
Readme
eslint-plugin-custom-lists
custom plugin for black and white lists
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-custom-lists
:
npm install eslint-plugin-custom-lists --save-dev
Usage
Add custom-lists
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"custom-lists"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"custom-lists/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.