Rungs 4 and 5 of the anti-slop ladder (#1160): enable anti-slop/no-unknown-returns and anti-slop/no-chained-type-assertions at error repo-wide and fix every baseline violation (73 + 126 sites measured 2026-08-24 with the rule-only config-copy method) without suppressions — named return types instead of leaking unknown; assertion chains replaced by real narrowing (type guards, Object.assign(new Error…), ts-morph Node.isX guards, faithful route mocks).
Acceptance: both rules at error in .oxlintrc.json; pnpm lint 0 errors repo-wide at the PR tip (including sites added to develop after the baseline); no oxlint-disable; full front test + typecheck green; PR body records before/after counts and a probe proving the plugin fires.
Part of #1160.
Rungs 4 and 5 of the anti-slop ladder (#1160): enable
anti-slop/no-unknown-returnsandanti-slop/no-chained-type-assertionsaterrorrepo-wide and fix every baseline violation (73 + 126 sites measured 2026-08-24 with the rule-only config-copy method) without suppressions — named return types instead of leakingunknown; assertion chains replaced by real narrowing (type guards,Object.assign(new Error…), ts-morphNode.isXguards, faithful route mocks).Acceptance: both rules at error in
.oxlintrc.json;pnpm lint0 errors repo-wide at the PR tip (including sites added to develop after the baseline); nooxlint-disable; full front test + typecheck green; PR body records before/after counts and a probe proving the plugin fires.Part of #1160.