eslint-plugin-properties-check
v1.0.0
Published
检测小程序properties书写规范
Downloads
5
Maintainers
Readme
eslint-plugin-properties-check
检测properties规范
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-properties-check
:
npm install eslint-plugin-properties-check --save-dev
Usage
Add properties-check
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"properties-check"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"properties-check/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.