Skip to content

Commit

Permalink
chore(packages): update husky to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Mar 1, 2021
1 parent 8b41338 commit bf7657a
Show file tree
Hide file tree
Showing 7 changed files with 116 additions and 236 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
6 changes: 6 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run lint:scripts
npm run lint
npx --no-install 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 test
7 changes: 0 additions & 7 deletions .huskyrc.json

This file was deleted.

Loading

0 comments on commit bf7657a

Please sign in to comment.