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
feat: add --show-errors flag to show detailed compiler errors (#41)
* refactor: extract argument parsing into separate module
Moves CLI argument parsing logic into src/args.mts with unit tests.
Prepares for adding new flags without complicating index.mts.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* feat: add --show-errors flag to show detailed compiler errors
Adds a --show-errors flag that works with --check-files to display
exact violation reasons and line numbers instead of just counts.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* feat: pass --show-errors to all commands
The --show-errors flag was parsed but only used with --check-files.
Now it works with all commands: default check-all, --overwrite, and
--stage-record-file.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* refactor: organize integration tests by CLI flag
Group tests into describe blocks by flag category for better readability:
- no flag (default check-all)
- --check-files
- --overwrite
- --stage-record-file
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix: dedupe verbose error output and show occurrence counts
Consolidate duplicate errors by line and reason, displaying a count
suffix (e.g., "x3") instead of repeating the same error multiple times.
Extract formatErrorDetails() helper to reduce code duplication.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* docs: add --show-errors flag to README
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* refactor: make showErrors parameter required in checkErrorChanges
All callers pass this parameter explicitly, so making it required
improves type consistency.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments