opensource-nepal/commitlint

Display specific error type during conventional commit validation mismatched

Closed this issue · 0 comments

aj3sh commented

The current validation only displays the error message: "Commit message does not follow conventional commits format." This message is challenging to understand as it does not pinpoint the exact error.

A more effective validation error could be provided, including specific details such as:

  • Type is missing
  • Scope cannot be empty
  • Header must not contain line breaks
  • etc.

These errors will assist in identifying the specific issue during the validation process.