aboutsummaryrefslogtreecommitdiffhomepage
path: root/.clang-format
blob: 2aceea2e16d4de5e8768b8ffdf6f2ccd713c8c8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Language: JavaScript

AlignAfterOpenBracket:                  DontAlign
AlignConsecutiveAssignments:            false
AlignConsecutiveDeclarations:           false
AlignOperands:                          Align
AlignTrailingComments:                  true
AllowShortBlocksOnASingleLine:          Empty
AllowShortCaseLabelsOnASingleLine:      false
AllowShortFunctionsOnASingleLine:       Empty
AllowShortIfStatementsOnASingleLine:    Never
AllowShortLoopsOnASingleLine:           false
BinPackArguments:                       true
BinPackParameters:                      true
BraceWrapping:
  AfterClass:                           false
  AfterControlStatement:                false
  AfterEnum:                            false
  AfterFunction:                        true
  AfterNamespace:                       true
  AfterObjCDeclaration:                 false
  AfterStruct:                          false
  AfterUnion:                           false
  AfterExternBlock:                     false
  BeforeCatch:                          false
  BeforeElse:                           false
  IndentBraces:                         false
  SplitEmptyFunction:                   true
  SplitEmptyRecord:                     true
  SplitEmptyNamespace:                  true
BreakBeforeBinaryOperators:             NonAssignment
BreakBeforeBraces:                      Custom
BreakBeforeTernaryOperators:            true
ColumnLimit:                            100
ContinuationIndentWidth:                8
DeriveLineEnding:                       true
IndentCaseBlocks:                       false
IndentCaseLabels:                       false
IndentWidth:                            8
InsertTrailingCommas:                   None
JavaScriptQuotes:                       Double
JavaScriptWrapImports:                  true
KeepEmptyLinesAtTheStartOfBlocks:       false
MaxEmptyLinesToKeep:                    2
ReflowComments:                         true
SpaceAfterLogicalNot:                   false
SpaceBeforeAssignmentOperators:         true
SpaceBeforeParens:                      ControlStatements
SpaceBeforeSquareBrackets:              false
SpaceInEmptyBlock:                      false
SpaceInEmptyParentheses:                false
SpacesBeforeTrailingComments:           1
SpacesInAngles:                         false
SpacesInConditionalStatement:           false
SpacesInContainerLiterals:              false
SpacesInParentheses:                    false
SpacesInSquareBrackets:                 false
TabWidth:                               8
UseCRLF:                                false
UseTab:                                 Always