PackwizJS/.husky/pre-commit
cswimr e590637919
Some checks failed
Actions / Build and Push Documentation (push) Failing after 9s
chore(repo): add husky and prettier git hook
2025-02-12 15:22:07 -06:00

3 lines
172 B
Text

echo "Running prettier on pre-commit hook"
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
git update-index --again