1.0.0 • Published 4 years ago

@moxy/eslint-config-browser v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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.