Skip to content

Commit

Permalink
move types:check to pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Apr 29, 2022
1 parent 12c972e commit 0223e0d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn types:check"
"pre-commit": "lint-staged && yarn types:check"
}
},
"lint-staged": {
Expand Down

0 comments on commit 0223e0d

Please sign in to comment.