project-layout/.husky/pre-commit

5 lines
73 B
Bash
Executable File

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run format && git add -A .