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
commit cd77acdd28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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