Skip to content

Commit

Permalink
Stop prettier from printing list of checked files
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend committed Aug 14, 2024
1 parent 8d74ab0 commit db2fd22
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ repos:
"types": [text]
language: system
pass_filenames: true
entry: pnpm exec prettier --write --ignore-unknown
# Set log-level to error to prevent prettier printing every single file it checks
# when running pre-commit with --all-files
entry: pnpm exec prettier --write --ignore-unknown --log-level error

- id: eslint
name: eslint
Expand Down

0 comments on commit db2fd22

Please sign in to comment.