This repository was archived by the owner on Oct 23, 2026. It is now read-only.
Repository navigation
Commit 02f6e8d
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| |||
0 commit comments