.pre-commit-config.yaml: exclude json from prettier

This commit is contained in:
Aminda Suomalainen 2023-10-22 20:25:06 +03:00
parent be8aad014b
commit 9a1965279d
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -69,6 +69,7 @@ repos:
rev: "v3.0.3" rev: "v3.0.3"
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.0.3", "prettier@3.0.3",