mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-01 13:17:21 +02:00
79 lines
2.3 KiB
YAML
79 lines
2.3 KiB
YAML
---
|
|
AccessModifierOffset: 0
|
|
AlignAfterOpenBracket: true
|
|
AlignConsecutiveAssignments: false
|
|
AlignConsecutiveDeclarations: false
|
|
AlignEscapedNewlinesLeft: false
|
|
AlignOperands: true
|
|
AlignTrailingComments: true
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
AllowShortBlocksOnASingleLine: false
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
AllowShortFunctionsOnASingleLine: None
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
AllowShortLoopsOnASingleLine: false
|
|
# AlwaysBreakAfterDefinitionReturnType: None
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakBeforeMultilineStrings: true
|
|
AlwaysBreakTemplateDeclarations: false
|
|
BinPackArguments: false
|
|
BinPackParameters: true
|
|
BreakBeforeBinaryOperators: None
|
|
BreakBeforeBraces: Linux
|
|
BreakBeforeTernaryOperators: true
|
|
BreakConstructorInitializersBeforeComma: false
|
|
# Too new for travis clang-format version
|
|
# BreakStringLiterals: false
|
|
ColumnLimit: 100
|
|
CommentPragmas: '\*\<'
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
ConstructorInitializerIndentWidth: 4
|
|
ContinuationIndentWidth: 4
|
|
Cpp11BracedListStyle: false
|
|
DerivePointerAlignment: false
|
|
DisableFormat: false
|
|
ExperimentalAutoDetectBinPacking: false
|
|
ForEachMacros: [ ]
|
|
SortIncludes: true
|
|
# IncludeBlocksStyle changed to IncludeBlocks, between xenial and disco, so we can't use it for consistency
|
|
# IncludeBlocks: Regroup
|
|
IncludeCategories:
|
|
- Regex: '^<linux\/'
|
|
Priority: 0
|
|
- Regex: '^<'
|
|
Priority: 1
|
|
- Regex: '^"gamemode.h"'
|
|
Priority: 2
|
|
- Regex: '^"'
|
|
Priority: 3
|
|
# IncludeIsMainRegex: (project doesn't use a main includes that can add other includes via regex)
|
|
IndentCaseLabels: false
|
|
IndentWidth: 4
|
|
IndentWrappedFunctionNames: false
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
Language: Cpp
|
|
MacroBlockBegin: ''
|
|
MacroBlockEnd: ''
|
|
MaxEmptyLinesToKeep: 1
|
|
NamespaceIndentation: None
|
|
PenaltyBreakBeforeFirstCallParameter: 400
|
|
PenaltyBreakComment: 0
|
|
PenaltyBreakString: 500
|
|
PenaltyExcessCharacter: 10000
|
|
PenaltyReturnTypeOnItsOwnLine: 600
|
|
PointerAlignment: Right
|
|
ReflowComments: true
|
|
SpaceAfterCStyleCast: false
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeParens: ControlStatements
|
|
SpaceInEmptyParentheses: false
|
|
SpacesBeforeTrailingComments: 1
|
|
SpacesInAngles: false
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInParentheses: false
|
|
SpacesInSquareBrackets: false
|
|
Standard: Cpp11
|
|
TabWidth: 4
|
|
UseTab: ForIndentation
|
|
...
|