From 278583922ff003f6f9143b1246e32b6ecf75d64a Mon Sep 17 00:00:00 2001 From: Will Song Date: Fri, 27 Oct 2023 18:02:06 +0000 Subject: [PATCH] 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: I2fc6b4cddb8d8da6c72023bd7dc3a580104d6802 --- PREUPLOAD.cfg | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 PREUPLOAD.cfg diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg new file mode 100644 index 0000000..37ebb5e --- /dev/null +++ b/PREUPLOAD.cfg @@ -0,0 +1,2 @@ +[Builtin Hooks] +jsonlint = true