eslint-plugin-loadsh-import

0.0.2 • Public • Published

eslint-plugin-loadsh-import

loadsh es 按需导入

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-loadsh-import:

npm install eslint-plugin-loadsh-import --save-dev

Usage

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

{
    "plugins": [
        "loadsh-import"
    ]
}

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

{
    "rules": {
        "loadsh-import/rule-name": 2
    }
}

Rules

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

Package Sidebar

Install

npm i eslint-plugin-loadsh-import

Weekly Downloads

0

Version

0.0.2

License

ISC

Unpacked Size

4.33 kB

Total Files

5

Last publish

Collaborators

  • dream_reason