Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 625 Bytes

File metadata and controls

46 lines (34 loc) · 625 Bytes

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