From 964b597d692565d3f511fdddc9ea0e01288192e6 Mon Sep 17 00:00:00 2001 From: Will Song Date: Fri, 27 Oct 2023 16:47:26 +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: 12779489 Change-Id: I78d605bb33e88a0d2f26a3dc3250e72cd8a96673 --- 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..3826687 --- /dev/null +++ b/PREUPLOAD.cfg @@ -0,0 +1,2 @@ +[Builtin Hooks] +jsonlint = true \ No newline at end of file