chore(commitlint): add commitlint in project

This commit is contained in:
落小梅 2021-10-12 11:55:57 +08:00
commit 2f60961261
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
pnpx --no-install commitlint --edit ""
pnpx pretty-quick --staged
#pnpx lint-staged
pnpx lint-staged

View File

@ -175,4 +175,4 @@ export {
install,
}
export default { install }
export default { install }