mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
0c64aed86a
And set up a Travis job for checking formatting on PRs
35 lines
820 B
YAML
35 lines
820 B
YAML
# full manual is at https://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
|
---
|
|
BasedOnStyle: Microsoft
|
|
|
|
IndentWidth: 4
|
|
UseTab: Never
|
|
|
|
IndentCaseLabels: true
|
|
|
|
AllowAllArgumentsOnNextLine: false
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
|
|
BinPackParameters: false
|
|
BinPackArguments: true
|
|
|
|
# This applies to () [] <>
|
|
AlignAfterOpenBracket: AlwaysBreak
|
|
|
|
# Always break before braces
|
|
BreakBeforeBraces: Allman
|
|
|
|
# return type on it's own line
|
|
AlwaysBreakAfterReturnType: All
|
|
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeParens: ControlStatements
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
SpaceInEmptyParentheses: false
|
|
SpacesBeforeTrailingComments: 1
|
|
SpacesInAngles: false
|
|
SpacesInContainerLiterals: true
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInParentheses: false
|
|
SpacesInSquareBrackets: false
|
|
...
|