From 735688e5c57cdf6796873245627c329a0a4addc7 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Mon, 1 Dec 2025 12:22:44 -0330 Subject: [PATCH] chore: Increase minimum `typescript-eslint` version The minimum version of `typescript-eslint` has been updated to v8.39.0. This is the version that included widening the range of allowed `typescript` versions, so this new minimum will ensure users of this config won't see warnings about incompatible typescript versions if they satisfy this new minimum. This update also brings in a bug fix we encountered on `core` related to the `@typescript-eslint/no-unnecessary-type-assertion` rule, which was in v8.31.0. Details here: https://github.com/typescript-eslint/typescript-eslint/issues/8721 --- packages/typescript/CHANGELOG.md | 5 +++++ packages/typescript/package.json | 2 +- yarn.lock | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/typescript/CHANGELOG.md b/packages/typescript/CHANGELOG.md index 29091f0..e342a6e 100644 --- a/packages/typescript/CHANGELOG.md +++ b/packages/typescript/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **BREAKING:** Update `typescript-eslint` peer dependency to have a minimum version of v8.39.0 ([#423](https://github.com/MetaMask/eslint-config/pull/423)) + - This version has a matching supported `typescript` range, and includes some bug fixes for problems we ran into. + ## [14.1.0] ### Added diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 294af36..1821066 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -59,7 +59,7 @@ "eslint-plugin-import-x": "^4.3.0", "eslint-plugin-jsdoc": "^50.2.4", "typescript": ">=4.8.4 <6", - "typescript-eslint": "^8.24" + "typescript-eslint": "^8.39.0" }, "engines": { "node": "^18.18 || >=20" diff --git a/yarn.lock b/yarn.lock index d57812a..ae94395 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1278,7 +1278,7 @@ __metadata: eslint-plugin-import-x: ^4.3.0 eslint-plugin-jsdoc: ^50.2.4 typescript: ">=4.8.4 <6" - typescript-eslint: ^8.24 + typescript-eslint: ^8.39.0 languageName: unknown linkType: soft