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