.pre-commit-config.yaml: let prettier handle json

This commit is contained in:
Aminda Suomalainen 2024-05-19 19:13:56 +03:00
parent 4ef12d164b
commit ec4cdeb67f
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -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",