README
conventional changelog commit-msg hook
Verifies the commit message matches the Skywire conventional changelog standard
Requirements
node 12
Installation
npm install --global @skywire-london/conventional-changelog-commit-hooks
Get your global module install path:
npm root -g
Configure git to use hooks
mkdir -p ~/.git-templates/hooks/
git config --global core.hooksPath ~/.git-templates/hooks/
Symlink or move this script into your hooks directory
ln -s [not_root]/@skywire-london/conventional-changelog-commit-hooks/index.js ~/.git-templates/hooks/commit-msg
Make the script executable
chmod +x ~/.git-templates/hooks/commit-msg