mirror of https://gitee.com/answerdev/answer.git
chore(ui): add commit lint
This commit is contained in:
parent
35834dfcb2
commit
ae6598ac41
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
cd ui && pnpm commitlint --edit $1 --config commitlint.config.js
|
|
@ -1,3 +1,3 @@
|
|||
module.exports = {
|
||||
extends: ['@commitlint/routes-conventional'],
|
||||
extends: ['@commitlint/config-conventional'],
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue