npm.io
15.0.0 • Published 3 years ago

@spotify/eslint-config-base

Licence
Apache-2.0
Version
15.0.0
Deps
0
Size
38 kB
Vulns
0
Weekly
0
Stars
376

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