2.0.7 • Published 4 years ago

@zaihui/eslint-plugin-customizing v2.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

eslint-plugin-customizing

customize rule for zaihui

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-customizing:

$ npm install eslint-plugin-customizing --save-dev

Note: 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