diff --git a/.husky/_/commit-msg b/.husky/_/commit-msg new file mode 100644 index 0000000..75dfd99 --- /dev/null +++ b/.husky/_/commit-msg @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/husky.sh" + +npx --no-install commitlint --edit $1 diff --git a/.husky/_/pre-commit b/.husky/_/pre-commit new file mode 100644 index 0000000..469b84f --- /dev/null +++ b/.husky/_/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname "$0")/husky.sh" + +pnpm run lint:lint-staged