oa_front/.husky/pre-commit

8 lines
159 B
Plaintext
Raw Permalink Normal View History

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