Skip to content

Latest commit

 

History

History

eslint-config-base

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

@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.