mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-02-12 01:08:39 +00:00
improve c linting settings
This commit is contained in:
parent
f3faffb6c0
commit
ffc3b56de5
|
|
@ -1,30 +1,40 @@
|
||||||
# Common settings
|
# Common settings
|
||||||
|
|
||||||
AlignAfterOpenBracket: Align
|
AlignAfterOpenBracket: Align
|
||||||
AlignConsecutiveAssignments: 'true'
|
AlignConsecutiveMacros:
|
||||||
|
Enabled: true
|
||||||
|
AlignCompound: true
|
||||||
|
PadOperators: true
|
||||||
|
AcrossEmptyLines: false
|
||||||
|
AcrossComments: false
|
||||||
AlignEscapedNewlines: Left
|
AlignEscapedNewlines: Left
|
||||||
AlignOperands: 'true'
|
AlignOperands: true
|
||||||
AlignConsecutiveDeclarations: 'false'
|
AlignConsecutiveDeclarations: false
|
||||||
BreakBeforeBraces: Linux
|
BreakBeforeBraces: Linux
|
||||||
ColumnLimit: '120'
|
ColumnLimit: '120'
|
||||||
IndentWidth: '4'
|
IndentWidth: '4'
|
||||||
KeepEmptyLinesAtTheStartOfBlocks: 'false'
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||||
NamespaceIndentation: All
|
NamespaceIndentation: All
|
||||||
PointerAlignment: Right
|
PointerAlignment: Right
|
||||||
SortIncludes: 'true'
|
SortIncludes: true
|
||||||
SortUsingDeclarations: 'true'
|
SortUsingDeclarations: true
|
||||||
SpaceAfterCStyleCast: 'true'
|
SpaceAfterCStyleCast: true
|
||||||
SpaceAfterLogicalNot: 'false'
|
SpaceAfterLogicalNot: false
|
||||||
SpaceAfterTemplateKeyword: 'false'
|
SpaceAfterTemplateKeyword: false
|
||||||
SpaceBeforeAssignmentOperators: 'true'
|
SpaceBeforeAssignmentOperators: true
|
||||||
SpaceBeforeParens: ControlStatements
|
SpaceBeforeParens: ControlStatements
|
||||||
SpaceBeforeRangeBasedForLoopColon: 'true'
|
SpaceBeforeRangeBasedForLoopColon: true
|
||||||
SpaceInEmptyParentheses: 'false'
|
SpaceInEmptyParentheses: false
|
||||||
SpacesInAngles: 'false'
|
SpacesInAngles: false
|
||||||
SpacesInCStyleCastParentheses: 'false'
|
SpacesInCStyleCastParentheses: false
|
||||||
SpacesInContainerLiterals: 'false'
|
SpacesInContainerLiterals: false
|
||||||
SpacesInParentheses: 'false'
|
SpacesInParentheses: false
|
||||||
SpacesInSquareBrackets: 'false'
|
SpacesInSquareBrackets: false
|
||||||
TabWidth: '4'
|
TabWidth: '4'
|
||||||
UseTab: Never
|
UseTab: Never
|
||||||
IndentPPDirectives: BeforeHash
|
IndentPPDirectives: BeforeHash
|
||||||
|
IndentCaseLabels: true
|
||||||
|
BraceWrappingAfterControlStatementStyle: BWACS_MultiLine
|
||||||
|
BreakBeforeBinaryOperators: BOS_All
|
||||||
|
AllowShortBlocksOnASingleLine: SBS_Empty
|
||||||
|
AllowShortIfStatementsOnASingleLine: Never
|
||||||
Loading…
Reference in New Issue
Block a user