From d4b06289c3e15491733d16e98104252d0669ddc6 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 7 Dec 2025 01:20:39 +0100 Subject: [PATCH] clang-format: Add new KeepEmptyLines option --- .clang-format | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index cdd0327c0..ca001716f 100644 --- a/.clang-format +++ b/.clang-format @@ -130,7 +130,10 @@ InsertBraces: false InsertTrailingCommas: None JavaScriptQuotes: Leave JavaScriptWrapImports: true -KeepEmptyLinesAtTheStartOfBlocks: true +KeepEmptyLines: + AtEndOfFile: true + AtStartOfBlock: true + AtStartOfFile: true LambdaBodyIndentation: Signature MacroBlockBegin: '' MacroBlockEnd: ''