Adopt oxlint with a zero-warning CI gate

The repo had no linter: style and hygiene were convention-only, and the
dead-symbol cleanup needed for noUnusedLocals was invisible until tsc was
reconfigured. Pin oxlint 1.86.0 as a devDependency, add `bun run lint`, and
run it in CI right after the type check. The codebase is at zero warnings,
and AGENTS.md documents the new gate.
This commit is contained in:
gitea committed 2026-09-29 22:05:39 +08:00
1 parent 3d55ef7b4a
commit 7ceb200aac
4 files changed
+48 -1

No files matched your search

+3
View File
@@ -35,6 +35,9 @@ jobs:
- name: Type-check
run: bun run check
- name: Lint
run: bun run lint
- name: Colocated Unit Tests
run: bun test