Skip to content

Commit

Permalink
fix: update husky to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
milosbugarinovic committed Feb 12, 2021
1 parent 58a715c commit 8103631
Show file tree
Hide file tree
Showing 5 changed files with 433 additions and 494 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
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

0 comments on commit 8103631

Please sign in to comment.