Skip to content

Commit

Permalink
fix(husky scripts): remove shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesKyburz committed Sep 22, 2024
1 parent d86b0bb commit 1dc8d69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
#!/bin/sh

#shellcheck disable=SC1090
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit
commitlint --edit
7 changes: 1 addition & 6 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
#!/bin/sh

#shellcheck disable=SC1090
. "$(dirname "$0")/_/husky.sh"

if [ -z "${npm_command}" ]; then
printf "\e[0m\e[1;33mconsider using npx cz or npm run cz instead of git commit\e[0m\n"
fi

npx --no-install lint-staged -r
lint-staged -r

npm run build

0 comments on commit 1dc8d69

Please # to comment.