pre-commit 210 B

12345678910
  1. #!/bin/sh
  2. . "$(dirname "$0")/_/husky.sh"
  3. . "$(dirname "$0")/common.sh"
  4. [ -n "$CI" ] && exit 0
  5. # Format and submit code according to lintstagedrc.js configuration
  6. npm run lint:lint-staged
  7. npm run lint:pretty