0.0.17 • Published 6 years ago
eslint-plugin-property-size v0.0.17
eslint-plugin-property-size
html标签属性数量过多时需换行
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-property-size:
$ npm install eslint-plugin-property-size --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-property-size globally.
Usage
Add property-size to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"property-size"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"property-size/rule-name": 2
}
}Supported Rules
- Fill in provided rules here