pre-commit 159 B

123456
  1. #!/bin/sh
  2. . "$(dirname "$0")/_/husky.sh"
  3. # 运行 lint:style 和 format
  4. pnpm run lint:style && pnpm run format
  5. echo "pre-commit: lint:style and format passed"