We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66a99c6 commit a0ad802Copy full SHA for a0ad802
.husky/pre-commit
@@ -3,7 +3,7 @@ validate-branch-name
3
echo "### lint staged files ###"
4
lint-staged
5
echo "### prettify staged files ###"
6
-prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
+prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's|( |&)|\\ |g') --write --ignore-unknown
7
git update-index --again
8
echo "### check for commit mail ###"
9
node ./scripts/check-commit-mail.mjs
0 commit comments