al-quran.reflectslight.io/.husky/pre-commit
0x1eef dedef4a40e Update .husky/pre-commit
Avoid "git add ." - it can check in files you might not
intend to commit.
2023-07-25 14:20:44 -03:00

4 lines
104 B
Bash
Executable file

#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm run prettier || exit 1
npm run eslint || exit 1