npm.io
1.0.0 • Published 6 years ago

@moxy/eslint-config-browser

Licence
MIT
Version
1.0.0
Deps
4
Size
8 kB
Vulns
0
Weekly
0
Stars
13
DeprecatedThis package is deprecated

eslint-config-browser

NPM version Downloads Dependency status Dev Dependency status

MOXY eslint configuration to be used for JavaScript projects in the browser.

Installation

$ npm install --save-dev eslint @moxy/eslint-config-browser

Usage

Create a .eslintrc.json file in the project root and extend @moxy/eslint-config-browser.

Examples
{
    "root": true,
    "extends": [
        "@moxy/eslint-config-browser"
    ]
}

Note that by setting root to true, we ensure that no ancestor configuration is used which also improves ESLint performance because no more file lookups need to be done.