localhost_oa_based/.husky/pre-commit

8 lines
159 B
Plaintext
Raw Normal View History

2024-02-28 08:32:35 +08:00
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
#推送之前运行eslint检查
npx lint-staged
##推送之前运行单元测试检查
#npm run test:unit