1.0.5 • Published 2 years ago

eslint-plugin-curology v1.0.5

Weekly downloads
1,548
License
MIT
Repository
github
Last release
2 years ago

eslint-plugin-curology

Custom ESLint rules and sharable config used at Curology.

Installation

You'll first need to install ESLint:

$ yarn add eslint eslint-plugin-curology  --dev

Usage (Config)

To enable this configuration use the extends property in your .eslintrc config file:

{
  "extends": [...otherConfig, "plugin:curology/recommended"]
}

"plugin:curology/recommended" must be the last entry in "extends" for best eslint-plugin-prettier compatibility.

There is also a "plugin:curology/cypress" for Cypress rules and configuration.

Usage (Plugin)

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

{
  "plugins": ["curology"]
}

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

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

Supported Rules

1.0.5

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

0.1.0

4 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago