包详细信息

validate-git-commit-message

wangyun151789Unlicense2.0.1

GIT COMMIT-MSG hook for validating commit message.

git, message validation

自述文件

validate-git-commit-message

Validate rules:

  • [CardNumber] author: commit purpose
  • [CardNumber] author1 & author2: commit purpose

Installation

yarn add -D validate-git-commit-message

How to use

This validate need to be used with Husky . Add this config to package.json

  "scripts": {
     "commitmsg": "validate-git-commit-msg",
     ....
  }

更新日志

v2.0.1 (2017-07-30)

v2.0.0 (2017-07-13)

v1.0.0 (2017-07-13)

v1.0.0 (2017-07-13)