0.0.3 • Published 5 years ago
eslint-plugin-hfe-rule v0.0.3
eslint-plugin-hfe-rule
eslint rule for hfe in meituan
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-hfe-rule:
$ npm install eslint-plugin-hfe-rule --save-devUsage
Add hfe-rule to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"hfe-rule"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"hfe-rule/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
0.0.3
5 years ago