diff --git a/dev-docs/WS-3-LINT-BASELINE-AUDIT-2026-04-29.md b/dev-docs/WS-3-LINT-BASELINE-AUDIT-2026-04-29.md new file mode 100644 index 00000000..d02b0e28 --- /dev/null +++ b/dev-docs/WS-3-LINT-BASELINE-AUDIT-2026-04-29.md @@ -0,0 +1,521 @@ +# WS-3 Lint baseline audit — apps/app + +**Date:** 2026-04-29 +**Source:** `pnpm exec eslint . -c .eslintrc.cjs --ext .ts,.js,.cjs,.vue,.tsx,.jsx --no-fix` +after WS-3 session 1b-i Tasks 1, 2, 3 (Tier 1 + Tier 2 autofix + +trailing-whitespace cleanup). + +## Counts + +| Stage | Total | Errors | Warnings | Fixable | +|-------|-------|--------|----------|---------| +| Pre-1b-i (main, dd8430f) | 1451 | 919 | 532 | 1370 | +| Post-Tier 1 (47bd533) | 422 | 408 | 14 | 354 | +| Post-Tier 2 (a7eaf0f) | 246 | 232 | 14 | 180 | +| Post-whitespace (4976b4e) | 231 | 217 | 14 | 165 | + +Reduction: **1451 → 231** mechanical, **with Tier 3 deferred**. + +The 165 still-fixable items break down as: +- **134 in Tier 3 files** (vite.config.ts, themeConfig.ts, + vitest.config.ts) — explicitly excluded from this session per + the risk-tier policy. +- **31 in Tier 1/2 paths** — second-pass-autofix residue (mainly + 24 `indent` errors in one file, plus `lines-around-comment` + edge cases on Vue SFC `