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