Skip to content

Commit

Permalink
chore: Remove unnecessary script parts from Git hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
nioe committed Aug 2, 2024
1 parent 7c1562f commit dbeb9ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh
# Commented this line since it seems to produce an infinite loop in [email protected]
# . "$(dirname "$0")/h"

commitlint --edit $1
4 changes: 0 additions & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
#!/bin/sh
# Commented this line since it seems to produce an infinite loop in [email protected]
# . "$(dirname "$0")/h"

prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
git update-index --again

0 comments on commit dbeb9ac

Please sign in to comment.