@skywire-london/conventional-changelog-commit-hooks
v2.0.1
Published
Verifies the commit message matches the Skywire conventional changelog standard
Downloads
3
Keywords
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
Configure git to use hooks
mkdir -p ~/.git-templates/hooks/
git config --global core.hooksPath ~/.git-templates/hooks/
Symlink this script into your hooks directory
ln -s $(npm root -g)/@skywire-london/conventional-changelog-commit-hooks/index.js ~/.git-templates/hooks/conventional-changelog-commit-hooks
Make the script executable
chmod +x ~/.git-templates/hooks/conventional-changelog-commit-hooks