From 138db44373c01c4c1e7e8c829a44937dde42730b Mon Sep 17 00:00:00 2001 From: Will Song Date: Fri, 27 Oct 2023 17:55:33 +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: I59436ef5456f9826fe9d2dc76107d65194939418 --- 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