Merge pull request #29 from Wunkolo/clang-format

Add `.clang-format`
This commit is contained in:
wheremyfoodat
2023-06-15 12:00:38 +03:00
committed by GitHub

14
.clang-format Normal file
View File

@@ -0,0 +1,14 @@
BasedOnStyle: Google
IndentWidth: 4
ColumnLimit: 120
AccessModifierOffset: -2
TabWidth: 4
NamespaceIndentation: All
UseTab: ForContinuationAndIndentation
AllowShortEnumsOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
Cpp11BracedListStyle: true
PackConstructorInitializers: BinPack
AlignAfterOpenBracket: BlockIndent