mirror of
				https://github.com/FeralInteractive/gamemode.git
				synced 2025-11-03 23:44:09 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			82 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			82 lines
		
	
	
		
			2.4 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
 | 
						|
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: '^"gamemode.h"'
 | 
						|
    Priority: 0
 | 
						|
  - Regex: '^"build-'
 | 
						|
    Priority: 1
 | 
						|
  - Regex: '^"common-'
 | 
						|
    Priority: 2
 | 
						|
  - Regex: '^"gamemode-'
 | 
						|
    Priority: 3
 | 
						|
  - Regex: '^<'
 | 
						|
    Priority: 4
 | 
						|
# 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
 | 
						|
...
 |