@bluecateng/git-checks

1.0.0 • Public • Published

Git checks

Scripts for use in Git hooks.

Install

$ npm i -D @bluecateng/git-checks husky

Usage

The provided scripts are meant to be used as githooks from husky.

To check commit messages for story numbers use:

{
	"husky": {
		"hooks": {
			"commit-msg": "check-git-msg-story",
			"pre-push": "check-git-commits-story"
		}
	}
}

To check commit messages without story numbers use:

{
	"husky": {
		"hooks": {
			"commit-msg": "check-git-msg",
			"pre-push": "check-git-commits"
		}
	}
}

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i @bluecateng/git-checks

    Weekly Downloads

    48

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    6.37 kB

    Total Files

    15

    Last publish

    Collaborators

    • jcestibariz
    • chinanwu