@skywire-london/conventional-changelog-commit-hooks

Verifies the commit message matches the Skywire conventional changelog standard

Usage no npm install needed!

<script type="module">
  import skywireLondonConventionalChangelogCommitHooks from 'https://cdn.skypack.dev/@skywire-london/conventional-changelog-commit-hooks';
</script>

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