Skip to content

Releases: typescript-eslint/typescript-eslint

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.

v8.6.0

16 Sep 17:16
Compare
Choose a tag to compare

8.6.0 (2024-09-16)

🚀 Features

  • add allow option for restrict-template-expressions (#8556)
  • eslint-plugin: [no-unnecessary-condition] check switch cases (#9912)
  • eslint-plugin: [no-misused-promises] check array predicate return (#9955)
  • type-utils: isNullableType add Void logic (#9937)
  • typescript-estree: disable plugin loading by default in project service (#9964)

🩹 Fixes

  • eslint-plugin: [no-deprecated] don't report recursive types in destructuring assignment twice (#9969)
  • eslint-plugin: [no-deprecated] report on deprecated variables used in destructuring assignment (#9978)
  • eslint-plugin: [no-deprecated] report on deprecated properties with function-like types (#9977)
  • eslint-plugin: [no-unnecessary-condition] properly reflect multiple negations in message (#9940)
  • typescript-estree: don't throw on missing tsconfig.json by default in project service (#9989)

❤️ Thank You

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

v8.5.0

09 Sep 17:16
Compare
Choose a tag to compare

8.5.0 (2024-09-09)

🚀 Features

  • eslint-plugin: [no-duplicate-type-constituents] prevent unnecessary | undefined for optional parameters (#9479)
  • eslint-plugin: [no-unsafe-argument] differentiate error types (#9920)
  • typescript-estree: default projectService.defaultProject to 'tsconfig.json' (#9893)

🩹 Fixes

  • deps: update dependency prism-react-renderer to v2.4.0 (#9943)
  • eslint-plugin: [no-unnecessary-type-assertion] fix TSNonNullExpression fixer (#9898)
  • eslint-plugin: [no-misused-promises] handle static method (#9951)
  • eslint-plugin: [no-unnecessary-type-parameters] fix AST quick path scope analysis (#9900)
  • eslint-plugin: [consistent-type-assertions] access parser services lazily (#9921)

❤️ Thank You

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

v8.4.0

02 Sep 17:15
Compare
Choose a tag to compare

8.4.0 (2024-09-02)

🚀 Features

  • typescript-estree: make withoutProjectParserOptions generic (#9877)

❤️ Thank You

  • Josh Goldberg ✨

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

v8.3.0

26 Aug 17:16
Compare
Choose a tag to compare

8.3.0 (2024-08-26)

🚀 Features

  • eslint-plugin: [no-deprecated] add rule (#9783)
  • typescript-estree: replace globby w/ fast-glob (#9518)
  • typescript-estree: reload project service once when file config isn't found (#9853)

🩹 Fixes

  • ast-spec: use Expression in argument of ThrowStatement (#9632)
  • eslint-plugin: [no-unnecessary-template-expression] add missing parentheses in autofix (#8673)
  • eslint-plugin: [no-unnecessary-type-parameters] check mapped alias type arguments (#9741)
  • utils: add missing TSSatisfiesExpression in RuleListenerBaseSelectors (#9832)
  • utils: add TSDeclareFunction to functionTypeTypes (#9788)

❤️ Thank You

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