eslint-plugin-heibanfe
v1.4.2
Published
晓信前端 eslint 插件扩展包
Maintainers
Readme
eslint-plugin-heibanfe
晓信前端 eslint 插件扩展包
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-heibanfe:
$ npm install eslint-plugin-heibanfe --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-heibanfe globally.
Usage
Add heibanfe to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"heibanfe"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"heibanfe/rule-name": "error"
}
}Supported Rules
- no-static-method
- no-fuzzy-setTimeout
- max-data-attribute
- max-props-attribute
- same-filename-componentName
