This commit is contained in:
coward
2024-07-05 14:48:09 +08:00
parent 7f07c29a23
commit 2c1450990b
205 changed files with 23058 additions and 6 deletions

10
web/.husky/pre-commit Normal file
View File

@@ -0,0 +1,10 @@
#!/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