MeterSphere/frontend/.husky/pre-commit

5 lines
99 B
Bash
Executable File

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
cd frontend && npm run type:check && npm run lint-staged