Skip to content

Commit ea7d29b

Browse files
committed
style: Update pre-commit rules
1 parent 5ca093c commit ea7d29b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ repos:
3030
- id: forbid-new-submodules
3131
- id: mixed-line-ending
3232
- id: trailing-whitespace
33+
- id: pretty-format-json
34+
args:
35+
- '--autofix'
36+
- '--no-sort-keys'
37+
exclude: (package-lock|capitals|proj|states|data)\.json
3338
- repo: https://github.com/pre-commit/pygrep-hooks
3439
rev: v1.10.0
3540
hooks:

0 commit comments

Comments
 (0)