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