Skip to content

Commit

Permalink
chore: enable commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysparry committed Oct 6, 2024
1 parent e2c08af commit ec14db0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .commitlint/hooks/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

if ! type commitlint >/dev/null 2>/dev/null; then
echo ""
echo "commitlint could not be found"
echo "try again after installing commitlint or add commitlint to PATH"
echo ""
exit 2;
fi

commitlint lint --message $1

0 comments on commit ec14db0

Please sign in to comment.