0.4.0 • Published 4 years ago

eslint-plugin-hammerhead v0.4.0

Weekly downloads
359
License
ISC
Repository
github
Last release
4 years ago

eslint-plugin-hammerhead

Specific rules for the hammerhead.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-hammerhead:

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

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

Usage

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

{
    "plugins": [
        "hammerhead"
    ]
}

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

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

Supported Rules

  • proto-methods
  • use-hh-promise
  • use-native-methods
  • no-window-self
0.4.0

4 years ago

0.3.1

4 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.11

5 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.8

7 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago