1.0.3 • Published 2 years ago
eslint-plugin-no-hats v1.0.3
eslint-plugin-no-hats
fixed versions only for deps
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-no-hats:
npm install eslint-plugin-no-hats --save-devUsage
Add no-hats to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"no-hats"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"no-hats/rule-name": 2
}
}Rules
TODO: Run eslint-doc-generator to generate the rules list.