-
Notifications
You must be signed in to change notification settings - Fork 927
Open
Labels
Description
Expected Behavior
Lint a comment message like "try out commitlint." Two errors are flagged:
Error: You have commit messages with errors
⧗ input: try out commitlint.
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
The "subject-empty" error seems silly: the commit message has a subject, it's "try out commitlint." In my opinion, "subject-empty" should only be raised for messages like "fix:", with a type and nothing else.
Affected packages
- cli
- core
- prompt
- config-angular
CJKay, tim-mc, jpolo, alexilyaev and shanikegyurielf, Congee and sandeeprana191