chore: update husky config for v9 (#13015)

This commit is contained in:
neverland
2024-07-21 17:43:52 +08:00
committed by GitHub
parent 33662b3dea
commit 945f69b453
8 changed files with 6 additions and 26 deletions

View File

@@ -53,7 +53,3 @@ Publish to npm. `build` will be automatically execute when run `release`.
### commit-lint
Validate the format of commit message. Need `husky` to do this.
```bash
npx husky add .husky/commit-msg 'npx --no-install vant-cli commit-lint $1'
```

View File

@@ -55,7 +55,3 @@ npx vant-cli dev
### commit-lint
校验 commit message 的格式是否符合规范,需要配合 `husky` 在提交 commit 时触发。
```bash
npx husky add .husky/commit-msg 'npx --no-install vant-cli commit-lint $1'
```