.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] #args: [--remove]
- id: mixed-line-ending - id: mixed-line-ending
args: [--fix=auto] args: [--fix=auto]
- id: pretty-format-json #- id: pretty-format-json
args: #args:
[--autofix, --no-ensure-ascii] # [--autofix, --no-ensure-ascii]
#- id: requirements-txt-fixer #- id: requirements-txt-fixer
- repo: https://github.com/pre-commit/sync-pre-commit-deps - repo: https://github.com/pre-commit/sync-pre-commit-deps
rev: v0.0.1 rev: v0.0.1
@ -71,7 +71,6 @@ repos:
rev: "v3.2.5" rev: "v3.2.5"
hooks: hooks:
- id: prettier - id: prettier
exclude_types: [json]
additional_dependencies: [ additional_dependencies: [
# https://www.npmjs.com/package/prettier # https://www.npmjs.com/package/prettier
"prettier@3.2.5", "prettier@3.2.5",