🪮 Adds clang format

This commit is contained in:
Rune Harlyk
2024-07-09 19:41:08 +02:00
committed by Rune Harlyk
parent 68789de008
commit 767e828332
+16
View File
@@ -0,0 +1,16 @@
BasedOnStyle: Google
TabWidth: 4
IndentWidth: 4
UseTab: Never
ColumnLimit: 120
PointerAlignment: Left
SpaceBeforeParens: ControlStatements
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
AllowShortLoopsOnASingleLine: true
SpacesBeforeTrailingComments: 1
SortIncludes: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: true
AccessModifierOffset: -2