Skip to content

chore(lint): add Biome linter (config, script, CI gate) - #107

Merged
DevenDucommun merged 2 commits into
mainfrom
chore/add-biome-lint
Jul 15, 2026
Merged

chore(lint): add Biome linter (config, script, CI gate)#107
DevenDucommun merged 2 commits into
mainfrom
chore/add-biome-lint

Conversation

@DevenDucommun

Copy link
Copy Markdown
Owner

What

The repo type-checked but had no linter. This adds Biome (lint-only; formatter disabled to avoid a 25-file style churn), wired into package.json (bun run lint) and the CI workflow as a gate.

Config choices

Keeps the meaningful correctness / suspicious / complexity rules; disables domains irrelevant to a local CLI tool — a11y (fires only on the static dashboard HTML) and the pure-style useTemplate noise.

Real issues the linter caught (both fixed)

  • config.ts: an implicit-return forEach callback → made explicitly void.
  • dashboard.client.js: a manual && guard → optional chaining (behavior-identical in the ternary condition).

Verification

bun run lint exit 0, typecheck clean, 93 tests pass, dashboard smoke passes.

🤖 Generated with Claude Code

DevenDucommun and others added 2 commits July 14, 2026 22:08
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The repo type-checked but had no linter. Add Biome (lint-only, formatter
disabled to avoid churn) wired into package.json and the CI workflow.
Config keeps meaningful correctness/suspicious/complexity rules and
disables domains irrelevant to a local CLI tool (a11y on the static
dashboard HTML) and pure-style noise (useTemplate).

The linter surfaced two real tidies, both applied: an implicit-return
forEach callback in config.ts (now explicit void) and a manual
&&-guard in dashboard.client.js (now optional chaining). Lint, typecheck,
93 tests, and dashboard smoke all pass.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@DevenDucommun
DevenDucommun merged commit 164bd28 into main Jul 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant