eslint-config-arenanet

5.8.0 • Public • Published

eslint-config-arenanet

ESLint config for ArenaNet JS code

Install

> npm install eslint-config-arenanet --save-dev

Usage

> eslint -c arenanet <file>

Run tests

> npm test
> npm test -- all (to show warnings)

eslint-plugin-arenanet

Backend rules

Default config setting to off. To apply it to Code/ files, use overrides in .eslintrc.

{
    overrides : [
        {
            files : "Code/**/*.js,
            plugins : [ "arenanet" ],
            "rules" {
                "arenanet/reply-with-request" : 1,
                "arenanet/use-strict-at-top-of-document": "warn"
            }
        }
    ]
}

/eslint-config-arenanet/

    Package Sidebar

    Install

    npm i eslint-config-arenanet

    Weekly Downloads

    58

    Version

    5.8.0

    License

    MIT

    Unpacked Size

    26.3 kB

    Total Files

    3

    Last publish

    Collaborators

    • anet-hmacdonald
    • kevinkace
    • hjhopp
    • tivac