conventional-changelog-archived-repos / validate-commit-msg

DEPRECATED. Use https://github.com/marionebl/commitlint instead. githook to validate commit messages are up to standard
http://conventionalcommits.org/
MIT License
557 stars 100 forks source link

feat(helpMessage): show valid types when invalid type was used #40

Closed zetlen closed 8 years ago

zetlen commented 8 years ago

I'm always forgetting the list of custom types or the exact wording of the type, so here's a little something to show them if you got the type wrong.

13:12 jzetlen@work $ g acm "doc: whoops, forgot the 's' on 'docs'"

INVALID COMMIT MSG: "doc" is not allowed type ! Valid types are: feat, fix, docs, style, refactor, perf, test, chore, revert, tech
doc: whoops, forgot the 's' on 'docs'
codecov-io commented 8 years ago

Current coverage is 100% (diff: 100%)

Merging #40 into master will not change coverage

@@           master   #40   diff @@
===================================
  Files           1     1          
  Lines          88    88          
  Methods         0     0          
  Messages        0     0          
  Branches        0     0          
===================================
  Hits           88    88          
  Misses          0     0          
  Partials        0     0          

Powered by Codecov. Last update d8a2d19...e5d892a