2.0.7 • Published 6 years ago
@zaihui/eslint-plugin-customizing v2.0.7
eslint-plugin-customizing
customize rule for zaihui
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-customizing:
$ npm install eslint-plugin-customizing --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-customizing globally.
Usage A
Add customizing to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"@zaihui/customizing"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"@zaihui/customizing/rule-name": 2
}
}Usage B
{
"extends": ["plugin:@zaihui/customizing/recommended"],
}Then configure the rules you want to use under the rules section.
{
"rules": {
"customizing/rule-name": 2
}
}Supported Rules
- Fill in provided rules here