Skip to content

Commit

Permalink
feat(git-hooks): adds support for pre-commit and pre-push git hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
ShankhadeepBanerjee committed Apr 18, 2022
1 parent b880614 commit 02da419
Show file tree
Hide file tree
Showing 4 changed files with 2,956 additions and 24,586 deletions.
7 changes: 7 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

cd mis
npm run fix
npm run lint
git add -A
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

cd mis
Loading

0 comments on commit 02da419

Please sign in to comment.