diff options
author | Will Song <jinpengsong@google.com> | 2023-10-27 18:02:06 +0000 |
---|---|---|
committer | Will Song <jinpengsong@google.com> | 2023-10-29 06:11:23 +0000 |
commit | 278583922ff003f6f9143b1246e32b6ecf75d64a (patch) | |
tree | 44552b607e8e7e9d8f588c784417ce58f05ea922 /PREUPLOAD.cfg | |
parent | 1304fd7a3b1031a444a041c0baae8c8f1d5c9f17 (diff) | |
download | shusky-278583922ff003f6f9143b1246e32b6ecf75d64a.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: I2fc6b4cddb8d8da6c72023bd7dc3a580104d6802
Diffstat (limited to 'PREUPLOAD.cfg')
-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 0000000..37ebb5e --- /dev/null +++ b/PREUPLOAD.cfg @@ -0,0 +1,2 @@ +[Builtin Hooks] +jsonlint = true |