Skip to content

Commit 0d49f2d

Browse files
add prettier to pre-commit config
1 parent 54fb0e7 commit 0d49f2d

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
# See https://pre-commit.com for more information
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
4-
- repo: https://github.com/pre-commit/pre-commit-hooks
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
55
rev: v3.2.0
66
hooks:
7-
- id: trailing-whitespace
8-
- id: end-of-file-fixer
9-
- id: check-yaml
10-
- id: check-added-large-files
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-yaml
10+
- id: check-added-large-files
11+
- repo: https://github.com/pre-commit/mirrors-prettier
12+
rev: "" # Use the sha or tag you want to point at
13+
hooks:
14+
- id: prettier

0 commit comments

Comments
 (0)