Skip to content

Commit 6ff1dd1

Browse files
committed
Enable the temporary workaround for prettier/prettier#15742
1 parent d6b8e22 commit 6ff1dd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ repos:
2727
rev: v4.0.0-alpha.3
2828
hooks:
2929
- id: prettier
30+
entry: env PRETTIER_LEGACY_CLI=1 prettier
3031
types_or: [javascript, css]
3132
args:
32-
- --trailing-comma=es5
33+
- --trailing-comma=es5
3334
- repo: https://github.com/pre-commit/mirrors-eslint
3435
rev: v8.55.0
3536
hooks:

0 commit comments

Comments
 (0)