diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100644 index 31354ec1..00000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/.husky/commit-msg b/.husky/commit-msg index 6e0690f8..0ae4bda5 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,3 +1,4 @@ #!/bin/sh +. "$(dirname "$0")/_/husky.sh" npx --no-install commitlint --edit "${1}" diff --git a/.husky/pre-commit b/.husky/pre-commit index 51e52dec..d37daa07 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,3 +1,4 @@ #!/bin/sh +. "$(dirname "$0")/_/husky.sh" npx --no-install lint-staged