mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-12-18 16:22:30 +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]
|
#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",
|
||||||
|
Loading…
Reference in New Issue
Block a user