first commit
This commit is contained in:
6
.husky/commit-msg
Normal file
6
.husky/commit-msg
Normal file
@@ -0,0 +1,6 @@
|
||||
echo Start running commit-msg hook...
|
||||
|
||||
# Check whether the git commit information is standardized
|
||||
pnpm exec commitlint --edit "$1"
|
||||
|
||||
echo Run commit-msg hook done.
|
||||
3
.husky/post-merge
Normal file
3
.husky/post-merge
Normal file
@@ -0,0 +1,3 @@
|
||||
# 每次 git pull 之后, 安装依赖
|
||||
|
||||
pnpm install
|
||||
7
.husky/pre-commit
Normal file
7
.husky/pre-commit
Normal file
@@ -0,0 +1,7 @@
|
||||
# update `.vscode/vben-admin.code-workspace` file
|
||||
pnpm vsh code-workspace --auto-commit
|
||||
|
||||
# Format and submit code according to lintstagedrc.js configuration
|
||||
pnpm exec lint-staged
|
||||
|
||||
echo Run pre-commit hook done.
|
||||
Reference in New Issue
Block a user