From 107379aa435061a66e5a4fb3328b1ceb8108e3e0 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Mon, 23 Nov 2020 23:03:54 -0600 Subject: [PATCH] chore(format): configure more clang-format rules --- .clang-format | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.clang-format b/.clang-format index 66ca46b..bc461ef 100644 --- a/.clang-format +++ b/.clang-format @@ -10,6 +10,7 @@ BreakBeforeBraces: Attach BreakBeforeTernaryOperators: true BreakConstructorInitializers: BeforeComma ColumnLimit: 0 +CompactNamespaces: false ContinuationIndentWidth: 4 Cpp11BracedListStyle: false DeriveLineEnding: false @@ -34,9 +35,15 @@ ObjCSpaceAfterProperty: false ObjCSpaceBeforeProtocolList: false PointerAlignment: Left SortIncludes: true +SpaceAfterCStyleCast: false +SpaceAfterLogicalNot: false +SpaceAfterTemplateKeyword: true +SpaceBeforeAssignmentOperators: true +SpaceBeforeCpp11BracedList: true SpaceBeforeCtorInitializerColon: true SpaceBeforeInheritanceColon: true SpaceBeforeParens: ControlStatements +SpaceBeforeSquareBrackets: false SpaceInEmptyBlock: false SpacesInAngles: false SpacesInCStyleCastParentheses: false