Commit dcaa2c9
Ratchet Biome to a blocking CI gate
`npm run lint` is now a required CI step (removed continue-on-error). It fails on
lint ERRORS — Biome's full recommended set, which currently has zero violations
outside the grandfathered backlog — so new error-class issues are blocked.
Grandfathered the entire pre-existing backlog (exactly the 16 rules that were
firing = all 713 prior errors) to "warn" in biome.json — visible in output, but
non-blocking — pending dedicated passes:
- a11y (~632): JSX needs button types, key handlers, svg titles, semantic
elements, valid anchors — a real accessibility initiative of its own.
- suspicious/noArrayIndexKey (50), correctness/useExhaustiveDependencies (11):
large, judgment-heavy; auto-fixing hook deps risks render loops.
- A few idiomatic/benign ones left as warn rather than churn working code:
noAssignInExpressions (the `(m[k] ||= []).push()` idiom),
useIterableCallbackReturn (nested forEach arrows), useJsxKeyInIterable (static
[id,label,<svg>] config tuples), noImplicitAnyLet (consistent with
tsconfig noImplicitAny:false).
Net: 0 errors / 920 warnings / 145 infos; `biome check` and `npm test` green.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent fa570b6 commit dcaa2c9
2 files changed
Lines changed: 26 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
25 | | - | |
26 | 26 | | |
27 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
38 | 58 | | |
39 | 59 | | |
40 | 60 | | |
| |||
0 commit comments