eslint-plugin-ernie-plugin

2.0.5 • Public • Published

eslint-plugin-ernie-plugin

plugin for production project

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-ernie-plugin:

npm install eslint-plugin-ernie-plugin --save-dev

Usage

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

{
    "plugins": [
        "ernie-plugin"
    ]
}

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

{
    "rules": {
        "ernie-plugin/rule-name": 2
    }
}

Rules

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

Package Sidebar

Install

npm i eslint-plugin-ernie-plugin

Weekly Downloads

0

Version

2.0.5

License

ISC

Unpacked Size

23.9 kB

Total Files

20

Last publish

Collaborators

  • ernur_keb