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