Created
August 28, 2018 16:39
-
-
Save gregbown/8b96293072565bd5b6cf659c8357dd68 to your computer and use it in GitHub Desktop.
Local clang format for typescript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Language: JavaScript | |
AccessModifierOffset: -4 | |
AlignAfterOpenBracket: AlwaysBreak | |
AlignEscapedNewlinesLeft: true | |
AlignTrailingComments: true | |
AllowAllParametersOfDeclarationOnNextLine: true | |
AllowShortBlocksOnASingleLine: false | |
AllowShortFunctionsOnASingleLine: None | |
AllowShortIfStatementsOnASingleLine: false | |
AllowShortLoopsOnASingleLine: false | |
AlwaysBreakBeforeMultilineStrings: true | |
AlwaysBreakTemplateDeclarations: true | |
BasedOnStyle: Google | |
BinPackParameters: false | |
BreakBeforeBraces: Custom | |
BraceWrapping: | |
AfterClass: false | |
AfterEnum: false | |
AfterStruct: false | |
AfterFunction: false | |
AfterNamespace: false | |
AfterStruct: false | |
BeforeElse: false | |
AfterControlStatement: false | |
SplitEmptyFunction: false | |
ColumnLimit: 100 | |
CommentPragmas: '' | |
ConstructorInitializerAllOnOneLineOrOnePerLine: true | |
ConstructorInitializerIndentWidth: 4 | |
ContinuationIndentWidth: 4 | |
DerivePointerAlignment: false | |
DisableFormat: false | |
ExperimentalAutoDetectBinPacking: false | |
IndentCaseLabels: false | |
IndentFunctionDeclarationAfterType: false | |
IndentWidth: 4 | |
IndentWrappedFunctionNames: false | |
JavaScriptQuotes: Single | |
KeepEmptyLinesAtTheStartOfBlocks: false | |
MaxEmptyLinesToKeep: 1 | |
NamespaceIndentation: All | |
PenaltyBreakBeforeFirstCallParameter: 1 | |
PenaltyBreakComment: 300 | |
PenaltyBreakFirstLessLess: 120 | |
PenaltyBreakString: 1000 | |
PenaltyExcessCharacter: 1 | |
PenaltyReturnTypeOnItsOwnLine: 1000 | |
PointerAlignment: Left | |
SpaceBeforeAssignmentOperators: true | |
SpaceBeforeParens: ControlStatements | |
SpaceInEmptyParentheses: false | |
SpacesBeforeTrailingComments: 1 | |
SpaceBeforeCtorInitializerColon: false | |
SpaceBeforeInheritanceColon: false | |
SpaceBeforeRangeBasedForLoopColon: false | |
SpacesInAngles: false | |
SpacesInParentheses: false | |
TabWidth: 4 | |
UseTab: Never |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment