Skip to content

Releases: typescript-eslint/typescript-eslint

v8.13.0

04 Nov 17:17
Compare
Choose a tag to compare

8.13.0 (2024-11-04)

🚀 Features

  • add options property to ImportExpression node (#10255)
  • eslint-plugin: disable no-class-assign rule in eslint-recommended config (#10250)
  • eslint-plugin: [prefer-nullish-coalescing] add option ignoreBooleanCoercion (#9924)
  • eslint-plugin: [only-throw-error] add allow option (#10221)

🩹 Fixes

  • deps: update dependency @eslint-community/regexpp to v4.12.1 (#10269)
  • eslint-plugin: [no-unnecessary-condition] falsey bigint should be falsey (#10205)
  • eslint-plugin: [no-deprecated] report on deprecated variables used inside dynamic imports (#10261)
  • eslint-plugin: [no-deprecated] report when exported class implements/extends deprecated entity (#10259)
  • eslint-plugin: [consistent-type-definitions] don't leave trailing parens when fixing type to interface (#10235)
  • eslint-plugin: [switch-exhaustiveness-check] add support for covering a missing property with undefined (#10232)
  • types: parent property type annotation in the ImportAttribute node (#10258)
  • utils: allow an array for the values of SharedConfig (#10217)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.12.2

29 Oct 13:49
Compare
Choose a tag to compare

8.12.2 (2024-10-29)

🩹 Fixes

  • eslint-plugin: [switch-exhaustiveness-check] invert considerDefaultExhaustiveForUnions (#10223)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.12.1

28 Oct 22:56
Compare
Choose a tag to compare

8.12.1 (2024-10-28)

🚀 Features

  • eslint-plugin: [prefer-nullish-coalescing] add support for assignment expressions (#10152)
  • eslint-plugin: [consistent-indexed-object-style] report mapped types (#10160)
  • eslint-plugin: [switch-exhaustiveness-check] add considerDefaultExhaustiveForUnions option (#9954)
  • eslint-plugin: [no-base-to-string] handle String() (#10005)
  • typescript-eslint: improve undefined extension handling (#10177)

🩹 Fixes

  • eslint-plugin: [no-unsafe-return] don't reiterate through all type parts for each part (#10203)
  • website: enable noImplicitAny (#10175)
  • rule-tester: use cwd option to set base path for tests with file name (#10201)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.12.0

28 Oct 17:17
Compare
Choose a tag to compare

v8.11.0

21 Oct 17:17
Compare
Choose a tag to compare

8.11.0 (2024-10-21)

🚀 Features

  • eslint-plugin: [no-base-to-string] add support for catching toLocaleString (#10138)
  • eslint-plugin: [no-unnecessary-type-parameters] add suggestion fixer (#10149)

🩹 Fixes

  • eslint-plugin: [class-literal-property-style] don't report nodes with override keyword (#10135)
  • rule-tester: allow custom filename outside directory (#10147)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.10.0

17 Oct 17:13
Compare
Choose a tag to compare

8.10.0 (2024-10-17)

🚀 Features

  • support TypeScript 5.6 (#9972)

🩹 Fixes

  • typescript-eslint: propagate name field to extended configs in config helper (#10094)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.9.0

14 Oct 17:16
Compare
Choose a tag to compare

8.9.0 (2024-10-14)

🚀 Features

  • rule-tester: hooks for test cases (#10109)

🩹 Fixes

  • eslint-plugin: [no-unnecessary-type-parameters] cannot assume variables are either type or value (#10093)
  • eslint-plugin: [return-await] sync the behavior with await-thenable (#10069)
  • eslint-plugin: [prefer-literal-enum-member] report a different error message when allowBitwiseExpressions is enabled (#10096)
  • eslint-plugin: [no-loop-func] sync from upstream base rule (#10103)
  • eslint-plugin: [no-unused-vars] never report the naming of an enum member (#10117)
  • eslint-plugin: correct use-at-your-own-risk type definitions (#10049)
  • eslint-plugin: handle unions in await...for (#10110)
  • rule-tester: merge provided linterOptions (#10131)
  • scope-manager: [no-use-before-define] do not treat nested namespace aliases as variable references (#10095)
  • typescript-estree: improve project service error message when file extension missing from extraFileExtensions (#10076)
  • visitor-keys: reorder TSSatisfiesExpression and TSTypeAssertion (#10139)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.8.1

07 Oct 17:17
Compare
Choose a tag to compare

8.8.1 (2024-10-07)

🩹 Fixes

  • eslint-plugin: stop warning on @ts-nocheck comments which aren't at the beginning of the file (#10046)
  • typescript-estree: fix crash when running from a node --eval script (#10098)
  • typescript-estree: ensure mjs/mts files are always be parsed as ESM (#10011)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.8.0

30 Sep 17:17
Compare
Choose a tag to compare

8.8.0 (2024-09-30)

🚀 Features

  • eslint-plugin: [no-unnecessary-condition] add checkTypePredicates (#10009)
  • eslint-plugin: [await-thenable] check for-await loop iteree (#10008)

🩹 Fixes

  • remove export type * in d.ts to support TS<5.0 (#10070)
  • eslint-plugin: [no-unnecessary-template-expression] should underline template syntax with squiggly lines (#10044)
  • eslint-plugin: [no-deprecated] max callstack exceeded when class implements itself (#10040)
  • eslint-plugin: [no-misused-promises] check contextual type (#10042)
  • eslint-plugin: [prefer-literal-enum-member] allow nested bitwise operations (#10037)
  • type-utils: check for type parameters on isBuiltinSymbolLikeRecurser() (#10026)
  • utils: update missing type information message (#10043)

❤️ Thank You

You can read about our versioning strategy and releases on our website.

v8.7.0

23 Sep 17:17
Compare
Choose a tag to compare

8.7.0 (2024-09-23)

🚀 Features

  • eslint-plugin: [no-unsafe-call] check calls of Function (#10010)
  • eslint-plugin: [consistent-type-exports] check export * exports to see if all exported members are types (#10006)

🩹 Fixes

  • eslint-plugin: properly coerce all types to string in getStaticMemberAccessValue (#10004)
  • eslint-plugin: [no-deprecated] report on imported deprecated variables (#9987)
  • eslint-plugin: [no-confusing-non-null-assertion] check !in and !instanceof (#9994)
  • types: add NewExpression as a parent of SpreadElement (#10024)
  • utils: add missing entries to the RuleListener selectors list (#9992)

❤️ Thank You

You can read about our versioning strategy and releases on our website.