Skip to content

Releases: typescript-eslint/typescript-eslint

v7.9.0

13 May 17:14
Compare
Choose a tag to compare

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

29 Apr 17:14
Compare
Choose a tag to compare

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

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

v7.7.1

22 Apr 17:14
Compare
Choose a tag to compare

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

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

v7.7.0

15 Apr 17:14
Compare
Choose a tag to compare

7.7.0 (2024-04-15)

🚀 Features

  • eslint-plugin: replace no-new-symbol with no-new-native-nonconstructor (#8895)
  • typescript-estree: add defaultProject for project service (#8815)

❤️ Thank You

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

v7.6.0

08 Apr 17:15
Compare
Choose a tag to compare

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

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

v7.5.0

01 Apr 21:53
Compare
Choose a tag to compare

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

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

v7.4.0

25 Mar 18:33
Compare
Choose a tag to compare

7.4.0 (2024-03-25)

🚀 Features

🩹 Fixes

  • eslint-plugin: [prefer-optional-chain] address multipart nullish checks false positive (#8678)
  • eslint-plugin: [prefer-optional-chain] properly disambiguate between boolean and false (#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

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

v7.3.1

18 Mar 23:00
Compare
Choose a tag to compare

7.3.1 (2024-03-18)

🩹 Fixes

  • eslint-plugin: [no-floating-promises] revert disable of ignoreVoid in strict config (#8718)

❤️ Thank You

  • Josh Goldberg ✨

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

v7.3.0

18 Mar 17:15
Compare
Choose a tag to compare

7.3.0 (2024-03-18)

Note that this release enables rules to have more restrictive default options as configured in the strict and strict-type-checked configs. See #8364 for more details.

🚀 Features

  • eslint-plugin: [restrict-template-expressions] add allowArray option (#8389)
  • eslint-plugin: add meta.docs.recommended setting for strict config options (#8364)
  • eslint-plugin: add rule use-unknown-in-catch-callback-variables (#8383)
  • eslint-plugin: [prefer-reduce-type-parameter] supports tuple, union, intersection (#8642)
  • eslint-plugin-internal: add internal lint rule no-relative-paths-to-internal-packages (#8596)
  • typescript-estree: disallow switch statements with multiple default cases (#8411)
  • utils: add parser name to thrown parser error message (#8484)

🩹 Fixes

  • correct engines.node constraints in package.json (#8671)
  • eslint-plugin: [unbound-method] check method definition in object literal using longhand form (#8637)
  • eslint-plugin: [consistent-type-imports] handle imports without specifiers (#8308)
  • eslint-plugin: [no-redundant-type-constituents] incorrectly marks & string as redundant (#8282)
  • eslint-plugin: [no-unnecessary-qualifier] handle merge namespace with enum (#8591)
  • eslint-plugin: [no-unused-expressions] false negatives when using assertions (#8668)
  • eslint-plugin: [ban-ts-comment] more accurate handling of multiline comments (#8416)
  • eslint-plugin: [explicit-function-return-type, explicit-module-boundary-types] improved checking for allowHigherOrderFunctions option (#8508)
  • eslint-plugin: [class-literal-property-style] ignore property assigned in constructor (#8412)
  • eslint-plugin: [no-unnecessary-type-assertion] fix false negative for const variable declarations (#8558)
  • typescript-estree: fix the issue of single run inferring in the pnpm repo (#3811, #8702)

❤️ Thank You

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

v7.2.0

11 Mar 18:14
Compare
Choose a tag to compare

7.2.0 (2024-03-11)

🚀 Features

  • support TS 5.4 (#8630)
  • eslint-plugin: [prefer-string-starts-ends-with] add allowSingleElementEquality option (#8374)

🩹 Fixes

  • eslint-plugin: expose *-type-checked-only configs for extension (#8600)
  • eslint-plugin: [member-ordering] report alphabetical sorting for all groups instead of just the first failing group (#8263)
  • eslint-plugin: [no-var-requires, no-require-imports] support template literal (#8408)
  • eslint-plugin: [no-useless-template-literals] detect TemplateLiteral (#8575)
  • eslint-plugin: [no-unnecessary-condition] handle union array and tuple type (#8592)
  • eslint-plugin: [prefer-find] support ternary branches in prefer-find (#8421)
  • typescript-eslint: set sourceType: "module" in base shared config (#8622)
  • typescript-eslint: export ConfigWithExtends type (#8621)

❤️ Thank You

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