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