From 23f909d33d5ee58cbf093191518939fbf72c6b70 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sun, 12 Dec 2021 19:15:48 +0100 Subject: build: add tools to enforce some code/commit rules --- .husky/commit-msg | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 .husky/commit-msg (limited to '.husky/commit-msg') 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 -- cgit v1.2.3