Skip to content

Instantly share code, notes, and snippets.

@haxscramper
Created July 24, 2018 13:00
Show Gist options
  • Save haxscramper/4ea7cdb830b814a3165b5b317ea94499 to your computer and use it in GitHub Desktop.
Save haxscramper/4ea7cdb830b814a3165b5b317ea94499 to your computer and use it in GitHub Desktop.
ColumnLimit: 75
IndentWidth: 4
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: 'true'
AllowAllParametersOfDeclarationOnNextLine: 'true'
Cpp11BracedListStyle: 'true'
IndentWrappedFunctionNames: 'true'
IndentPPDirectives: AfterHash
KeepEmptyLinesAtTheStartOfBlocks: 'false'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
UseTab: Never
AllowShortFunctionsOnASingleLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortBlocksOnASingleLine: true
AlwaysBreakBeforeMultilineStrings: 'true'
AlwaysBreakTemplateDeclarations: 'true'
BinPackParameters: 'true'
CompactNamespaces: false
BreakBeforeInheritanceComma: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: false
AfterEnum: true
AfterFunction: false
AfterNamespace: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
AlignAfterOpenBracket: AlwaysBreak
AllowAllParametersOfDeclarationOnNextLine: false
ExperimentalAutoDetectBinPacking: true
AlignConsecutiveDeclarations: true
BinPackParameters: false
BinPackArguments: false
IndentCaseLabels: true
MaxEmptyLinesToKeep: 2
# Comments
ReflowComments: true
AlignTrailingComments: true
SpaceBeforeAssignmentOperators: true
FixNamespaceComments: true
SpacesBeforeTrailingComments: 1
PointerAlignment: Left
AccessModifierOffset: -2
NamespaceIndentation: Inner
SortIncludes: false
PenaltyExcessCharacter: 10
PenaltyBreakBeforeFirstCallParameter: 10
SortUsingDeclarations: true
# Classes
BreakConstructorInitializers: BeforeComma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment