Skip to content

Commit 1ede5cb

Browse files
committed
Add a git pre-commit hook running clang-format
1 parent bb66b97 commit 1ede5cb

File tree

3 files changed

+498
-3
lines changed

3 files changed

+498
-3
lines changed

.clang-format

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Standard: Cpp11
2-
UseTab: ForIndentation
2+
UseTab: Always
33
TabWidth: 1
44
IndentWidth: 1
55
AccessModifierOffset: -1
66
PointerAlignment: Left
77
NamespaceIndentation: All
88
ColumnLimit: 0
99
BreakBeforeBraces: Allman
10-
BreakConstructorInitializersBeforeComma: true
10+
BreakConstructorInitializersBeforeComma: false
1111
BreakBeforeBinaryOperators: false
1212
BreakBeforeTernaryOperators: false
1313
AlwaysBreakTemplateDeclarations: true
@@ -20,7 +20,7 @@ Cpp11BracedListStyle: true
2020
IndentCaseLabels: false
2121
SortIncludes: false
2222
ReflowComments: true
23-
AlignConsecutiveAssignments: true
23+
AlignConsecutiveAssignments: false
2424
AlignTrailingComments: true
2525
AlignAfterOpenBracket: false
2626
ConstructorInitializerAllOnOneLineOrOnePerLine: false

0 commit comments

Comments
 (0)