From ec4cdeb67f3860a8a95c43182abae8099e4e8edf Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 19 May 2024 19:13:56 +0300 Subject: [PATCH] .pre-commit-config.yaml: let prettier handle json --- .pre-commit-config.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a23c981..b146d10 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,10 +38,10 @@ repos: #args: [--remove] - id: mixed-line-ending args: [--fix=auto] - - id: pretty-format-json - args: - [--autofix, --no-ensure-ascii] - #- id: requirements-txt-fixer + #- id: pretty-format-json + #args: + # [--autofix, --no-ensure-ascii] + #- id: requirements-txt-fixer - repo: https://github.com/pre-commit/sync-pre-commit-deps rev: v0.0.1 @@ -71,7 +71,6 @@ repos: rev: "v3.2.5" hooks: - id: prettier - exclude_types: [json] additional_dependencies: [ # https://www.npmjs.com/package/prettier "prettier@3.2.5",