PREUPLOAD: Enforce jsonlint in preupload

Checks syntax and simple brace balances for all JSON files.

Test: Edit any json file and try upload
Bug: 127794899
Change-Id: Iebacfabc26a9ef4e3b31875ca46ff3537d7c4c3a
This commit is contained in:
Will Song 2023-10-27 21:45:05 +00:00
parent 22f016683a
commit 6dea0185b9

2
PREUPLOAD.cfg Normal file
View file

@ -0,0 +1,2 @@
[Builtin Hooks]
jsonlint = true