From dc305fbc084f5fc2ad07b1fe5a9c8ffaf5f4c80a Mon Sep 17 00:00:00 2001 From: SkateSpots Date: Sat, 26 Sep 2026 21:59:44 +0700 Subject: [PATCH] docs(agents): lint baseline 60 warnings + note unsafe mass unused-var fixes --- AGENTS.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 84c2dd1..2b928f1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -79,9 +79,13 @@ session with **no other memory of this project**. So: - **Lazy routes**: every route uses `lazyWithRetry` (`src/lib/lazyWithRetry.ts`) — retries, then one full reload per session, so a chunk-load failure self-heals instead of showing the error boundary. -- **Baselines** (verified 2026-09-26): `npm test` → 0 errors, **76 warnings** - (mostly ~55 `no-unused-vars` + 14 `react-hooks/exhaustive-deps` + 7 - `react-refresh`), **101 tests**, build ok. `package.json` version **1.4.5**. +- **Baselines** (verified 2026-09-26): `npm test` → 0 errors, **60 warnings** + (39 `no-unused-vars` — mostly destructured bindings/params, 14 + `react-hooks/exhaustive-deps`, 7 `react-refresh`), **101 tests**, build ok. + `package.json` version **1.4.5**. + - ⚠️ Lint: `no-explicit-any` is **0**. Do **not** mass-fix `no-unused-vars` by + name or by blanket rename — shadowed names (`isUnfollowing`) and typed + shorthand destructuring make it unsafe. Fix file-by-file, position-precise. - **Untracked local junk — do NOT commit**: `assets/`, `resources/`, `cvm-server/`, `bun.lock`.