From e01d03fa30f49763e1a58066941d0707c16a8ab2 Mon Sep 17 00:00:00 2001 From: Cyborg Viktor Date: Fri, 11 Sep 2026 16:45:49 +0000 Subject: [PATCH] ci: hold TypeScript at 6.x in Dependabot updates typescript-eslint has no TypeScript 7 support yet (peer range is ">=4.8.4 <6.1.0" as of typescript-eslint 8.70.0). TypeScript 7 removed the `ts.Extension.Cjs` API that @typescript-eslint/typescript-estree reads, so the grouped Dependabot bump to typescript@7.0.2 makes linting crash before it reaches any source file. Ignore typescript >=7.0.0 so the rest of the grouped update can land. Remove the ignore once typescript-eslint supports TypeScript 7. Co-Authored-By: Claude Opus 5 (1M context) --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index be27bdc..0227ee4 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,6 +9,13 @@ updates: bun: patterns: - '*' + # typescript-eslint does not support TypeScript 7 yet: its peer range is + # ">=4.8.4 <6.1.0" as of typescript-eslint 8.70.0, and TypeScript 7 removed + # the `ts.Extension.Cjs` API that @typescript-eslint/typescript-estree reads, + # which breaks linting. Remove this once typescript-eslint supports TS 7. + ignore: + - dependency-name: 'typescript' + versions: ['>=7.0.0'] - package-ecosystem: 'github-actions' directory: '/'