diff --git a/.clang-format b/.clang-format
index 085cde61f9f39a1e97efbeb402b4f2ba306e2b91..e1599848df7a98d8dde48738a3dc52b029462d68 100644
--- a/.clang-format
+++ b/.clang-format
@@ -55,3 +55,4 @@ SpacesInConditionalStatement: false
 SpacesInContainerLiterals: false
 SpacesInParentheses: false
 SpacesInSquareBrackets: false
+PenaltyReturnTypeOnItsOwnLine: 1000