wireguard-dashboard/web/.husky/pre-commit

10 lines
232 B
Plaintext
Raw Normal View History

2024-07-05 14:48:09 +08:00
#!/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