mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			191 lines
		
	
	
		
			5.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			191 lines
		
	
	
		
			5.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| Language:        Cpp
 | |
| # BasedOnStyle:  Mozilla
 | |
| AccessModifierOffset: -4
 | |
| AlignAfterOpenBracket: BlockIndent
 | |
| AlignArrayOfStructures: Left
 | |
| AlignConsecutiveMacros: false 
 | |
| AlignConsecutiveAssignments: false 
 | |
| AlignConsecutiveBitFields: false 
 | |
| AlignConsecutiveDeclarations: false
 | |
| AlignEscapedNewlines: Left
 | |
| AlignOperands:   AlignAfterOperator
 | |
| AlignTrailingComments: false
 | |
| AllowAllArgumentsOnNextLine: true
 | |
| AllowAllParametersOfDeclarationOnNextLine: false
 | |
| AllowShortEnumsOnASingleLine: false
 | |
| AllowShortBlocksOnASingleLine: Never
 | |
| AllowShortCaseLabelsOnASingleLine: false
 | |
| AllowShortFunctionsOnASingleLine: Empty
 | |
| AllowShortLambdasOnASingleLine: None
 | |
| AllowShortIfStatementsOnASingleLine: Never
 | |
| AllowShortLoopsOnASingleLine: false
 | |
| AlwaysBreakAfterDefinitionReturnType: None
 | |
| AlwaysBreakAfterReturnType: None
 | |
| AlwaysBreakBeforeMultilineStrings: true
 | |
| AlwaysBreakTemplateDeclarations: Yes
 | |
| AttributeMacros:
 | |
|   - __capability
 | |
| BinPackArguments: false
 | |
| BinPackParameters: false
 | |
| BraceWrapping:
 | |
|   AfterCaseLabel:  false
 | |
|   AfterClass:      true
 | |
|   AfterControlStatement: Never
 | |
|   AfterEnum:       true
 | |
|   AfterFunction:   true
 | |
|   AfterNamespace:  false
 | |
|   AfterObjCDeclaration: false
 | |
|   AfterStruct:     true
 | |
|   AfterUnion:      true
 | |
|   AfterExternBlock: true
 | |
|   BeforeCatch:     false
 | |
|   BeforeElse:      false
 | |
|   BeforeLambdaBody: false
 | |
|   BeforeWhile:     false
 | |
|   IndentBraces:    false
 | |
|   SplitEmptyFunction: false
 | |
|   SplitEmptyRecord: false
 | |
|   SplitEmptyNamespace: false
 | |
| BreakBeforeBinaryOperators: None
 | |
| BreakBeforeConceptDeclarations: true
 | |
| BreakBeforeBraces: Allman
 | |
| BreakBeforeInheritanceComma: false
 | |
| BreakInheritanceList: BeforeComma
 | |
| BreakBeforeTernaryOperators: true
 | |
| BreakConstructorInitializersBeforeComma: false
 | |
| BreakConstructorInitializers: BeforeComma
 | |
| BreakAfterJavaFieldAnnotations: false
 | |
| BreakStringLiterals: true
 | |
| ColumnLimit:     160
 | |
| CommentPragmas:  '^ IWYU pragma:'
 | |
| QualifierAlignment: Left
 | |
| CompactNamespaces: false
 | |
| ConstructorInitializerIndentWidth: 4
 | |
| ContinuationIndentWidth: 4
 | |
| Cpp11BracedListStyle: true
 | |
| DeriveLineEnding: true
 | |
| DerivePointerAlignment: false
 | |
| DisableFormat:   false
 | |
| EmptyLineAfterAccessModifier: Never
 | |
| EmptyLineBeforeAccessModifier: LogicalBlock
 | |
| ExperimentalAutoDetectBinPacking: false
 | |
| PackConstructorInitializers: BinPack
 | |
| BasedOnStyle:    ''
 | |
| ConstructorInitializerAllOnOneLineOrOnePerLine: false
 | |
| AllowAllConstructorInitializersOnNextLine: true
 | |
| FixNamespaceComments: false
 | |
| ForEachMacros:
 | |
|   - foreach
 | |
|   - Q_FOREACH
 | |
|   - BOOST_FOREACH
 | |
| IfMacros:
 | |
|   - KJ_IF_MAYBE
 | |
| IncludeBlocks: Preserve
 | |
| IncludeCategories:
 | |
|   # Precompiled header
 | |
|   - Regex:           '"StdInc\.h"'
 | |
|     Priority:        0
 | |
|     SortPriority:    -1
 | |
| IncludeIsMainRegex: '(Test)?$'
 | |
| IncludeIsMainSourceRegex: ''
 | |
| IndentAccessModifiers: false
 | |
| IndentCaseLabels: true
 | |
| IndentCaseBlocks: false
 | |
