mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +00:00
chore: update husky config for v9 (#13015)
This commit is contained in:
@@ -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'
|
||||
```
|
||||
|
@@ -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'
|
||||
```
|
||||
|
Reference in New Issue
Block a user