Open
Description
It would be beneficial to developers workflow to not have to interpret what the error means.
Current Behavior
Currently this is what we are seeing
husky > npm run -s commitmsg (node v6.11.3)
⧗ input: should fail
✖ message may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
husky > commit-msg hook failed (add --no-verify to bypass)
Expected Behavior
Something to this effect seems like a better output to me ...
husky > npm run -s commitmsg (node v6.11.3)
**Format**
type[(scope)]: subject
[body]
[footer]
**Acceptable Values***
- Types: 'build' , 'chore' , 'ci' , 'docs' , 'feat' , 'etc...'
- Scopes: 'ANY' *MUST be lower-case*
- Subject: 'ANY' *MUST NOT be pascal-case sentence-case or camel-case*
- Body: 'Any' *etc ...*
- Footer: 'Any' *etc ...*
⧗ input: should fail
✖ message may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
husky > commit-msg hook failed (add --no-verify to bypass)
Also being consitent with the following:
message may not be empty [subject-empty]
SHOULD BE
subject may not be empty [subject-empty]
Affected packages
- [ x] cli
- [ x] core
- [ x] prompt
- [ x] config-angular
Possible Solution
Simply add more information to the output messages.
Context
Workflow