summaryrefslogtreecommitdiff
path: root/PREUPLOAD.cfg
diff options
context:
space:
mode:
authorWill Song <jinpengsong@google.com>2023-10-27 17:55:33 +0000
committerWill Song <jinpengsong@google.com>2023-10-29 07:20:33 +0000
commit138db44373c01c4c1e7e8c829a44937dde42730b (patch)
treebf39370abd5731ed9fb0e5654146a21ab8b76eb0 /PREUPLOAD.cfg
parentae5df6c5a3228f450189be167ef1203477db950b (diff)
downloadlynx-138db44373c01c4c1e7e8c829a44937dde42730b.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: I59436ef5456f9826fe9d2dc76107d65194939418
Diffstat (limited to 'PREUPLOAD.cfg')
-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 0000000..37ebb5e
--- /dev/null
+++ b/PREUPLOAD.cfg
@@ -0,0 +1,2 @@
+[Builtin Hooks]
+jsonlint = true