From 786e02cb3e741fd4de1e290047e354754c8c3be1 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Fri, 27 Mar 2026 05:03:58 -0700 Subject: [PATCH] clang-format: Turn off trailing commas in braced lists lint. (#6978) Our codebase does not conform to this rule, and it's causing havoc for automated tooling that tries to "fix" it. --- .clang-format | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-format b/.clang-format index 35b060e87e52..9225257c145c 100644 --- a/.clang-format +++ b/.clang-format @@ -11,6 +11,7 @@ DerivePointerAlignment: 'false' ExperimentalAutoDetectBinPacking: 'false' FixNamespaceComments: 'true' InsertBraces: 'true' +InsertTrailingCommas: None PointerAlignment: Left # We abuse control macros for formatting other kinds of macros. SpaceBeforeParens: ControlStatementsExceptControlMacros