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