eslint-plugin-check

1.0.0 • Public • Published

eslint-plugin-check

代码检查插件

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-check:

npm install eslint-plugin-check --save-dev

Usage

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

{
    "plugins": [
        "check"
    ]
}

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

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

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-check

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

6.94 kB

Total Files

8

Last publish

Collaborators

  • pangnate