Skip to content

Releases: typescript-eslint/typescript-eslint

v5.45.0

28 Nov 17:17
Compare
Choose a tag to compare

5.45.0 (2022-11-28)

Bug Fixes

  • eslint-plugin: [array-type] --fix flag removes parentheses from type (#5997) (42b33af)
  • eslint-plugin: [keyword-spacing] prevent crash on no options (#6073) (1f19998)
  • eslint-plugin: [member-ordering] support private fields (#5859) (f02761a)
  • eslint-plugin: [prefer-readonly] report if a member's property is reassigned (#6043) (6e079eb)
  • scope-manager: add support for TS4.9 satisfies expression (#6059) (44027db)
  • typescript-estree: stub out ts.SatisfiesExpression on old TS versions (#6076) (1302b30)

Features

  • eslint-plugin: [member-ordering] add a required option for required vs. optional member ordering (#5965) (2abadc6)
  • support Auto Accessor syntax (#5926) (becd1f8)

v5.44.0

21 Nov 17:20
Compare
Choose a tag to compare

5.44.0 (2022-11-21)

Bug Fixes

  • eslint-plugin: [no-empty-interface] disable autofix for declaration merging with class (#5920) (a4f85b8)
  • eslint-plugin: [no-unnecessary-condition] handle index signature type (#5912) (5baad08)
  • eslint-plugin: [prefer-optional-chain] handle binary expressions in negated or (#5992) (2778ff0)
  • typescript-estree: don't consider a cached program unless it's specified in the current parserOptions.project config (#5999) (530e0e6)

Features

  • eslint-plugin: [adjacent-overload-signatures] check BlockStatement nodes (#5998) (97d3e56)
  • eslint-plugin: [keyword-spacing] Support spacing in import-type syntax (#5977) (6a735e1)
  • support parsing satisfies operators (#5717) (20d7cae)
  • update to TypeScript 4.9 (#5716) (4d744ea)

v5.43.0

14 Nov 17:32
Compare
Choose a tag to compare

5.43.0 (2022-11-14)

Bug Fixes

  • eslint-plugin: [no-shadow] handle false positives on generics and parameters (#5902) (769e8c8)
  • eslint-plugin: [promise-function-async] handle keyword token (#5907) (f25a94f)

Features

  • eslint-plugin: [consistent-type-imports] support fixing to inline types (#5050) (75dcdf1)
  • eslint-plugin: [naming-convention] add support for "override" and "async" modifiers (#5310) (#5610) (c759da1)
  • eslint-plugin: [prefer-optional-chain] support suggesting !foo || !foo.bar as a valid match for the rule (#5594) (923d486)

v5.42.1

07 Nov 17:28
Compare
Choose a tag to compare

5.42.1 (2022-11-07)

Bug Fixes

  • ast-spec: correct misnamed ExportNamedDeclaration AST type (#5913) (e88f4fa)
  • eslint-plugin: isTypeReadonly stack overflow (#5875) (#5876) (2d9a33c)

v5.42.0

31 Oct 17:35
Compare
Choose a tag to compare

5.42.0 (2022-10-31)

Bug Fixes

  • ast-spec: add TSQualifiedName to TypeNode union (#5906) (5c316c1)
  • eslint-plugin: [no-extra-parens] handle type assertion in extends clause (#5901) (8ed7219)
  • typescript-estree: don't allow single-run unless we're in type-aware linting mode (#5893) (891b087)

Features

  • eslint-plugin: [member-ordering] add natural sort order (#5662) (1eaae09)
  • eslint-plugin: [no-invalid-void-type] better report message for void used as a constituent inside a function return type (#5274) (d806bda)
  • typescript-estree: clarify docs and error for program project without matching TSConfig (#5762) (67744db)
  • utils: add RuleTester API for top-level dependency constraints (#5896) (0520d53)

v5.41.0

24 Oct 17:39
Compare
Choose a tag to compare

5.41.0 (2022-10-24)

Bug Fixes

  • eslint-plugin: [no-base-to-string] ignore Error, URL, and URLSearchParams by default (#5839) (96e1c6c)
  • type-utils: prevent stack overflow in isTypeReadonly (#5860) (a6d8f7e), closes #4476

Features

  • eslint-plugin: [no-unsafe-declaration-merging] switch to use scope analysis instead of type information (#5865) (e70a10a)
  • eslint-plugin: add no-unsafe-declaration-merging (#5840) (3728031)

v5.40.1

17 Oct 17:43
Compare
Choose a tag to compare

5.40.1 (2022-10-17)

Bug Fixes

  • eslint-plugin: Skip missing 'rest' tuple type arguments in no-misused-promises (#5809) (c5beaa2), closes #5807
  • utils: add missing dependency on @types/semver (#5825) (17b8879)

v5.40.0

10 Oct 17:39
Compare
Choose a tag to compare

5.40.0 (2022-10-10)

Bug Fixes

  • eslint-plugin: [consistent-indexed-object-style] handle interface generic (#5746) (7a8a0a3)
  • eslint-plugin: [no-unnecessary-condition] handle void (#5766) (ac8f06b)

Features

  • eslint-plugin: Check 'rest' parameters in no-misused-promises (#5731) (6477f38), closes #4015
  • utils: add dependency constraint filtering for RuleTester (#5750) (121f4c0)
  • website: store options TypeScript, Enable jsx and AST Viewer in browser's local storage (#5769) (77d2336)

v5.39.0

03 Oct 17:42
Compare
Choose a tag to compare

5.39.0 (2022-10-03)

Features

  • eslint-plugin: [no-invalid-void-type] allow using void as a default type for a generic argument if allowInGenericTypeArguments is specified (#5671) (bb46ef0)

v5.38.1

26 Sep 17:31
Compare
Choose a tag to compare

5.38.1 (2022-09-26)

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