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(cli): add --show-position flag to display error location
Adds a new --show-position CLI option that displays a position indicator
(~~~) under the commit input to show exactly where the error occurs,
similar to TypeScript's red squiggly lines.
This helps users quickly identify the problematic part of their commit
message.
Features:
- Add optional start/end position fields to LintRuleOutcome and FormattableProblem
- Add getRulePosition() helper to calculate error positions for various rules
- Add showPosition option to FormatOptions
- Add --show-position CLI flag (opt-in, default false)
- Add tests for position indicator in format package
- Update config-conventional tests to use toMatchObject for backward compatibility
0 commit comments