You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Story] Turn on the guardrails: strict ESLint, strict tsc and ruff, with a ratchet #33
area: toolingBuild, lint, packaging, CI and repo structure/docsstream: cleanup-refactorEpic #26: deep cleanup and restructuring of the extensiontfmAdds the issue to the TFM board automatically. Do not removeuser-storySub-issue of an epic ([Story] title prefix)
As the maintainer, I want the linters and the compiler to reject the kind of rot this epic removes, so that the codebase stays clean after the cleanup instead of decaying again.
Scope (ROADMAP W3, with §E overrides)
ESLint: scope the parser block and ignores; the five existing rules become errors with --max-warnings 0; no-explicit-any (warn, N = measured); complexity 15, max-depth 4, max-params 5, max-lines-per-function 80, max-lines 600 (warn); type-aware no-floating-promises / no-misused-promises (warn); lint test/, scripts/, configs and the standalone template runtimes.
tsc (in tsconfig.check.json, used by typecheck only): noFallthroughCasesInSwitch, noImplicitReturns, noUnusedParameters with the _ convention; drop DOM from lib only if typecheck is unchanged; checkJs for configs and scripts.
CI: add lint:python, test:analysis and the VSIX listing check.
Acceptance criteria
Each rule lands together with its fallout fixes; the gate is never red between commits.
The warning budget (--max-warnings N) is recorded and only goes down afterwards.
ruff check backend clean.
CI green on Windows, Linux and macOS. Making the jobs required needs a branch-protection change that only the maintainer can do — documented, not done.
Done in #53, merged into v1.2.1 with CI green on Linux, macOS and Windows. ESLint warning budget recorded at 608 (ratchet only lets it go down), ruff check backend clean, all three OSes now block. Left to the maintainer: marking the seven CI jobs as required in branch protection (list in .claude/docs/v1.2.1/sessions/33-guardrails.md).
area: toolingBuild, lint, packaging, CI and repo structure/docsstream: cleanup-refactorEpic #26: deep cleanup and restructuring of the extensiontfmAdds the issue to the TFM board automatically. Do not removeuser-storySub-issue of an epic ([Story] title prefix)
Activity
test(packaging): menu-surface table and the icon-iff-rendered rule
build(python): ruff config and the lint:python script
test(tooling): every npm script's target exists
docs(test): document every test script and directory, with a guard
ci: lint:python and the VSIX listing check; every OS blocks
docs(v1.2.1): session log for #33 (guardrails)
Merge pull request #53 from Code-XR-Project/claude/project-thread-n2s…
aMonteSl commentedon Nov 25, 2026
Done in #53, merged into
v1.2.1with CI green on Linux, macOS and Windows. ESLint warning budget recorded at 608 (ratchet only lets it go down),ruff check backendclean, all three OSes now block. Left to the maintainer: marking the seven CI jobs as required in branch protection (list in.claude/docs/v1.2.1/sessions/33-guardrails.md).Generated by Claude Code
Merge remote-tracking branch 'origin/v1.2.1' into claude/project-thre…
chore(lint): lower the warning budget to the measured 598