公告板
版本库
filestore
活动
搜索
登录
main
/
JYBIndependentFront
江佑保前端
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
release: v2.2.0
zhengyiming
2025-07-01
b7d0f181a047a0a744d7a845e906b1f856e424b2
[JYBIndependentFront.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