Skip to content

Commit

Permalink
chore: move clang-format to a pre-push hook for now
Browse files Browse the repository at this point in the history
Otherwise husky and pre-commit will fight over your .git/hooks/pre-commit file
  • Loading branch information
alexeagle committed May 26, 2021
1 parent b53a015 commit c8f2621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
},
"husky": {
"hooks": {
"pre-commit": "check-clang-format \"yarn format\"",
"pre-push": "check-clang-format \"yarn format\"",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
Expand Down

0 comments on commit c8f2621

Please sign in to comment.