0.0.3 • Published 1 year ago
eslint-plugin-nightingale v0.0.3
eslint-plugin-nightingale
夜莺前端的 ESLint 规则集合
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-nightingale:
npm install eslint-plugin-nightingale --save-devUsage
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