eslint-plugin-nightingale
v0.0.3
Published
夜莺前端的 ESLint 规则集合
Downloads
171
Readme
eslint-plugin-nightingale
夜莺前端的 ESLint 规则集合
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-nightingale
:
npm install eslint-plugin-nightingale --save-dev
Usage
Add nightingale
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["nightingale"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"nightingale/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here