0.6.0 • Published 2 years ago

eslint-plugin-curlyplus v0.6.0

Weekly downloads
59
License
ISC
Repository
-
Last release
2 years ago

eslint-plugin-curlyplus

Curly with braces for 2 or more test

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-curlyplus:

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

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

Usage

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

{
    "plugins": [
        "curlyplus"
    ]
}

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

{
    "rules": {
        "curlyplus/curlyplus": ["error", "multi-or-nest"]

    }
}

Supported Rules

  • Fill in provided rules here