Skip to content

Commit 72506d2

Browse files
authored
Update .pre-commit-config.yaml
1 parent cd458a2 commit 72506d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ repos:
1818
- id: mixed-line-ending
1919
args: ["--fix=lf"]
2020
- id: pretty-format-json
21-
args: ["--autofix", "--no-sort-keys"]
22-
files: "$.json"
21+
args: ["--autofix", "--indent=2", "--no-sort-keys"]
22+
files: \.json$
2323
- id: trailing-whitespace
2424

2525
- repo: https://github.com/astral-sh/ruff-pre-commit

0 commit comments

Comments
 (0)