eslint-plugin-tife-lint
v0.0.1
Published
tife代码质量检测工具
Downloads
4
Readme
eslint-plugin-tife-lint
tife代码质量检测工具
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-tife-lint
:
npm install eslint-plugin-tife-lint --save-dev
Usage
Add tife-lint
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"tife-lint"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"tife-lint/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.