1.0.3 • Published 3 years ago
eslint-plugin-zlsoft v1.0.3
eslint-plugin-elint-plugin-zlsoft
用于检测Zlsoft公司编写的Web项目的语法规范
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-elint-plugin-zlsoft:
npm install eslint-plugin-elint-plugin-zlsoft --save-devUsage
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.