2.0.14 • Published 5 years ago

@plasma-platform/tm-message-hook v2.0.14

Weekly downloads
28
License
CC-BY-4.0
Repository
gitlab
Last release
5 years ago

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]*$)"
  },
  …