4.0.0 • Published 3 years ago

eslint-plugin-bbva v4.0.0

Weekly downloads
12
License
ISC
Repository
github
Last release
3 years ago

eslint-plugin-bbva

BBVA eslint plugin

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-bbva:

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

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

Usage

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

{
  "plugins": ["bbva"]
}

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

{
  "rules": {
    "bbva/duplicated-if": 2,
    "bbva/infinite-loop": 2,
    "bbva/inline-conditional": 2,
    "bbva/jquery-selector-length": 2,
    "bbva/no-args-assignment": 2,
    "bbva/useless-increment": 2
  }
}
4.0.0

3 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.1

5 years ago

1.0.0

6 years ago