rickvanlieshout.com/.husky/pre-commit

6 lines
75 B
Bash
Executable File

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run lint:staged
npm run test