mirror of
https://github.com/PaiGramTeam/telegram-bot-api.git
synced 2024-11-24 09:15:07 +00:00
149 lines
4.4 KiB
YAML
149 lines
4.4 KiB
YAML
---
|
|
Language: Cpp
|
|
# BasedOnStyle: Google
|
|
AccessModifierOffset: -1
|
|
AlignAfterOpenBracket: Align
|
|
AlignArrayOfStructures: None
|
|
AlignConsecutiveMacros: None
|
|
AlignConsecutiveAssignments: None
|
|
AlignConsecutiveBitFields: None
|
|
AlignConsecutiveDeclarations: None
|
|
AlignEscapedNewlines: Left
|
|
AlignOperands: Align
|
|
AlignTrailingComments: true
|
|
AllowAllArgumentsOnNextLine: true
|
|
AllowAllConstructorInitializersOnNextLine: true
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
AllowShortBlocksOnASingleLine: Never
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
AllowShortEnumsOnASingleLine: true
|
|
AllowShortFunctionsOnASingleLine: None # All
|
|
AllowShortIfStatementsOnASingleLine: Never # WithoutElse
|
|
AllowShortLambdasOnASingleLine: Inline # All
|
|
AllowShortLoopsOnASingleLine: false # true
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakBeforeMultilineStrings: true
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
BinPackArguments: true
|
|
BinPackParameters: true
|
|
BitFieldColonSpacing: Both
|
|
BraceWrapping:
|
|
AfterCaseLabel: false
|
|
AfterClass: false
|
|
AfterControlStatement: Never
|
|
AfterEnum: false
|
|
AfterFunction: false
|
|
AfterNamespace: false
|
|
AfterObjCDeclaration: false
|
|
AfterStruct: false
|
|
AfterUnion: false
|
|
AfterExternBlock: false
|
|
BeforeCatch: false
|
|
BeforeElse: false
|
|
BeforeLambdaBody: false
|
|
BeforeWhile: false
|
|
IndentBraces: false
|
|
SplitEmptyFunction: true
|
|
SplitEmptyRecord: true
|
|
SplitEmptyNamespace: true
|
|
BreakBeforeBinaryOperators: None
|
|
BreakBeforeBraces: Attach
|
|
BreakBeforeConceptDeclarations: true
|
|
BreakBeforeInheritanceComma: true # false
|
|
BreakInheritanceList: BeforeComma # BeforeColon
|
|
BreakBeforeTernaryOperators: true
|
|
BreakConstructorInitializersBeforeComma: true # false
|
|
BreakConstructorInitializers: BeforeComma # BeforeColon
|
|
# BreakAfterJavaFieldAnnotations: false
|
|
BreakStringLiterals: true
|
|
ColumnLimit: 120 # 80
|
|
CommentPragmas: '^ IWYU pragma:'
|
|
CompactNamespaces: false
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
ConstructorInitializerIndentWidth: 4
|
|
ContinuationIndentWidth: 4
|
|
Cpp11BracedListStyle: true
|
|
DeriveLineEnding: true
|
|
DerivePointerAlignment: true
|
|
DisableFormat: false
|
|
EmptyLineAfterAccessModifier: Never
|
|
EmptyLineBeforeAccessModifier: LogicalBlock
|
|
ExperimentalAutoDetectBinPacking: false
|
|
FixNamespaceComments: true
|
|
ForEachMacros:
|
|
- Q_FOREACH_THIS_LIST_MUST_BE_NON_EMPTY
|
|
IncludeBlocks: Preserve
|
|
IncludeCategories:
|
|
- Regex: '.*'
|
|
Priority: 0
|
|
IndentAccessModifiers: false
|
|
IndentCaseBlocks: false
|
|
IndentCaseLabels: true
|
|
IndentExternBlock: AfterExternBlock
|
|
IndentGotoLabels: true
|
|
IndentPPDirectives: None
|
|
IndentRequires: false
|
|
IndentWidth: 2
|
|
IndentWrappedFunctionNames: false
|
|
# InsertTrailingCommas: None
|
|
# JavaScriptQuotes: Leave
|
|
# JavaScriptWrapImports: true
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
LambdaBodyIndentation: Signature
|
|
MacroBlockBegin: ''
|
|
MacroBlockEnd: ''
|
|
MaxEmptyLinesToKeep: 1
|
|
NamespaceIndentation: None
|
|
# ObjCBinPackProtocolList: Never
|
|
# ObjCBlockIndentWidth: 2
|
|
# ObjCBreakBeforeNestedBlockParam: true
|
|
# ObjCSpaceAfterProperty: false
|
|
# ObjCSpaceBeforeProtocolList: true
|
|
PenaltyBreakAssignment: 2
|
|
PenaltyBreakBeforeFirstCallParameter: 1
|
|
PenaltyBreakComment: 300
|
|
PenaltyBreakFirstLessLess: 120
|
|
PenaltyBreakString: 1000
|
|
PenaltyBreakTemplateDeclaration: 10
|
|
PenaltyExcessCharacter: 1000000
|
|
PenaltyIndentedWhitespace: 0
|
|
PenaltyReturnTypeOnItsOwnLine: 200
|
|
PointerAlignment: Right
|
|
PPIndentWidth: -1
|
|
ReferenceAlignment: Pointer
|
|
ReflowComments: false # true
|
|
ShortNamespaceLines: 0 # 1
|
|
SortIncludes: CaseInsensitive # CaseSensitive
|
|
# SortJavaStaticImport: Before
|
|
SortUsingDeclarations: false # true
|
|
SpaceAfterCStyleCast: false
|
|
SpaceAfterLogicalNot: false
|
|
SpaceAfterTemplateKeyword: true
|
|
SpaceAroundPointerQualifiers: Default
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeCaseColon: false
|
|
SpaceBeforeCpp11BracedList: false
|
|
SpaceBeforeCtorInitializerColon: true
|
|
SpaceBeforeInheritanceColon: true
|
|
SpaceBeforeParens: ControlStatements
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
SpaceBeforeSquareBrackets: false
|
|
SpaceInEmptyBlock: false
|
|
SpaceInEmptyParentheses: false
|
|
SpacesBeforeTrailingComments: 2
|
|
SpacesInAngles: Never
|
|
SpacesInConditionalStatement: false
|
|
SpacesInContainerLiterals: true
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInLineCommentPrefix:
|
|
Minimum: 1
|
|
Maximum: 1 # -1
|
|
SpacesInParentheses: false
|
|
SpacesInSquareBrackets: false
|
|
Standard: Auto
|
|
TabWidth: 100 # 8
|
|
UseCRLF: false
|
|
UseTab: Never
|
|
...
|