@spotify/eslint-config-base
v15.0.0
Published
Spotify's base ESLint config
Downloads
212,225
Readme
@spotify/eslint-config-base
Spotify's base ESLint config.
Installation
yarn add --dev @spotify/eslint-config-base eslint
Usage
After installing, update your project's .eslintrc.json
file to import the rule sets you want:
{
"extends" : [
"@spotify/eslint-config-base"
]
}
ES5 only
{
"extends" : [
"@spotify/eslint-config-base/es5"
]
}
ES6+ only
{
"extends" : [
"@spotify/eslint-config-base/es6"
]
}
Read the ESlint config docs for more information.