Skip to content
This repository was archived by the owner on Oct 23, 2026. It is now read-only.

Commit 02f6e8d

Browse files
betegonclaude
andauthored
fix(lint): force-ignore output.ts from Biome type analysis (200k limit) (#1536)
## Problem `Lint & Typecheck` fails on an internal Biome error, with no real lint violation in the changed code: ``` src/lib/formatters/output.ts project INTERNAL ! Biome encountered an unusually large amount of types which exceeded the limit of 200,000. ``` `output.ts` imports valibot's `GenericSchema`, whose recursive generic graph pushes Biome's project-mode type inference over its 200,000-type ceiling — the **same internal Biome bug already handled for `custom-ca.ts`** in this config (see the existing `"!!src/lib/custom-ca.ts"` force-ignore). It surfaces **non-deterministically**: `main` passes by a hair, but the exact type count tips over on PR runners, so unrelated PRs fail this job identically — e.g. #1499, #1501, and #1535. Re-running does not clear it (deterministic per branch state). ## Fix Force-ignore `src/lib/formatters/output.ts` the same way as `custom-ca.ts`, until Biome raises/fixes the limit. ```jsonc "!!src/lib/custom-ca.ts", "!!src/lib/formatters/output.ts" ``` ## Verification `pnpm run lint` (the CI invocation) now passes: ``` Checked 1025 files in 3s. No fixes applied. (exit 0) ``` Unblocks #1535 (and the other PRs above) once merged. Trade-off is the same one already accepted for `custom-ca.ts`: `output.ts` (a leaf formatter) is skipped by Biome; it stays covered by `tsc`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 66a5275 commit 02f6e8d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎packages/cli/biome.jsonc‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@
3636
"!codemods",
3737
// custom-ca.ts blows past Biome's type-analysis limit when pulled into
3838
// the module graph (internal Biome bug); force-ignore even via a test.
39-
"!!src/lib/custom-ca.ts"
39+
"!!src/lib/custom-ca.ts",
40+
// output.ts hits the same 200k type-analysis limit once valibot's
41+
// GenericSchema graph is pulled in — the same internal Biome bug, surfacing
42+
// non-deterministically (main passes by a hair; unrelated PRs trip it,
43+
// e.g. #1499, #1501). Force-ignore until Biome raises/fixes the limit.
44+
"!!src/lib/formatters/output.ts"
4045
]
4146
},
4247
"javascript": {},

0 commit comments

Comments
 (0)