@moxy/eslint-config-browserdeprecated

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

Usage no npm install needed!

<script type="module">
  import moxyEslintConfigBrowser from 'https://cdn.skypack.dev/@moxy/eslint-config-browser';
</script>

README

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.