chore: add git pre commit hook

pr675
Hufe921 3 years ago
parent fb78f0a0aa
commit ef9ee07a55

@ -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"
}
}
Loading…
Cancel
Save