diff options
author | Will Song <jinpengsong@google.com> | 2023-10-27 22:01:20 +0000 |
---|---|---|
committer | Will Song <jinpengsong@google.com> | 2023-10-29 05:49:27 +0000 |
commit | d489eba3dc8fb24ba93679a72d968895a6c65439 (patch) | |
tree | dcae78e492b406a251bba309b69fbf0427a961f0 | |
parent | f4f8ef741b5a5aa2f4940774b7dbcdb9bfe8f8a9 (diff) | |
download | gs101-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.cfg | 2 |
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 |