Files
SOP/sop-admin/sop-admin-frontend/.husky/pre-commit
六如 c08fec74c9 5.0
2024-10-04 21:48:38 +08:00

10 lines
232 B
Bash
Executable File

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"
[ -n "$CI" ] && exit 0
PATH="/usr/local/bin:$PATH"
# Perform lint check on files in the staging area through .lintstagedrc configuration
pnpm exec lint-staged