This commit is contained in:
2026-09-28 15:27:49 +08:00
commit 28fda43317
169 changed files with 14931 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
if [ "$OS" = "Windows_NT" ]; then
npx.cmd --no-install commitlint -e $GIT_PARAMS
else
npx --no-install commitlint -e $GIT_PARAMS
fi
+1
View File
@@ -0,0 +1 @@
lint-staged
+11
View File
@@ -0,0 +1,11 @@
case "$(uname -a)" in
*MINGW64*) exit 0 ;;
esac
[ -n "$CI" ] && exit 0
if [ "$OS" = "Windows_NT" ]; then
exec < /dev/tty && npx.cmd git-cz --hook || true
else
exec < /dev/tty && npx git-cz --hook || true
fi