Skip to content

refactor(desktop): fix anti-slop findings in desktop, mobile and scripts - #39

Merged
nixuuu merged 3 commits into
devfrom
refactor/quality-area-e
Nov 4, 2026
Merged

nixuuu merged 3 commits into
devfrom
refactor/quality-area-e

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 4, 2026

Copy link
Copy Markdown
Member

Code-quality phase 2, area E (docs/code-quality.md): desktop, mobile and root scripts. 129 non-size lint findings → 0 (safety comments 59, runtime typeof 23, unknown parameters 19, value widening 9, unsafe dictionaries 8, conditional empty spreads 3, unknown returns 2, chained assertions 1, unused 5). No lint disables, no behaviour changes; IPC/preload validation at least as strict; release script CLIs unchanged. Size findings (12) are phase 3.

Checks: install, gen:check, typecheck, format:check, web + desktop shell builds, mobile ESLint, bun test scripts/ 10/10, three new desktop configuration boundary tests. Full check:tmp hit flaky linked-computer suites unrelated to this change (being fixed separately).

@nixuuu
nixuuu merged commit fe710bb into dev Nov 4, 2026
2 of 4 checks passed
@nixuuu
nixuuu deleted the refactor/quality-area-e branch November 4, 2026 07:35
nixuuu added a commit that referenced this pull request Nov 4, 2026
Phase 4 of the code-quality refactor (docs/code-quality.md); phases 1–3
are merged (#29, #39–#43, #46, #47–#52) and the whole repo passes `bun
run lint` and `bun run format:check`.

- CI: "Lint" (`bun run lint`: oxlint + anti-slop + size limits) and
"Formatting" (`bun run format:check`: oxfmt) right after the typecheck.
- Root `check` script runs them too.
- AGENTS.md: lint + format in the hand-over checklist and a short "Code
quality" section (boundary parsing over casts, `// SAFETY:` for
remaining assertions, 400/120 size limits never disabled, no repo-wide
`oxlint --fix`).
- docs/code-quality.md: status — all phases done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant