Skip to content

Commit 4c32558

Browse files
committed
chore: change pre-commit hook for prettier
1 parent 95738b6 commit 4c32558

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@ repos:
1515
- repo: https://github.com/pre-commit/pre-commit-hooks
1616
rev: v5.0.0
1717
hooks:
18+
- id: trailing-whitespace
19+
exclude: .importlinter
1820
- id: check-json
1921
- id: check-added-large-files
2022
- id: check-yaml
23+
- id: check-toml
24+
- id: end-of-file-fixer
25+
exclude: .importlinter
2126

2227
- repo: https://github.com/Woile/commitizen
2328
rev: v4.1.0
@@ -26,8 +31,8 @@ repos:
2631
# don't forget to run pre-commit install --hook-type commit-msg for this hook to run
2732
stages: [commit-msg]
2833

29-
- repo: https://github.com/pre-commit/mirrors-prettier # to format JSON, YAML and markdown files among others
30-
rev: v4.0.0-alpha.8
34+
- repo: https://github.com/rbubley/mirrors-prettier
35+
rev: v3.6.0
3136
hooks:
3237
- id: prettier
3338

0 commit comments

Comments
 (0)