aboutsummaryrefslogtreecommitdiff
path: root/.husky
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-03 11:22:44 +0000
committerFuwn <[email protected]>2021-05-03 11:22:44 +0000
commit8b00cf609c7e9597f9cc5b9280e2df12080d999a (patch)
tree46a539ee65c26de77022de40443623e53f19eb3d /.husky
parentdocs(main): nice commenting (diff)
downloadwhirl-8b00cf609c7e9597f9cc5b9280e2df12080d999a.tar.xz
whirl-8b00cf609c7e9597f9cc5b9280e2df12080d999a.zip
chore(git): finally implement commit message linting
Diffstat (limited to '.husky')
-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"