From 2eb4357a70c6b1b28bc117e518d197b47df7b66c Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 3 Feb 2023 14:07:23 +0000 Subject: [PATCH] trivial: Fix clang-format of JSON files for newer versions of clang This explains why Mario and I had different precommit settings. --- .clang-format | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.clang-format b/.clang-format index 27d9025cd..63ad24965 100644 --- a/.clang-format +++ b/.clang-format @@ -36,6 +36,9 @@ PenaltyBreakBeforeFirstCallParameter: '15' --- Language: 'Proto' --- +Language: 'Json' +BasedOnStyle: llvm +--- Language: 'Cpp' IncludeCategories: - Regex: '^"config.h"$'