From f464c30152d02d0945d6c16014fb181a6a60f022 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Mon, 11 Apr 2022 08:43:28 +0100 Subject: [PATCH 1/2] chore(.husky): remove unnecessary .gitignore [skip-ci] --- .husky/.gitignore | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .husky/.gitignore diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100644 index 31354ec1..00000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ From ce2ed3ee141e46c65238f377dfb751652fcd7ed4 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 15 Apr 2022 14:11:06 +0100 Subject: [PATCH 2/2] chore(.husky): add husky source [skip-ci] --- .husky/commit-msg | 1 + .husky/pre-commit | 1 + 2 files changed, 2 insertions(+) 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