Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
v8.18.2
8.18.2 (2024-12-23)
🩹 Fixes
- eslint-plugin: [no-deprecated] not reporting usages of deprecated declared constants as object value (#10498)
- eslint-plugin: [prefer-reduce-type-parameter] don't report cases in which the fix results in a type error (#10494)
- eslint-plugin: [no-unnecessary-condition] don't flag values of an unconstrained or valid type parameter (#10473)
- eslint-plugin: [consistent-indexed-object-style] use a suggestion over an auto-fix if can't reliably determine that produced index signature is valid (#10490)
- eslint-plugin: [no-unsafe-type-assertion] fix for unsafe assertion to a constrained type parameter (#10461)
- eslint-plugin: [no-unnecessary-type-arguments] handle type/value context (#10503)
- eslint-plugin: [consistent-type-assertions] allow default assertionStyle option (#10512)
- eslint-plugin: [no-unnecessary-condition] handle noUncheckedIndexedAccess true (#10514)
- typescript-eslint: export types so that declarations can be named for dts files (#10513)
❤️ Thank You
- Brad Zacher @bradzacher
- Luke Deen Taylor @controversial
- Ronen Amiel
- Scott O'Hara
- YeonJuan @yeonjuan
- Yukihiro Hasegawa @y-hsgw
You can read about our versioning strategy and releases on our website.
v8.18.1
8.18.1 (2024-12-16)
🩹 Fixes
- eslint-plugin: [no-unnecessary-template-expression] don't report when an expression includes comment (#10444)
- eslint-plugin: handle string like index type (#10460)
- eslint-plugin: [no-unnecessary-boolean-literal-compare] flag values of a type parameter with boolean type constraints (#10474)
- eslint-plugin: use consistent naming for asserting types and casting values (#10472)
- eslint-plugin: [no-unnecessary-condition] better message when comparing between literal types (#10454)
- scope-manager: visit params decorator before nest scope (#10475)
❤️ Thank You
- Kirk Waiblinger @kirkwaiblinger
- Ronen Amiel
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.
v8.18.0
8.18.0 (2024-12-09)
🚀 Features
- eslint-plugin: [no-deprecated] report on super call of deprecated constructor (#10397)
- eslint-plugin: [switch-exhaustiveness-check] add support for "no default" comment (#10218)
🩹 Fixes
- typescript peer dependency (#10373)
- deps: update dependency eslint to v9.16.0 (#10471)
- eslint-plugin: [no-deprecated] check if a JSX attribute is deprecated (#10374)
- eslint-plugin: [no-base-to-string] handle more robustly when multiple
toString()
declarations are present for a type (#10432) - eslint-plugin: [use-unknown-in-catch-callback-variable] only flag function literals (#10436)
❤️ Thank You
- Kim Sang Du @developer-bandi
- Kirk Waiblinger @kirkwaiblinger
- mdm317
- rtritto
You can read about our versioning strategy and releases on our website.
v8.17.0
8.17.0 (2024-12-02)
🚀 Features
- eslint-plugin: [prefer-promise-reject-errors] options to allow any and unknown (#10392)
- typescript-estree: add package version to ts version warning (#10343)
🩹 Fixes
- eslint-plugin: [no-unnecessary-template-expressions] allow template expressions used to make trailing whitespace visible (#10363)
- eslint-plugin: remove references to "extendDefaults" in no-restricted-types (#10401)
- eslint-plugin: [promise-function-async] handle function overloading (#10304)
- website: press the Report an Issue button makes error if eslintrc does not include rules (#10367)
❤️ Thank You
- Kim OhSeong @bkks1004
- Kim Sang Du @developer-bandi
- Kirk Waiblinger @kirkwaiblinger
- Marco Pasqualetti @marcalexiei
- Maria José Solano @MariaSolOs
- Ronen Amiel
You can read about our versioning strategy and releases on our website.
v8.16.0
8.16.0 (2024-11-25)
🚀 Features
- support TypeScript 5.7 (#10372)
- eslint-plugin: [max-params] add function overload and function type support (#10312)
- eslint-plugin: [no-base-to-string] check Array.prototype.join (#10287)
🩹 Fixes
- typescript-estree: update conditions for unsupported version warning (#10385)
❤️ Thank You
- Inga @inga-lovinde
- Josh Goldberg ✨
- Kim Sang Du @developer-bandi
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.
v8.15.0
8.15.0 (2024-11-18)
🚀 Features
- eslint-plugin: added related-getter-setter-pairs rule (#10192)
- eslint-plugin: new rule
no-unsafe-type-assertion
(#10051) - eslint-plugin: [prefer-nullish-coalescing] fix detection of
ignoreConditionalTests
involving boolean!
operator (#10299) - rule-tester: run method - avoid to infer type parameter from
tests
param (#10324) - typescript-eslint: allow infinitely deep array nesting in config function and extends (#10333)
- utils: add new optional
language
field toFlatConfig.Config
type (#10326)
🩹 Fixes
- add missing peer dependencies (#9744)
- eslint-plugin: [consistent-indexed-object-style] handle circular mapped types (#10301)
- eslint-plugin: [await-thenable, return-await] don't flag awaiting unconstrained type parameter as unnecessary (#10314)
- eslint-plugin: [explicit-module-boundary-types] and [explicit-function-return-type] don't report on
as const satisfies
(#10315) - eslint-plugin: report deprecations used in default export (#10330)
- utils: add defaultOptions to meta in rule (#10339)
❤️ Thank You
- Bartosz @burtek
- Brad Zacher @bradzacher
- Ethan Wu
- Josh Goldberg ✨
- Kim Sang Du @developer-bandi
- Luis Sebastian Urrutia Fuentes @LuisUrrutia
- Marco Pasqualetti @marcalexiei
- Phillip Huang
- Ronen Amiel
- Szydlak @wszydlak
You can read about our versioning strategy and releases on our website.
v8.14.0
8.14.0 (2024-11-11)
🚀 Features
- eslint-plugin: [no-confusing-void-expression] add an option to ignore void<->void (#10067)
- eslint-plugin: [await-thenable] report unnecessary
await using
statements (#10209)
🩹 Fixes
- deps: update dependency eslint to v9.14.0 (#10309)
- deps: update docusaurus monorepo to v3.6.0 (#10319)
- eslint-plugin: [no-unnecessary-condition] improve error message for literal comparisons (#10194)
- eslint-plugin: [no-misused-promises] improve report loc for methods (#10216)
- scope-manager: fix asserted increments not being marked as write references (#10271)
❤️ Thank You
- Gyumong @gyumong
- Jan Ochwat @janek515
- Kirk Waiblinger @kirkwaiblinger
- Ronen Amiel
You can read about our versioning strategy and releases on our website.
v8.13.0
8.13.0 (2024-11-04)
🚀 Features
- add
options
property toImportExpression
node (#10255) - eslint-plugin: disable
no-class-assign
rule ineslint-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
- auvred @auvred
- Kim Sang Du @developer-bandi
- Kirk Waiblinger @kirkwaiblinger
- Mark de Dios @peanutenthusiast
- Ronen Amiel
- Trygve Aaberge
- YeonJuan @yeonjuan
- Yosuke Ota @ota-meshi
You can read about our versioning strategy and releases on our website.
v8.12.2
8.12.2 (2024-10-29)
🩹 Fixes
- eslint-plugin: [switch-exhaustiveness-check] invert
considerDefaultExhaustiveForUnions
(#10223)
❤️ Thank You
- Kirk Waiblinger @kirkwaiblinger
You can read about our versioning strategy and releases on our website.
v8.12.1
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
- Abraham Guo
- Dave @reduckted
- Kim Sang Du @developer-bandi
- Kirk Waiblinger @kirkwaiblinger
- Maxim Stykow @mstykow
- Terry Fu
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.