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