1.0.5 • Published 4 years ago
eslint-plugin-awesome-lint v1.0.5
eslint-plugin-awesome-lint
自定义一些 eslint 规则
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-awesome-lint:
npm install eslint-plugin-awesome-lint --save-devUsage
Add awesome-lint to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["awesome-lint"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"awesome-lint/rule-name": 2
}
}Supported Rules
- Fill in provided rules here