chore(frontend): 接入 ESLint、Prettier 与 Vitest 质量门禁
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if [[ "${SKIP_CHECKS:-0}" == "1" ]]; then
|
||||
echo "[pre-push] SKIP_CHECKS=1,跳过检查"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
exec bash "${ROOT_DIR}/scripts/check.sh"
|
||||
Reference in New Issue
Block a user