Skip to content

Conversation

@anandbhaskaran
Copy link

Enhances validation error output to help developers quickly identify and fix commit message issues. Each validation function now provides specific details about what failed and how to correct it.

Changes include:

  • Add line numbers to structure validation errors
  • Show actual vs expected values for all validation failures
  • Include character counts for length violations
  • Provide actionable fix instructions and examples
  • Add clear ERROR prefixes for better visibility

This reduces back-and-forth when commits fail validation and improves the developer experience.

Enhances validation error output to help developers quickly identify
and fix commit message issues. Each validation function now provides
specific details about what failed and how to correct it.

Changes include:
- Add line numbers to structure validation errors
- Show actual vs expected values for all validation failures
- Include character counts for length violations
- Provide actionable fix instructions and examples
- Add clear ERROR prefixes for better visibility

This reduces back-and-forth when commits fail validation and improves
the developer experience.
@anandbhaskaran anandbhaskaran requested review from a team and lumautomation as code owners January 8, 2026 08:48
@anandbhaskaran anandbhaskaran deleted the chore/verbose-errors branch January 8, 2026 08:50
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