lint: src/.clang-format

Move to top level so that

    clang-format -style=file

can find it regardless of current directory.
This commit is contained in:
Justin M. Keyes 2017-03-29 17:34:50 +02:00
parent 519224f6bd
commit 67305ffb5d
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ IndentCaseLabels: true
BreakBeforeBraces: Linux BreakBeforeBraces: Linux
AlignEscapedNewlinesLeft: false AlignEscapedNewlinesLeft: false
AllowShortFunctionsOnASingleLine: false AllowShortFunctionsOnASingleLine: false
AlignTrailingComments: true
SpacesBeforeTrailingComments: 2 SpacesBeforeTrailingComments: 2
PenaltyReturnTypeOnItsOwnLine: 200 PenaltyReturnTypeOnItsOwnLine: 200
AllowAllParametersOfDeclarationOnNextLine: false AllowAllParametersOfDeclarationOnNextLine: false
@ -15,4 +16,5 @@ AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false AllowShortLoopsOnASingleLine: false
BinPackParameters: false BinPackParameters: false
BreakBeforeBinaryOperators: true BreakBeforeBinaryOperators: true
BreakBeforeTernaryOperators: true
ContinuationIndentWidth: 4 ContinuationIndentWidth: 4