@plasma-platform/tm-message-hook
v2.0.14
Published
Check commit message format
Downloads
15
Readme
Commit message format checker
Use inside package.json with husky like this:
…
"scripts": {
"commitmsg": "commit-msg ${GIT_PARAMS} -r (^[A-Z]+-[0-9]+\s-\s[\W\w\s]{5,}[\s]*$|^lock[\s]*$|^((m|M)erge[\w\W\s]*)|^[\d]+(.[\d]+)?(.[\d]+)?[\s]*$)"
},
…