eslint-plugin-zlsoft
v1.0.3
Published
用于检测Zlsoft公司编写的Web项目的语法规范
Downloads
3
Maintainers
Readme
eslint-plugin-elint-plugin-zlsoft
用于检测Zlsoft公司编写的Web项目的语法规范
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-elint-plugin-zlsoft
:
npm install eslint-plugin-elint-plugin-zlsoft --save-dev
Usage
Add elint-plugin-zlsoft
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"elint-plugin-zlsoft"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"elint-plugin-zlsoft/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.