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