eslint-config-uber-es2015

The base es2015 eslint config for web JavaScript at Uber

Usage no npm install needed!

<script type="module">
  import eslintConfigUberEs2015 from 'https://cdn.skypack.dev/eslint-config-uber-es2015';
</script>

README

eslint-config-uber-es2015 NPM version

The base es2015 eslint config for web JavaScript at Uber

Installation

Install eslint either locally or globally.

npm install --save-dev eslint

If you installed eslint locally, you should install eslint-config-uber-es2015 locally too. Otherwise, install it globally.

npm install --save-dev eslint-config-uber-es2015

Usage

Initialize a .eslintrc file or append to an existing one.

Note: you can also configure eslint with other types of config files

Before

{
  "rules": {},
  "extends": []
}

After

{
  "rules": {},
  "extends": [
    "eslint-config-uber-es2015"
  ]
}

eslint-config-uber-es5 is already included, so there's no need to extend it.

===

:back: to uber-eslint home