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: Ia302d5aa13328ca4e0c7c2c8b10bf54c2542a1ff
This commit is contained in:
Will Song 2023-10-27 21:56:19 +00:00
parent f60b0e874f
commit 89c02823d2

2
PREUPLOAD.cfg Normal file
View file

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