{bash,zsh}rc: include the flags for prettier

This commit is contained in:
Aminda Suomalainen 2024-06-06 20:24:52 +03:00
parent 29dc1af193
commit 3a429cc0c7
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 2 additions and 2 deletions

View File

@ -584,7 +584,7 @@ if hash pnpm 2>/dev/null; then
alias npx=pnpx
alias pnpmx=pnpx
if ! hash prettier 2>/dev/null; then
alias prettier="pnpm exec prettier"
alias prettier="pnpm exec prettier --cache --ignore-unknown"
fi
fi

View File

@ -574,7 +574,7 @@ if hash pnpm 2>/dev/null; then
alias npx=pnpx
alias pnpmx=pnpx
if ! hash prettier 2>/dev/null; then
alias prettier="pnpm exec prettier"
alias prettier="pnpm exec prettier --cache --ignore-unknown"
fi
fi