eslint-plugin-prefer-es6-init

1.0.2 • Public • Published

eslint-plugin-demo

just demo

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-demo:

$ npm install eslint-plugin-demo --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-demo globally.

Usage

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

{
    "plugins": [
        "demo"
    ]
}

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

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

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-prefer-es6-init

Weekly Downloads

1

Version

1.0.2

License

ISC

Last publish

Collaborators

  • leslie2014