Skip to content

Commit 9f0be71

Browse files
committed
Update pre-commit sample for newer prettier
1 parent 65d634e commit 9f0be71

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.pre-commit-config.yaml.sample

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ repos:
88
hooks:
99
- id: flake8
1010
- repo: https://github.com/pre-commit/mirrors-prettier
11-
rev: v2.7.1 # Use the sha or tag you want to point at
11+
rev: v3.1.0
1212
hooks:
13-
- id: prettier
14-
types: [file]
15-
types_or: [javascript, jsx, ts, tsx, vue]
16-
additional_dependencies:
17-
- prettier@2.8.8 # Workaround. See https://github.com/pre-commit/mirrors-prettier/issues/29
13+
- id: prettier
14+
additional_dependencies:
15+
- prettier@3.6.2 # SEE: https://github.com/pre-commit/pre-commit/issues/3133
1816
- repo: https://github.com/pre-commit/pre-commit-hooks
1917
rev: v4.5.0 # Use the ref you want to point at
2018
hooks:

0 commit comments

Comments
 (0)