Skip to content

Commit

Permalink
Temporary workaround for prettier/prettier#15742
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanv committed Dec 4, 2023
1 parent b5f006b commit 15ce9ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ repos:
rev: 1bedde25f5cae9b6e8799b161ccc3ab401f421bd # frozen: v4.0.0-alpha.3
hooks:
- id: prettier
entry: env PRETTIER_LEGACY_CLI=1 prettier # temporary fix for https://github.com/prettier/prettier/issues/15742
files: \.(html|md|toml|yml|yaml)
args: [--prose-wrap=preserve]

Expand Down

0 comments on commit 15ce9ee

Please sign in to comment.