Neverending Plethora of Modules

    eslint-plugin-hammerhead

    0.4.0 • Public • Published

    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

    Install

    npm i eslint-plugin-hammerhead

    DownloadsWeekly Downloads

    310

    Version

    0.4.0

    License

    ISC

    Unpacked Size

    28.3 kB

    Total Files

    11

    Last publish

    Collaborators

    • vasily.strelyaev
    • aleksey_popov
    • dmitry-ostashev
    • miherlosev
    • belym.a.2105
    • kirovboris
    • alexkamaev
    • lavrovartem