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