Browse Source

lint: src/.clang-format

Move to top level so that

    clang-format -style=file

can find it regardless of current directory.
tags/v0.3.2
Justin M. Keyes 2 years ago
parent
commit
67305ffb5d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      .clang-format

src/.clang-format → .clang-format View File

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

Loading…
Cancel
Save