Added unenforced autoformatter (#235)

This commit is contained in:
Ryan Butler
2023-05-16 11:14:45 -04:00
committed by GitHub
parent 34870e08f3
commit ab6d42642c
2 changed files with 27 additions and 0 deletions

24
.clang-format Executable file
View File

@@ -0,0 +1,24 @@
---
BasedOnStyle: Google
AccessModifierOffset: -4
AlignAfterOpenBracket: BlockIndent
AlignOperands: AlignAfterOperator
AlignTrailingComments: false
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: All
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
ColumnLimit: 88
DerivePointerAlignment: false
IndentWidth: 4
InsertBraces: true
InsertTrailingCommas: Wrapped
PackConstructorInitializers: Never
TabWidth: 4
UseTab: ForContinuationAndIndentation

3
lib/.clang-format Normal file
View File

@@ -0,0 +1,3 @@
---
DisableFormat: true
SortIncludes: Never