aboutsummaryrefslogtreecommitdiffstats
path: root/.husky/commit-msg
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-12 19:15:48 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-12 19:17:13 +0100
commit23f909d33d5ee58cbf093191518939fbf72c6b70 (patch)
tree246b873318fffe52fbd40c7496d0baf6f07cb9ba /.husky/commit-msg
parentdf69949ebe244465b5baa7d1b91a2ed161b4827a (diff)
build: add tools to enforce some code/commit rules
Diffstat (limited to '.husky/commit-msg')
-rwxr-xr-x.husky/commit-msg4
1 files changed, 4 insertions, 0 deletions
diff --git a/.husky/commit-msg b/.husky/commit-msg
new file mode 100755
index 0000000..e8511ea
--- /dev/null
+++ b/.husky/commit-msg
@@ -0,0 +1,4 @@
+#!/bin/sh
+. "$(dirname "$0")/_/husky.sh"
+
+npx --no-install commitlint --edit $1