diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b334fde7b0..4a77c432b4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,9 +38,10 @@ repos: - id: flake8 args: [--config=tools/schemacode/setup.cfg] - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.1.0 + rev: 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: src/schema/.*/.*\.yaml - repo: https://github.com/codespell-project/codespell rev: v2.2.6