From 040b76b2e95433879a7e0fadcd7c75a891adf600 Mon Sep 17 00:00:00 2001 From: Will Song Date: Fri, 27 Oct 2023 22:03: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: I8f206409fbee40b6d0a197bb115e5a56653ebf81 --- 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