Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
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.
v8.12.0
v8.11.0
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
- Kirk Waiblinger @kirkwaiblinger
- Lotfi Meklati @lotmek
- Yukihiro Hasegawa @y-hsgw
You can read about our versioning strategy and releases on our website.
v8.10.0
v8.9.0
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
andTSTypeAssertion
(#10139)
❤️ Thank You
- Abraham Guo
- Anna Bocharova @RobinTail
- Arya Emami @aryaemami59
- auvred @auvred
- Joshua Chen
- Kirk Waiblinger @kirkwaiblinger
- Lotfi Meklati @lotmek
- mdm317
- Ronen Amiel
- Sukka
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.
v8.8.1
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
- Brad Zacher @bradzacher
- Ronen Amiel
- WhitePiano @goldentrash
You can read about our versioning strategy and releases on our website.