-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.clang-format
44 lines (40 loc) · 1.03 KB
/
.clang-format
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
---
BasedOnStyle: LLVM
ColumnLimit: 120
IndentWidth: 3
TabWidth: 3
ContinuationIndentWidth: 5
UseTab: ForIndentation
InsertNewlineAtEOF: true
AlignOperands: AlignAfterOperator
BreakBeforeBraces: Attach
#BracedInitializerIndentWidth: brace
SpaceBeforeCaseColon: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeJsonColon: false
SpaceBeforeSquareBrackets: false
SpacesInAngles: false
SpacesInParens: Custom
SpacesInParensOptions:
InConditionalStatements: true
Other: true
# ExceptDoubleParentheses: true
SpaceAfterLogicalNot: false
SpacesInSquareBrackets: true
SpaceBeforeParens: Never
SpaceInEmptyParentheses: false
SpaceInEmptyBlock: false
LineEnding: LF
AlignAfterOpenBracket: AlignTop
#AlignAfterOpenBracket: true
AlignConsecutiveAssignments: AcrossEmptyLinesAndComments
BreakBinaryOperations: RespectPrecedence
BreakBeforeBinaryOperators: All
#BreakBeforeUnaryOperators: All
PointerAlignment: Right
BreakConstructorInitializers: BeforeComma
BreakBeforeComma: true
---
Language: JavaScript
RemoveParentheses: MultipleParentheses
...