eslint-plugin-gonglu

1.0.2 • Public • Published

eslint-plugin-gonglu

检查代码

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-gonglu:

npm install eslint-plugin-gonglu --save-dev

Usage

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

{
    "plugins": [
        "gonglu"
    ]
}

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

{
    "rules": {
        "gonglu/publish-subscription": [1, { "prefix": "__", "suffix": "__" }]
    }
}

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-gonglu

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

8.67 kB

Total Files

6

Last publish

Collaborators

  • tcly861204