mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-12-18 08:12:32 +01:00
.pre-commit-config.yaml: let prettier handle json
This commit is contained in:
parent
4ef12d164b
commit
ec4cdeb67f
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user