Detalhes do pacote

@spotify/eslint-config-typescript

spotify256.4kApache-2.015.0.0

Spotify's ESLint config for TypeScript

readme (leia-me)

eslint-config-typescript

Spotify's TypeScript ESLint config extras.

Installation

npm install --save-dev @spotify/eslint-config-typescript

Usage

After installing, update your project's .eslintrc.json file to import the rule sets you want:

{
  "extends" : [
    "@spotify/eslint-config-base",
    "@spotify/eslint-config-typescript"
  ]
}

Read the ESlint config docs for more information.

changelog (log de mudanças)

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

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

BREAKING CHANGES

  • node: Node bump from v14 to v18
  • deps: TypeScript bump from v4 to v5, Jest bump from v28 to v29

14.1.6 (2023-02-14)

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

14.1.5 (2023-01-30)

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

14.1.4 (2023-01-19)

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

14.1.3 (2022-12-07)

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

14.1.2 (2022-12-02)

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

14.1.1 (2022-11-25)

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

14.1.0 (2022-08-08)

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

14.0.2 (2022-07-15)

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

14.0.1 (2022-07-12)

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

14.0.0 (2022-07-11)

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

13.0.1 (2022-04-19)

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

13.0.0 (2022-03-21)

Bug Fixes

  • eslint: specify parserOptions.project (5ea256c)
  • remove parserOptions.project (c901579)

chore

BREAKING CHANGES

  • update @typescript-eslint from v4 to v5, eslint from v7 to v8

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-typescript

10.0.0 (2021-04-14)

Build System

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

Features

  • eslint-config-typescript: turn off @typescript-eslint/no-unused-vars (4845031)

BREAKING CHANGES

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

9.0.0 (2020-10-26)

Bug Fixes

8.1.1 (2020-09-22)

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

8.0.1 (2020-07-02)

Bug Fixes

  • eslint-config-typescript: turn off naming-convention (ed5eec3)

8.0.0 (2020-06-23)

Features

  • eslint: v7 (55ebb7f)
  • typescript-eslint: upgrade to latest to support type export syntax (688324b)
  • typescript-eslint/eslint-plugin: v3.4.0 (195400a)

BREAKING CHANGES

  • eslint: see release notes for eslint v7
  • typescript-eslint: The camelcase rule was deprecated in typescript-eslint. I've tried to replace it with an equivalent naming-convention rule config. I question if we should have this at all.

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-typescript

6.1.1 (2020-04-03)

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

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.0 (2020-01-06)

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

4.0.0 (2020-01-03)

Features

  • eslint 6 updates (d5444b6)
  • web-scripts: Upgrade to ESLint ^6.8.0 (d0c37e9)

BREAKING CHANGES

  • web-scripts: Users of web-scripts that rely on ESLint 5 will see unexpected linting errors.

3.0.0 (2019-10-10)

Bug Fixes

  • eslint-config: Update typescript-eslint packages to ^2.2.0 (bda6c5f)

BREAKING CHANGES

  • eslint-config: Major version bump

2.0.1 (2019-09-27)

Bug Fixes

  • eslint-config-typescript: add no-useless-constructor override (72c6651)

2.0.0 (2019-09-23)

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

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-typescript