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 1997364 commit 68b503bCopy full SHA for 68b503b
.husky/pre-commit
@@ -5,7 +5,7 @@ if [ -n "$STAGED_FILES" ]; then
5
echo "Running lint with fix on staged files..."
6
# Run lint on all files (modifies files in the working directory)
7
yarn lint --fix
8
- npx prettier --write $STAGED_FILES || true # skip files that don't have valid parsers
+ yarn prettier:write
9
10
echo "Re-adding originally staged files to the staging area..."
11
# Re-add only the originally staged files
0 commit comments