Skip to content

Commit c33a88c

Browse files
committed
feat: limit prettier to specific files...
... to improve performance
1 parent ffc9020 commit c33a88c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ repos:
3333
hooks:
3434
- id: prettier
3535
args: ["--tab-width", "2"]
36+
files: ".(css|html|js|json|md|toml|yaml)$"
3637
- repo: https://github.com/asottile/pyupgrade
3738
rev: v3.19.1
3839
hooks:

0 commit comments

Comments
 (0)