1.0.0 • Published 5 years ago
eslint-plugin-xzplint v1.0.0
eslint-plugin-korolint
sany公司定制eslint rule
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-xzplint:
$ npm install eslint-plugin-xzplint --save-devUsage
Add xzplint to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"xzplint"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"xzplint/rule-name": 2
}
}Supported Rules
- Fill in provided rules here