From a5a8b1b5cfb6a42f75169ea4d7695001c5ed56b1 Mon Sep 17 00:00:00 2001 From: dangchinh25 Date: Thu, 2 Nov 2023 14:04:20 -0500 Subject: [PATCH] feat: added husky for safety commit-msg --- .husky/commit-msg | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .husky/commit-msg 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"