Skip to content

Commit 89c9031

Browse files
authored
Only use prettier for javascript (#2484)
Problem: Prettier is trying to format all the files Solution: Only use prettier on javascript files.
1 parent 6566581 commit 89c9031

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ repos:
3535
rev: v3.3.3
3636
hooks:
3737
- id: prettier
38+
types:
39+
- javascript
3840

3941
- repo: https://github.com/golangci/golangci-lint
4042
rev: v1.60.3

0 commit comments

Comments
 (0)