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

10 lines
232 B
Plaintext
Raw Permalink Normal View History

2021-10-16 16:16:58 +08:00
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"
[ -n "$CI" ] && exit 0
2024-03-09 16:27:52 +08:00
PATH="/usr/local/bin:$PATH"
2021-10-16 16:16:58 +08:00
2024-03-09 16:27:52 +08:00
# Perform lint check on files in the staging area through .lintstagedrc configuration
pnpm exec lint-staged