| IndentGotoLabels: true
 | |
| IndentPPDirectives: AfterHash
 | |
| IndentExternBlock: AfterExternBlock
 | |
| IndentRequires:  false
 | |
| IndentWidth:     4
 | |
| IndentWrappedFunctionNames: false
 | |
| InsertTrailingCommas: None
 | |
| JavaScriptQuotes: Leave
 | |
| JavaScriptWrapImports: true
 | |
| KeepEmptyLinesAtTheStartOfBlocks: true
 | |
| LambdaBodyIndentation: Signature
 | |
| MacroBlockBegin: ''
 | |
| MacroBlockEnd:   ''
 | |
| MaxEmptyLinesToKeep: 1
 | |
| NamespaceIndentation: None
 | |
| ObjCBinPackProtocolList: Auto
 | |
| ObjCBlockIndentWidth: 4
 | |
| ObjCBreakBeforeNestedBlockParam: true
 | |
| ObjCSpaceAfterProperty: true
 | |
| ObjCSpaceBeforeProtocolList: false
 | |
| PenaltyBreakAssignment: 2
 | |
| PenaltyBreakBeforeFirstCallParameter: 19
 | |
| PenaltyBreakComment: 300
 | |
| PenaltyBreakFirstLessLess: 120
 | |
| PenaltyBreakOpenParenthesis: 0
 | |
| PenaltyBreakString: 1000
 | |
| PenaltyBreakTemplateDeclaration: 10
 | |
| PenaltyExcessCharacter: 1000000
 | |
| PenaltyReturnTypeOnItsOwnLine: 200
 | |
| PenaltyIndentedWhitespace: 0
 | |
| PointerAlignment: Middle
 | |
| PPIndentWidth:   -1
 | |
| ReferenceAlignment: Pointer
 | |
| ReflowComments:  false
 | |
| RemoveBracesLLVM: false
 | |
| SeparateDefinitionBlocks: Leave
 | |
| ShortNamespaceLines: 1
 | |
| SortIncludes:    CaseSensitive
 | |
| SortJavaStaticImport: Before
 | |
| SortUsingDeclarations: true
 | |
| SpaceAfterCStyleCast: false
 | |
| SpaceAfterLogicalNot: false
 | |
| SpaceAfterTemplateKeyword: false
 | |
| SpaceBeforeAssignmentOperators: true
 | |
| SpaceBeforeCaseColon: false
 | |
| SpaceBeforeCpp11BracedList: false
 | |
| SpaceBeforeCtorInitializerColon: true
 | |
| SpaceBeforeInheritanceColon: true
 | |
| SpaceBeforeParens: Never
 | |
| SpaceBeforeParensOptions:
 | |
|   AfterControlStatements: true
 | |
|   AfterForeachMacros: true
 | |
|   AfterFunctionDefinitionName: false
 | |
|   AfterFunctionDeclarationName: false
 | |
|   AfterIfMacros:   true
 | |
|   AfterOverloadedOperator: false
 | |
|   BeforeNonEmptyParentheses: false
 | |
| SpaceAroundPointerQualifiers: Default
 | |
| SpaceBeforeRangeBasedForLoopColon: true
 | |
| SpaceInEmptyBlock: false
 | |
| SpaceInEmptyParentheses: false
 | |
| SpacesBeforeTrailingComments: 1
 | |
| SpacesInAngles:  Never
 | |
| SpacesInConditionalStatement: false
 | |
| SpacesInContainerLiterals: true
 | |
| SpacesInCStyleCastParentheses: false
 | |
| SpacesInLineCommentPrefix:
 | |
|   Minimum:         0
 | |
|   Maximum:         -1
 | |
| SpacesInParentheses: false
 | |
| SpacesInSquareBrackets: false
 | |
| SpaceBeforeSquareBrackets: false
 | |
| BitFieldColonSpacing: Both
 | |
| Standard:        Latest
 | |
| StatementAttributeLikeMacros:
 | |
|   - FALLTHROUGH
 | |
|   - STRONG_INLINE
 | |
|   - DLL_EXPORT
 | |
|   - DLL_IMPORT
 | |
|   - ELF_VISIBILITY
 | |
|   - Q_EMIT
 | |
| StatementMacros:
 | |
|   - Q_UNUSED
 | |
|   - QT_REQUIRE_VERSION
 | |
| TabWidth:        4
 | |
| UseCRLF:         false
 | |
| UseTab:          ForContinuationAndIndentation 
 | |
| WhitespaceSensitiveMacros:
 | |
|   - STRINGIZE
 | |
|   - PP_STRINGIZE
 | |
|   - BOOST_PP_STRINGIZE
 | |
|   - NS_SWIFT_NAME
 | |
|   - CF_SWIFT_NAME
 | |
| ...
 | |
| 
 | |
| 
 |