docs(agents): lint baseline 60 warnings + note unsafe mass unused-var fixes
This commit is contained in:
parent
ab87b8ab83
commit
dc305fbc08
1 changed files with 7 additions and 3 deletions
10
AGENTS.md
10
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`.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue