Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-uber-es5

uber1.8kMIT2.0.3

The base eslint config for web JavaScript at Uber

eslint, lint, uber-library, uber-web

readme

eslint-config-uber-es5 NPM version

The base 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-es5 locally too. Otherwise, install it globally.

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

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-es5"
  ]
}

===

:back: to uber-eslint home