公告板
版本库
filestore
活动
搜索
登录
main
/
flexJobUndertake
灵工承揽端
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
fix: bug
wupengfei
2025-11-13
14f396c8ce2eff17a39c662e8f77a0ee5f32d6fd
[flexJobUndertake.git]
/
.husky
/
pre-commit
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"
[ -n "$CI" ] && exit 0
# Format and submit code according to lintstagedrc.js configuration
npm run lint:lint-staged
# npm run lint:pretty