eslint-plugin-lx
v0.0.0
Published
通用eslint规则
Downloads
4
Maintainers
Readme
eslint-plugin-lx
通用eslint规则
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-lx
:
$ npm install eslint-plugin-lx --save-dev
Usage
Add lx
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"lx"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"lx/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here