From 4cd30207905266f9c7a2026f55fcee1d418a3d88 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 13 Nov 2025 21:36:44 -0500 Subject: [PATCH] Meta: Tweak .clang-format to allow single-line arrays in JSON This is consistent with prettier behavior, and at least for annex-h.json (also in the PR containing this commit) much easier to read. --- .clang-format | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.clang-format b/.clang-format index 2ee079f2bba..96d1ae39346 100644 --- a/.clang-format +++ b/.clang-format @@ -31,4 +31,8 @@ ObjCBreakBeforeNestedBlockParam: true ObjCSpaceAfterProperty: true ObjCSpaceBeforeProtocolList: true +--- +Language: Json +BreakArrays: false + ...