-
Notifications
You must be signed in to change notification settings - Fork 2
/
.esformatter
66 lines (61 loc) · 1.69 KB
/
.esformatter
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
61
62
63
64
65
66
{
"plugins": [
"esformatter-ignore"
],
"preset" : "default",
"indent" : {
"value" : " ",
"IfStatementConditional": 2,
"SwitchStatement" : 0,
"TopLevelFunctionBlock" : 2
},
"lineBreak" : {
"before" : {
"ObjectExpressionOpeningBrace": -1,
"ObjectExpressionClosingBrace": -1,
"Property": -1,
"VariableDeclarationWithoutInit" : 0
},
"after": {
"AssignmentOperator": -1,
"ObjectExpressionOpeningBrace": -1,
"ObjectExpressionClosingBrace": -1,
"Property": -1
}
},
"whiteSpace" : {
"before" : {
"ArgumentList" : 1,
"ArrayExpressionClosing" : 1,
"CatchParameterList": 1,
"ExpressionClosingParentheses" : 1,
"ForInStatementExpressionClosing" : 1,
"ForOfStatementExpressionClosing" : 1,
"ForStatementExpressionClosing" : 1,
"IfStatementConditionalClosing" : 1,
"IIFEClosingParentheses": 1,
"MemberExpressionClosing" : 1,
"ObjectExpressionClosingBrace": 1,
"ParameterList" : 1,
"SwitchDiscriminantClosing" : 1,
"WhileStatementConditionalClosing" : 1
},
"after" : {
"ArgumentList" : 1,
"ArrayExpressionOpening" : 1,
"CatchParameterList": 1,
"ExpressionOpeningParentheses" : 1,
"ForInStatementExpressionOpening" : 1,
"ForOfStatementExpressionOpening" : 1,
"ForStatementExpressionOpening" : 1,
"IfStatementConditionalOpening" : 1,
"IIFEOpeningParentheses": 1,
"MemberExpressionOpening" : 1,
"ObjectExpressionOpeningBrace": 1,
"ParameterList" : 1,
"PropertyValue": -1,
"SwitchDiscriminantOpening" : 1,
"WhileStatementConditionalOpening" : 1
}
}
}