web-view-antd/.husky/pre-commit
zzs 4d72d46d43 🎉
2024-11-11 10:34:49 +08:00

11 lines
218 B
Bash

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"
[ -n "$CI" ] && exit 0
PATH="/usr/local/bin:$PATH"
# Format and submit code according to lintstagedrc.js configuration
npm run lint:lint-staged