summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Song <jinpengsong@google.com>2023-10-27 22:01:20 +0000
committerWill Song <jinpengsong@google.com>2023-10-29 05:49:27 +0000
commitd489eba3dc8fb24ba93679a72d968895a6c65439 (patch)
treedcae78e492b406a251bba309b69fbf0427a961f0
parentf4f8ef741b5a5aa2f4940774b7dbcdb9bfe8f8a9 (diff)
downloadgs101-d489eba3dc8fb24ba93679a72d968895a6c65439.tar.gz
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: I70ad38f73a4fea908442b4411e3aa7ffbaeb7d88
-rw-r--r--PREUPLOAD.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
new file mode 100644
index 00000000..37ebb5e7
--- /dev/null
+++ b/PREUPLOAD.cfg
@@ -0,0 +1,2 @@
+[Builtin Hooks]
+jsonlint = true