eslint-plugin-wizard
v0.1.4
Published
eslint rules for wizard project
Downloads
6
Readme
eslint-plugin-wizard
eslint rules for wizard project
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-wizard
:
$ npm install eslint-plugin-wizard --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-wizard
globally.
Usage
Add wizard
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["wizard"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"wizard/use-t-function": "warn",
"wizard/no-unused-props": "warn",
"wizard/nightwatch-execute": "error",
"wizard/action-checker": "warn"
}
}
Supported Rules
- use-t-function
- no-unused-props
- nightwatch-execute
- action-checker