format 342 B

123456789101112
  1. #!/usr/bin/env bash
  2. set -e
  3. cd "$(dirname "$0")/.."
  4. echo "==> Running eslint --fix"
  5. ./node_modules/.bin/eslint --fix .
  6. echo "==> Running prettier --write"
  7. # format things eslint didn't
  8. ./node_modules/.bin/prettier --write --cache --cache-strategy metadata . '!**/dist' '!**/*.ts' '!**/*.mts' '!**/*.cts' '!**/*.js' '!**/*.mjs' '!**/*.cjs'