Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@spotify/eslint-config-base

spotify192.4kApache-2.015.0.0

Spotify's base ESLint config

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.

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

15.0.0 (2023-05-18)

chore

  • node: upgrade required Node version to 18 (9528841)

BREAKING CHANGES

  • node: Node bump from v14 to v18

14.1.6 (2023-02-14)

Note: Version bump only for package @spotify/eslint-config-base

14.1.5 (2023-01-30)

Note: Version bump only for package @spotify/eslint-config-base

14.1.4 (2023-01-19)

Note: Version bump only for package @spotify/eslint-config-base

14.1.3 (2022-12-07)

Note: Version bump only for package @spotify/eslint-config-base

14.1.2 (2022-12-02)

Note: Version bump only for package @spotify/eslint-config-base

14.1.1 (2022-11-25)

Note: Version bump only for package @spotify/eslint-config-base

14.1.0 (2022-08-08)

Note: Version bump only for package @spotify/eslint-config-base

14.0.2 (2022-07-15)

Note: Version bump only for package @spotify/eslint-config-base

14.0.1 (2022-07-12)

Note: Version bump only for package @spotify/eslint-config-base

14.0.0 (2022-07-11)

Note: Version bump only for package @spotify/eslint-config-base

13.0.1 (2022-04-19)

Note: Version bump only for package @spotify/eslint-config-base

13.0.0 (2022-03-21)

Note: Version bump only for package @spotify/eslint-config-base

12.0.0 (2021-09-22)

Build System

  • node: drop support for Node v12. Support only NodeJS >= 14.17.x (be04398)

BREAKING CHANGES

  • node: Dropped support for Node v12. Minimum supported NodeJS version is now >= 14.17.x.

11.0.0 (2021-07-16)

Note: Version bump only for package @spotify/eslint-config-base

10.0.0 (2021-04-14)

Build System

  • drop support for nodejs v10.x (3fe3059)

BREAKING CHANGES

  • drop support for NodeJS v10.x, which reaches EOL on April 30, 2021.

9.0.2 (2021-02-26)

Bug Fixes

9.0.0 (2020-10-26)

Note: Version bump only for package @spotify/eslint-config-base

8.0.0 (2020-06-23)

Features

BREAKING CHANGES

  • eslint: see release notes for eslint v7

7.0.0 (2020-04-28)

BREAKING CHANGES

  • running web-scripts without arguments exits code 1 now instead of exiting 0
  • prettier 2.0 may introduce breaking changes
  • prettier 2.0 may introduce breaking changes

  • improvement(web-scripts): make stylecheck and typecheck default for lint

the lint script will now default typechecking and stylechecking to true by default. You may shut these off with --no-typecheck and --no-stylecheck.

  • Users who have projects incompatible with TypeScript checks or with projects that do not user prettier will now fail yarn lint.

6.2.0 (2020-04-04)

Note: Version bump only for package @spotify/eslint-config-base

6.1.1 (2020-04-03)

Note: Version bump only for package @spotify/eslint-config-base

6.1.0 (2020-03-12)

Features

  • eslint-config-base: add rule for diabling unsafe finally blocks (#230) (5869bf9)

6.0.0 (2020-01-29)

Build System

  • bump node in engines to 10.18.0 (08ea936)

BREAKING CHANGES

  • increasing Node version in engines declaration

5.0.2 (2020-01-21)

Bug Fixes

  • eslint-config-base: allow triple slashes (8ee981d), closes #117

5.0.0 (2020-01-06)

Note: Version bump only for package @spotify/eslint-config-base

4.0.0 (2020-01-03)

chore

  • bump engine to >=10.13.0 (9527453)

BREAKING CHANGES

  • Minimum Node version has been increased

3.0.0 (2019-10-10)

Note: Version bump only for package @spotify/eslint-config-base

2.0.0 (2019-09-23)

Features

  • eslint-config-base: Add rule for disallowing useless constructors (beab7ec)

BREAKING CHANGES

  • eslint-config-base: Adding a lint rule which doesn't have a fix, which means that upgrading could break builds due to the new rule.

1.1.4 (2019-07-17)

Bug Fixes

  • Add repostiory field to package.json files (fccd2db)

1.1.0 (2019-07-01)

Bug Fixes

  • support ESLint 6 in our configs (59341e3)
  • Updates engines field to node >=10 (b3b4f58)

1.0.2 (2019-06-26)

Bug Fixes

  • update dependencies for peerDependency warnings (eceff7c)

1.0.1 (2019-06-24)

Note: Version bump only for package @spotify/eslint-config-base