1.0.0 • Published 7 months ago
eslint-plugin-desc v1.0.0
eslint-plugin-plugin-desc
插件
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-plugin-desc
:
npm install eslint-plugin-plugin-desc --save-dev
Usage
Add plugin-desc
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"plugin-desc"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"plugin-desc/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.
1.0.0
7 months ago