Skip to content

Commit d76a019

Browse files
authored
pre-commit: validate json files on commit (#12925)
1 parent 5535768 commit d76a019

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ repos:
2222
hooks:
2323
- id: end-of-file-fixer
2424
- id: trailing-whitespace
25+
- id: check-json
26+
files: .*\.(snapshot|validation)\.json
2527

2628
- repo: https://github.com/localstack/pre-commit-hooks
2729
rev: v1.2.1

0 commit comments

Comments
 (0)