Skip to content

Commit

Permalink
feat(husky): upgrade husky to v7 🐶
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakkulkarni committed Jul 22, 2021
1 parent 883ea65 commit 85e1b97
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run lint-staged
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"

npm run lint
7 changes: 0 additions & 7 deletions husky.config.js

This file was deleted.

0 comments on commit 85e1b97

Please sign in to comment.