@bluecateng/git-checks
v1.0.2
Published
Validation commands for Git hooks
Readme
git-checks ·

Scripts for use in Git hooks.
Install
$ npm i -D @bluecateng/git-checks huskyUsage
The provided scripts are meant to be used as githooks from husky.
To check commit messages for story numbers use:
# .husky/commit-msg
npx --no-install check-git-msg-story $1# .husky/pre-push
npx --no-install check-git-commits-storyTo check commit messages without story numbers use:
# .husky/commit-msg
npx --no-install check-git-msg $1# .husky/pre-push
npx --no-install check-git-commits