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