pre-commit 218 B

1234567891011
  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. # Format and submit code according to lintstagedrc.js configuration
  7. npm run lint:lint-staged