Skip to content

Instantly share code, notes, and snippets.

@vinnybad
Last active December 29, 2015 17:40
Show Gist options
  • Save vinnybad/3ba296106775cbc9f50a to your computer and use it in GitHub Desktop.
Save vinnybad/3ba296106775cbc9f50a to your computer and use it in GitHub Desktop.
---
Language: Cpp
BasedOnStyle: WebKit
# AccessModifierOffset: -4
# ConstructorInitializerIndentWidth: 4
# AlignEscapedNewlinesLeft: false
# AlignTrailingComments: false
# AllowAllParametersOfDeclarationOnNextLine: true
# AllowShortBlocksOnASingleLine: false
# AllowShortCaseLabelsOnASingleLine: false
# AllowShortIfStatementsOnASingleLine: false
# AllowShortLoopsOnASingleLine: false
# AllowShortFunctionsOnASingleLine: All
# AlwaysBreakAfterDefinitionReturnType: false
# AlwaysBreakTemplateDeclarations: false
# AlwaysBreakBeforeMultilineStrings: false
# BreakBeforeBinaryOperators: All
# BreakBeforeTernaryOperators: true
# BreakConstructorInitializersBeforeComma: true
# BinPackParameters: true
# ColumnLimit: 0
# ConstructorInitializerAllOnOneLineOrOnePerLine: false
# DerivePointerAlignment: false
# ExperimentalAutoDetectBinPacking: false
# IndentCaseLabels: false
# IndentWrappedFunctionNames: false
# IndentFunctionDeclarationAfterType: false
# MaxEmptyLinesToKeep: 1
# KeepEmptyLinesAtTheStartOfBlocks: true
# NamespaceIndentation: Inner
# ObjCSpaceAfterProperty: true
# ObjCSpaceBeforeProtocolList: true
# PenaltyBreakBeforeFirstCallParameter: 19
# PenaltyBreakComment: 300
# PenaltyBreakString: 1000
# PenaltyBreakFirstLessLess: 120
# PenaltyExcessCharacter: 1000000
# PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
# SpacesBeforeTrailingComments: 1
# Cpp11BracedListStyle: false
# Standard: Cpp03
# IndentWidth: 4
# TabWidth: 8
# UseTab: Never
BreakBeforeBraces: Attach
SpacesInParentheses: false
# SpacesInSquareBrackets: false
# SpacesInAngles: false
# SpaceInEmptyParentheses: false
# SpacesInCStyleCastParentheses: false
# SpaceAfterCStyleCast: false
# SpacesInContainerLiterals: true
# SpaceBeforeAssignmentOperators: true
# ContinuationIndentWidth: 4
# CommentPragmas: '^ IWYU pragma:'
# ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
SpaceBeforeParens: ControlStatements
# DisableFormat: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment