aboutsummaryrefslogtreecommitdiff
path: root/.husky/commit-msg
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-03 11:22:44 -0700
committerFuwn <[email protected]>2021-05-03 11:22:44 -0700
commite9b992f12faf84719bf316731edb96479fb93731 (patch)
treec87557a75a1d0a6a27c33915edbc901a981eaed1 /.husky/commit-msg
parentdocs(main): nice commenting (diff)
downloadwhirl-e9b992f12faf84719bf316731edb96479fb93731.tar.xz
whirl-e9b992f12faf84719bf316731edb96479fb93731.zip
chore(git): finally implement commit message linting
Diffstat (limited to '.husky/commit-msg')
-rw-r--r--.husky/commit-msg4
1 files changed, 4 insertions, 0 deletions
diff --git a/.husky/commit-msg b/.husky/commit-msg
new file mode 100644
index 0000000..0bd658f
--- /dev/null
+++ b/.husky/commit-msg
@@ -0,0 +1,4 @@
+#!/bin/sh
+. "$(dirname "$0")/_/husky.sh"
+
+npx --no-install commitlint --edit "$1"