Skip to content

docs(frontend): add TypeScript error baseline and delta-check script (#5096)#5825

Merged
mrveiss merged 1 commit intoDev_new_guifrom
issue-5096
Apr 24, 2026
Merged

docs(frontend): add TypeScript error baseline and delta-check script (#5096)#5825
mrveiss merged 1 commit intoDev_new_guifrom
issue-5096

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Apr 24, 2026

Summary

  • New docs/developer/audits/typescript-baseline.md: current baseline is 2,005 errors (issue cited 169 — that was an earlier partial count); breakdown by error code (top: TS7006=772, TS2307=686, TS2339=331) and by file (top: PopoutChromiumBrowser.vue=170, App.vue=105)
  • New autobot-frontend/scripts/check-ts-delta.sh: runs npx vue-tsc --noEmit -p tsconfig.app.json, compares count against Total: in baseline doc, exits 1 if new errors introduced (prints delta), exits 0 otherwise

Test Plan

  • bash autobot-frontend/scripts/check-ts-delta.sh exits 0 on clean checkout
  • Introducing a deliberate TS error causes the script to exit 1
  • Baseline doc renders correctly in GitHub markdown

Closes #5096

🤖 Generated with Claude Code

…5096)

Baseline audit run 2026-04-24 on Dev_new_gui: 2005 errors total (top codes:
TS7006 772, TS2307 686, TS2339 331). Script reads Total: from baseline doc
and exits 1 when current error count exceeds baseline.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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