Skip to content

Commit

Permalink
chore: add git pre commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Hufe921 committed Apr 22, 2023
1 parent fb78f0a commit ef9ee07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"prismjs": "^1.27.0"
},
"simple-git-hooks": {
"pre-commit": "npm run lint && npm run type:check",
"commit-msg": "node scripts/verifyCommit.js"
}
}

0 comments on commit ef9ee07

Please sign in to comment.