@plasma-platform/tm-message-hook

2.0.14 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @plasma-platform/tm-message-hook

Weekly Downloads

1

Version

2.0.14

License

CC-BY-4.0

Unpacked Size

1.97 kB

Total Files

3

Last publish

Collaborators

  • alienmonster
  • ch-tm
  • viram