mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-29 13:45:49 +01:00
195 lines
5.5 KiB
YAML
195 lines
5.5 KiB
YAML
---
|
|
Language: Cpp
|
|
# BasedOnStyle: Google
|
|
AccessModifierOffset: -1
|
|
AlignAfterOpenBracket: Align
|
|
AlignArrayOfStructures: None
|
|
AlignConsecutiveAssignments:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
PadOperators: true
|
|
AlignConsecutiveBitFields:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
PadOperators: false
|
|
AlignConsecutiveDeclarations:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
PadOperators: false
|
|
AlignConsecutiveMacros:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
PadOperators: false
|
|
AlignEscapedNewlines: Left
|
|
AlignOperands: Align
|
|
AlignTrailingComments:
|
|
Kind: Always
|
|
OverEmptyLines: 0
|
|
AllowAllArgumentsOnNextLine: 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
|
|
# AttributeMacros:
|
|
# - __capability
|
|
BinPackArguments: true
|
|
BinPackParameters: true
|
|
BitFieldColonSpacing: Both
|
|
BraceWrapping:
|
|
AfterCaseLabel: false
|
|
AfterClass: false
|
|
AfterControlStatement: Never
|
|
AfterEnum: false
|
|
AfterExternBlock: false
|
|
AfterFunction: false
|
|
AfterNamespace: false
|
|
AfterObjCDeclaration: false
|
|
AfterStruct: false
|
|
AfterUnion: false
|
|
BeforeCatch: false
|
|
BeforeElse: false
|
|
BeforeLambdaBody: false
|
|
BeforeWhile: false
|
|
IndentBraces: false
|
|
SplitEmptyFunction: true
|
|
SplitEmptyRecord: true
|
|
SplitEmptyNamespace: true
|
|
BreakAfterAttributes: Never
|
|
# BreakAfterJavaFieldAnnotations: false
|
|
BreakArrays: true
|
|
BreakBeforeBinaryOperators: None
|
|
BreakBeforeBraces: Attach
|
|
BreakBeforeConceptDeclarations: Always
|
|
BreakBeforeInlineASMColon: OnlyMultiline
|
|
BreakBeforeTernaryOperators: true
|
|
BreakConstructorInitializers: BeforeComma # BeforeColon
|
|
BreakInheritanceList: BeforeComma # BeforeColon
|
|
BreakStringLiterals: true
|
|
ColumnLimit: 120 # 80
|
|
CommentPragmas: '^ IWYU pragma:'
|
|
CompactNamespaces: false
|
|
ConstructorInitializerIndentWidth: 4
|
|
ContinuationIndentWidth: 4
|
|
Cpp11BracedListStyle: 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
|
|
IndentRequiresClause: true
|
|
IndentWidth: 2
|
|
IndentWrappedFunctionNames: false
|
|
InsertBraces: false
|
|
InsertNewlineAtEOF: false
|
|
# InsertTrailingCommas: None
|
|
IntegerLiteralSeparator:
|
|
Binary: 0
|
|
Decimal: 0
|
|
Hex: 0
|
|
# JavaScriptQuotes: Leave
|
|
# JavaScriptWrapImports: true
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
LambdaBodyIndentation: Signature
|
|
LineEnding: DeriveLF
|
|
MacroBlockBegin: ''
|
|
MacroBlockEnd: ''
|
|
MaxEmptyLinesToKeep: 1
|
|
NamespaceIndentation: None
|
|
# ObjCBinPackProtocolList: Never
|
|
# ObjCBlockIndentWidth: 2
|
|
# ObjCBreakBeforeNestedBlockParam: true
|
|
# ObjCSpaceAfterProperty: false
|
|
# ObjCSpaceBeforeProtocolList: true
|
|
PackConstructorInitializers: NextLine
|
|
PenaltyBreakAssignment: 2
|
|
PenaltyBreakBeforeFirstCallParameter: 1
|
|
PenaltyBreakComment: 300
|
|
PenaltyBreakFirstLessLess: 120
|
|
PenaltyBreakOpenParenthesis: 0
|
|
PenaltyBreakString: 1000
|
|
PenaltyBreakTemplateDeclaration: 10
|
|
PenaltyExcessCharacter: 1000000
|
|
PenaltyIndentedWhitespace: 0
|
|
PenaltyReturnTypeOnItsOwnLine: 200
|
|
PointerAlignment: Right # Left
|
|
PPIndentWidth: -1
|
|
QualifierAlignment: Leave
|
|
ReferenceAlignment: Pointer
|
|
ReflowComments: false # true
|
|
RemoveBracesLLVM: false
|
|
RemoveSemicolon: false
|
|
RequiresClausePosition: OwnLine
|
|
RequiresExpressionIndentation: OuterScope
|
|
SeparateDefinitionBlocks: Leave
|
|
ShortNamespaceLines: 0 # 1
|
|
SortIncludes: CaseInsensitive # CaseSensitive
|
|
# SortJavaStaticImport: Before
|
|
SortUsingDeclarations: Lexicographic # LexicographicNumeric
|
|
SpaceAfterCStyleCast: false
|
|
SpaceAfterLogicalNot: false
|
|
SpaceAfterTemplateKeyword: true
|
|
SpaceAroundPointerQualifiers: Default
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeCaseColon: false
|
|
SpaceBeforeCpp11BracedList: false
|
|
SpaceBeforeCtorInitializerColon: true
|
|
SpaceBeforeInheritanceColon: true
|
|
SpaceBeforeParens: ControlStatements
|
|
SpaceBeforeParensOptions:
|
|
AfterControlStatements: true
|
|
AfterForeachMacros: true
|
|
AfterFunctionDefinitionName: false
|
|
AfterFunctionDeclarationName: false
|
|
AfterIfMacros: true
|
|
AfterOverloadedOperator: false
|
|
AfterRequiresInClause: false
|
|
AfterRequiresInExpression: false
|
|
BeforeNonEmptyParentheses: false
|
|
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
|
|
UseTab: Never
|
|
...
|