0.0.0 • Published 2 years ago

eslint-plugin-business v0.0.0

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

eslint-plugin-import

自定义业务插件

Installation

You'll first need to install ESLint:


npm i eslint --save-dev

Next, install eslint-plugin-import:


npm install eslint-plugin-eslint-plugin-business --save-dev

Usage

Add import to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:


{
    "plugins": [
        "business"
    ]
}

Then configure the rules you want to use under the rules section.


{
    "rules": {
        "business/rule-name": 2
    }
}

Rules

TODO: Run eslint-doc-generator to generate the rules list.