The base eslint config for web JavaScript at Uber
npm install eslint-config-uber-es5> The base eslint config for web JavaScript at Uber
Install eslint either locally or globally.
``sh`
npm install --save-dev eslint
If you installed eslint locally, you should install eslint-config-uber-es5 locally too. Otherwise, install it globally.
`sh`
npm install --save-dev eslint-config-uber-es5
Initialize a .eslintrc file or append to an existing one.
Note: you can also configure eslint with other types of config files
#### Before
`js`
{
"rules": {},
"extends": []
}
#### After
`js``
{
"rules": {},
"extends": [
"eslint-config-uber-es5"
]
}
===
[npm-image]: https://badge.fury.io/js/eslint-config-uber-es5.svg
[npm-url]: https://npmjs.org/package/eslint-config-uber-es5