Skip to content

Commit

Permalink
Revert "remove pretty-format-json format in favor of using prettier"
Browse files Browse the repository at this point in the history
This reverts commit ba72cda.
  • Loading branch information
BobanL committed Dec 26, 2024
1 parent 7893e8b commit 7cc560d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ repos:
args: [--fix]
# Run the formatter.
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: pretty-format-json
args: [--autofix, --no-sort-keys]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: "v9.16.0"
hooks:
Expand All @@ -29,6 +34,7 @@ repos:
rev: v4.0.0-alpha.8
hooks:
- id: prettier
types_or: [css, javascript, tsx, ts, yaml]
- repo: local
hooks:
# run `terraform fmt` if tf files are modified and terraform is installed
Expand All @@ -48,6 +54,6 @@ ci:
autoupdate_branch: ""
autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate"
autoupdate_schedule: weekly
skip: [pretty-terraform-fmt]
skip: [pretty-format-json, terraform-fmt]
submodules: false
exclude: examples/*

0 comments on commit 7cc560d

Please sign in to comment.