Skip to content

Commit 54a635d

Browse files
authored
Replace prettier mirror in pre-commit (#2464)
Problem: pre-commit/mirrors-prettier was archived without any explanation and it previously stopped using the right tags. Solution: replace it with a fork, rbubley/mirrors-prettier
1 parent 964877f commit 54a635d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,10 @@ repos:
3131
hooks:
3232
- id: gitleaks
3333

34-
- repo: https://github.com/pre-commit/mirrors-prettier
35-
rev: v4.0.0-alpha.8
34+
- repo: https://github.com/rbubley/mirrors-prettier
35+
rev: v3.3.3
3636
hooks:
3737
- id: prettier
38-
additional_dependencies:
39-
- prettier@3.3.1 # https://github.com/pre-commit/pre-commit/issues/3133
40-
types:
41-
- javascript
4238

4339
- repo: https://github.com/golangci/golangci-lint
4440
rev: v1.60.3

0 commit comments

Comments
 (0)