From b35f10fa540562e8c524ec31ae51e3d4fb139214 Mon Sep 17 00:00:00 2001 From: nerix Date: Sat, 30 Mar 2024 14:50:58 +0100 Subject: [PATCH] chore: require newline at EOF (#5278) --- .clang-format | 1 + CHANGELOG.md | 1 + 2 files changed, 2 insertions(+) diff --git a/.clang-format b/.clang-format index 0feaad9dc..cfbe49d31 100644 --- a/.clang-format +++ b/.clang-format @@ -50,3 +50,4 @@ PointerBindsToType: false SpacesBeforeTrailingComments: 2 Standard: Auto ReflowComments: false +InsertNewlineAtEOF: true diff --git a/CHANGELOG.md b/CHANGELOG.md index b3b0c0500..d89ebd1ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -198,6 +198,7 @@ - Dev: Adapted `magic_enum` to Qt's Utf-16 strings. (#5258) - Dev: `NetworkManager`'s statics are now created in its `init` method. (#5254) - Dev: `clang-tidy` CI now uses Qt 6. (#5273) +- Dev: Enabled `InsertNewlineAtEOF` in `clang-format`. (#5278) ## 2.4.6