eslint-plugin-api-exist

0.0.2 • Public • Published

eslint-plugin-api-exist

北斗接口校验库

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-api-exist:

npm install eslint-plugin-api-exist --save-dev

Usage

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

{
    "plugins": [
        "api-exist"
    ]
}

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

{
    "rules": {
        "api-exist/rule-name": 2
    }
}

Rules

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

Package Sidebar

Install

npm i eslint-plugin-api-exist

Weekly Downloads

0

Version

0.0.2

License

ISC

Unpacked Size

7.36 kB

Total Files

9

Last publish

Collaborators

  • liuyuforever