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