eslint-plugin-enchanted-curly

1.1.0 • Public • Published

eslint-plugin-enchanted-curly

A set of more customizable rules for eslint/curly.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-enchanted-curly:

$ npm install eslint-plugin-enchanted-curly --save-dev

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

Usage

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

{
  "plugins": [
    "enchanted-curly"
  ]
}

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

{
  "rules": {
    "enchanted-curly/rule-name": 2
  }
}

Supported Rules

Package Sidebar

Install

npm i eslint-plugin-enchanted-curly

Weekly Downloads

26

Version

1.1.0

License

MIT

Unpacked Size

19.1 kB

Total Files

7

Last publish

Collaborators

  • kobezzza