From dff205931d94de346adc516de8cc0ba2f2b2541b Mon Sep 17 00:00:00 2001 From: Ahmad Bilal Date: Fri, 30 Aug 2024 18:47:42 +0500 Subject: [PATCH] fix: remove deprecated commands from husky hooks --- .husky/commit-msg | 3 --- .husky/pre-commit | 2 -- .husky/pre-push | 2 -- 3 files changed, 7 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index 95a9609..990bd0b 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx --no -- commitlint --edit "$1" \ No newline at end of file diff --git a/.husky/pre-commit b/.husky/pre-commit index bc3a724..c3e7db7 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,6 +1,4 @@ #!/bin/sh -. "$(dirname "$0")/_/husky.sh" - # Run linting npm run lint diff --git a/.husky/pre-push b/.husky/pre-push index 2c7e6cc..ce52888 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,4 +1,2 @@ #!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npm run build \ No newline at end of file