pre-commit 232 B

12345678910
  1. #!/bin/sh
  2. . "$(dirname "$0")/_/husky.sh"
  3. . "$(dirname "$0")/common.sh"
  4. [ -n "$CI" ] && exit 0
  5. PATH="/usr/local/bin:$PATH"
  6. # Perform lint check on files in the staging area through .lintstagedrc configuration
  7. pnpm exec lint-staged