fix:添加代码的git提交规范
This commit is contained in:
3
.husky/commit-msg
Normal file
3
.husky/commit-msg
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
npx --no-install commitlint --edit "$1"
|
||||
3
.husky/pre-commit
Normal file
3
.husky/pre-commit
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
npx lint-staged
|
||||
Reference in New Issue
Block a user