Spotify's base ESLint config
npm install @spotify/eslint-config-baseSpotify's base ESLint config.
``sh`
yarn add --dev @spotify/eslint-config-base eslint
After installing, update your project's .eslintrc.json file to import the rule sets you want:
`js`
{
"extends" : [
"@spotify/eslint-config-base"
]
}
`js`
{
"extends" : [
"@spotify/eslint-config-base/es5"
]
}
`js``
{
"extends" : [
"@spotify/eslint-config-base/es6"
]
}
---
Read the ESlint config docs
for more information.