mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-04 11:55:51 +00:00
There are 2 things to know about prettier: - it's quite pretty most of the time - it's not configurable
81 lines
2.2 KiB
YAML
81 lines
2.2 KiB
YAML
---
|
|
Language: Cpp
|
|
AccessModifierOffset: -4
|
|
AlignAfterOpenBracket: BlockIndent
|
|
AlignConsecutiveAssignments: false
|
|
AlignConsecutiveDeclarations: false
|
|
AlignEscapedNewlinesLeft: true
|
|
AlignOperands: false
|
|
AlignTrailingComments: true
|
|
AllowAllParametersOfDeclarationOnNextLine: false
|
|
AllowShortBlocksOnASingleLine: false
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
AllowShortFunctionsOnASingleLine: false
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
AllowShortLoopsOnASingleLine: false
|
|
AlwaysBreakAfterReturnType: All
|
|
AlwaysBreakBeforeMultilineStrings: true
|
|
AlwaysBreakTemplateDeclarations: true
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
BreakBeforeBinaryOperators: false
|
|
BreakBeforeBraces: WebKit
|
|
BreakBeforeTernaryOperators: true
|
|
BreakConstructorInitializersBeforeComma: true
|
|
ColumnLimit: 120
|
|
CommentPragmas: "^ IWYU pragma:"
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
ConstructorInitializerIndentWidth: 4
|
|
ContinuationIndentWidth: 4
|
|
Cpp11BracedListStyle: true
|
|
DerivePointerAlignment: false
|
|
DisableFormat: false
|
|
ExperimentalAutoDetectBinPacking: false
|
|
FixNamespaceComments: true
|
|
ForEachMacros: [Q_FOREACH, BOOST_FOREACH]
|
|
IncludeBlocks: Regroup
|
|
IncludeCategories:
|
|
- Regex: '^".*"$'
|
|
Priority: 1
|
|
- Regex: '^<.*\.(h|hpp)>$'
|
|
Priority: 2
|
|
- Regex: "^<.*>$"
|
|
Priority: 3
|
|
- Regex: ".*"
|
|
Priority: 4
|
|
IncludeIsMainRegex: "$"
|
|
IndentCaseLabels: true
|
|
IndentFunctionDeclarationAfterType: false
|
|
IndentWidth: 4
|
|
IndentWrappedFunctionNames: false
|
|
IndentRequiresClause: true
|
|
RequiresClausePosition: OwnLine
|
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
|
MaxEmptyLinesToKeep: 1
|
|
NamespaceIndentation: None
|
|
ObjCSpaceAfterProperty: false
|
|
ObjCSpaceBeforeProtocolList: false
|
|
PenaltyBreakBeforeFirstCallParameter: 1
|
|
PenaltyBreakComment: 300
|
|
PenaltyBreakFirstLessLess: 120
|
|
PenaltyBreakString: 1000
|
|
PenaltyExcessCharacter: 1000000
|
|
PenaltyReturnTypeOnItsOwnLine: 200
|
|
PointerAlignment: Left
|
|
QualifierAlignment: Right
|
|
ReflowComments: true
|
|
SortIncludes: true
|
|
SpaceAfterCStyleCast: false
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeParens: ControlStatements
|
|
SpaceInEmptyParentheses: false
|
|
SpacesBeforeTrailingComments: 2
|
|
SpacesInAngles: false
|
|
SpacesInContainerLiterals: true
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInParentheses: false
|
|
SpacesInSquareBrackets: false
|
|
Standard: Cpp11
|
|
TabWidth: 8
|
|
UseTab: Never
|