This repository has been archived on 2025-03-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
PackwizJS/.husky/pre-commit

4 lines
172 B
Text
Raw Permalink Normal View History

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