Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
v7.12.0
7.12.0 (2024-06-03)
🚀 Features
- eslint-plugin: [no-useless-template-literals] rename to
no-useless-template-expression
(deprecateno-useless-template-literals
) (#8821) - eslint-plugin: [no-floating-promises] add option 'allowForKnownSafePromises' (#9186)
- rule-tester: check for parsing errors in suggestion fixes (#9052)
- rule-tester: port
checkDuplicateTestCases
from ESLint (#9026)
🩹 Fixes
- no-useless-template-expression -> no-unnecessary-template-expression (#9174)
- eslint-plugin: [no-unnecessary-type-assertion] combine template literal check with
const
variable check (#8820) - eslint-plugin: [dot-notation] fix false positive when accessing private/protected property with optional chaining (#8851)
- eslint-plugin: [explicit-member-accessibility] refine report locations (#8869)
- eslint-plugin: [no-unnecessary-type-assertion] declares are always defined, so always check
declare
s (#8901) - eslint-plugin: [prefer-literal-enum-member] allow using member it self on allowBitwiseExpressions (#9114)
- eslint-plugin: [return-await] clean up in-try-catch detection and make autofixes safe (#9031)
- eslint-plugin: [member-ordering] also TSMethodSignature can be get/set (#9193)
- types: correct typing ParserOptions (#9202)
❤️ Thank You
- Abraham Guo
- Han Yeong-woo @nix6839
- Joshua Chen
- Kim Sang Du @developer-bandi
- Kirk Waiblinger
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.
v7.11.0
7.11.0 (2024-05-27)
🚀 Features
- eslint-plugin: deprecate prefer-ts-expect-error in favor of ban-ts-comment (#9081)
🩹 Fixes
- ast-spec: add
EmptyStatement
toStatement
(#8892) - eslint-plugin: [consistent-type-assertions] prevent syntax errors on arrow functions (#8826)
- typescript-estree: truncate number of files printed by the maximum file error (#9127)
❤️ Thank You
- Abraham Guo
- auvred @auvred
- Dom Armstrong @domarmstrong
- Kirk Waiblinger
You can read about our versioning strategy and releases on our website.
v7.10.0
7.10.0 (2024-05-20)
🚀 Features
- eslint-plugin: [sort-type-constituents] support case sensitive sorting (#8760)
🩹 Fixes
- eslint-plugin: [prefer-regexp-exec] fix heuristic to check whether regex may contain global flag (#8764)
- typescript-estree: don't add in-project files to defaultProjectMatchedFiles (#9097)
- utils: remove function form type from flat config
files
andignores
(#9111)
❤️ Thank You
- auvred @auvred
- Emanuel Hoogeveen @ehoogeveen-medweb
- jsfm01 @jsfm01
- Kirk Waiblinger
You can read about our versioning strategy and releases on our website.
v7.9.0
7.9.0 (2024-05-13)
🚀 Features
- rule-tester: check for missing placeholder data in the message (#9039)
🩹 Fixes
- do not pass tsconfig canonical file name to typescript API to get program details for config file (#9042)
- eslint-plugin: [explicit-function-return-types] fix false positive on default parameters (#9045)
❤️ Thank You
- Kirk Waiblinger
- Sheetal Nandi
- Vinccool96
You can read about our versioning strategy and releases on our website.
v7.8.0
7.8.0 (2024-04-29)
🚀 Features
- rule-tester: assert suggestion messages are unique (#8995)
- typescript-estree: add maximumDefaultProjectFileMatchCount and wide allowDefaultProjectForFiles glob restrictions (#8925)
🩹 Fixes
- eslint-plugin: [no-unsafe-argument] handle tagged templates (#8746)
- eslint-plugin: [prefer-optional-chain] suggests optional chaining during strict null equality check (#8717)
- eslint-plugin: [consistent-type-assertions] handle tagged templates (#8993)
- eslint-plugin: [no-unsafe-return] handle union types (#9001)
- eslint-plugin: [no-unused-vars] clear error report range (#8640)
- utils: export ESLint backwards-compat functions (#8976)
❤️ Thank You
- auvred @auvred
- Josh Goldberg ✨
- jsfm01 @jsfm01
- Kim Sang Du @developer-bandi
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.
v7.7.1
7.7.1 (2024-04-22)
🩹 Fixes
- eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment (#8800)
- eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type (#8809)
- eslint-plugin: [prefer-optional-chain] only look at left operand for
requireNullish
(#8559) - eslint-plugin: [no-for-in-array] refine report location (#8874)
- eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type (#8912)
❤️ Thank You
- Abraham Guo
- Kirk Waiblinger @kirkwaiblinger
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.
v7.7.0
7.7.0 (2024-04-15)
🚀 Features
- eslint-plugin: replace
no-new-symbol
withno-new-native-nonconstructor
(#8895) - typescript-estree: add defaultProject for project service (#8815)
❤️ Thank You
- Dave @reduckted
- Josh Goldberg ✨
You can read about our versioning strategy and releases on our website.
v7.6.0
7.6.0 (2024-04-08)
🚀 Features
- add
name
field to shared configs and flat config types (#8863) - bump npm dependency ranges (#8860)
- note: this does not include support for ESLint v9 - see #8211 for progress.
- utils: add types for both flat and legacy eslint classes (#8861)
🩹 Fixes
- typescript-eslint: fix type errors when using
exactOptionalPropertyTypes
(#8786)
❤️ Thank You
- Abraham Guo
- auvred @auvred
- Brad Zacher @bradzacher
You can read about our versioning strategy and releases on our website.
v7.5.0
7.5.0 (2024-04-01)
🩹 Fixes
- eslint-plugin: [no-floating-promises] handle TaggedTemplateExpression (#8758)
- eslint-plugin: [no-unnecessary-type-assertion] handle exactOptionalPropertyTypes compiler option (#8770)
- parser: disallow
errorOnTypeScriptSyntacticAndSemanticIssues
(#8784) - typescript-eslint: improve support for legacy configs (#8812)
❤️ Thank You
- Brad Zacher @bradzacher
- Mark de Dios @peanutenthusiast
- Naru @naruaway
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.
v7.4.0
7.4.0 (2024-03-25)
🚀 Features
- eslint-plugin: [consistent-type-imports] ignore files with decorators, experimentalDecorators, and emitDecoratorMetadata (#8335)
- Check out our blog post on this change for more information! https://typescript-eslint.io/blog/changes-to-consistent-type-imports-with-decorators
- eslint-plugin: [no-unnecessary-type-arguments] handle tagged templates (#8708)
- eslint-plugin: deprecate no-throw-literal and add a renamed only-throw-error (#8701)
🩹 Fixes
- eslint-plugin: [prefer-optional-chain] address multipart nullish checks false positive (#8678)
- eslint-plugin: [prefer-optional-chain] properly disambiguate between
boolean
andfalse
(#8685) - eslint-plugin: [no-unnecessary-type-assertion] avoid remove const casting on template literals with expressions inside (#8740)
- typescript-eslint: declare peer dependency on
utils
to ensure npm correctly installs dependencies (#8738) - website: visual Editor is not scrolled (#8709)
- website: make 404 page good again (#8750)
❤️ Thank You
- Abraham Guo
- Brad Zacher @bradzacher
- Josh Goldberg ✨
- Kim Sang Du @developer-bandi
- Kirk Waiblinger @kirkwaiblinger
- Marco Pasqualetti @marcalexiei
- YeonJuan @yeonjuan
You can read about our versioning strategy and releases on our website.