From f44bb969c9775c73cfc1cf6b54c615c0cce67a1f Mon Sep 17 00:00:00 2001 From: "bert.hausmans" Date: Wed, 29 Apr 2026 11:15:16 +0200 Subject: [PATCH] docs: WS-3 session 1b-i lint baseline audit report MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Categorises remaining apps/app eslint problems after the Tier 1 + Tier 2 autofix and whitespace cleanup. Six buckets: - X. Tier 3 deferred (vite.config.ts, themeConfig.ts, vitest.config.ts) — 134 - A. Trivial-fix (second-pass autofix residue + unused imports) — 42 - B. Type safety (mostly no-explicit-any in vendored Vuexy code) — 34 - C. Style preference / rule-config — 8 - D. Vuetify / Vuexy idiom (ml-/pl- restricted-class) — 5 - E. Bug-shaped (security, isAxiosError, missing-return, fire-and-forget) — 8 Sum check: 134 + 42 + 34 + 8 + 5 + 8 = 231 ✓ Five open questions for Bert + Claude Chat decisions before 1b-ii: - Should src/@core/** + src/@layouts/** be in ignorePatterns? - vue/no-restricted-class regex scope (RTL-aware vs ml/pl only)? - Stance on vue/prefer-true-attribute-shorthand? - Bucket E.5 axios fire-and-forget pattern (void / .catch / disable)? - Decoupling pnpm lint from --fix? Lint baseline: 1451 → 231 this session, with Tier 3 (134) + non-fixable (66) + second-pass-residue (31) deferred to 1b-ii. Co-Authored-By: Claude Opus 4.7 --- .../WS-3-LINT-BASELINE-AUDIT-2026-04-29.md | 521 ++++++++++++++++++ 1 file changed, 521 insertions(+) create mode 100644 dev-docs/WS-3-LINT-BASELINE-AUDIT-2026-04-29.md 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 `