-
Notifications
You must be signed in to change notification settings - Fork 0
/
.esformatter
84 lines (84 loc) · 2.48 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"preset": "default",
"plugins": [
"esformatter-quotes"
],
"indent": {
"value": " ",
"ArrayExpression": 4,
"ArrayPattern": 4,
"ArrowFunctionExpression": 4,
"AssignmentExpression": 4,
"AssignmentExpression.BinaryExpression": 4,
"AssignmentExpression.LogicalExpression": 4,
"AssignmentExpression.UnaryExpression": 4,
"BlockStatement": 4,
"CallExpression": 4,
"CallExpression.BinaryExpression": 4,
"CallExpression.LogicalExpression": 4,
"CallExpression.UnaryExpression": 4,
"CatchClause": 4,
"ClassDeclaration": 4,
"ClassExpression": 4,
"CommentInsideEmptyBlock": 4,
"ConditionalExpression": 4,
"DoWhileStatement": 4,
"ExportNamedDeclaration": 4,
"ForInStatement": 4,
"ForOfStatement": 4,
"ForStatement": 4,
"FunctionDeclaration": 4,
"FunctionExpression": 4,
"IfStatement": 4,
"ImportDeclaration": 4,
"MemberExpression": 4,
"MultipleVariableDeclaration": 4,
"NewExpression": 4,
"ObjectExpression": 4,
"ObjectExpression.BinaryExpression": 4,
"ObjectExpression.LogicalExpression": 4,
"ObjectExpression.UnaryExpression": 4,
"ObjectPattern": 4,
"ParameterList": 4,
"ReturnStatement": 4,
"SingleVariableDeclaration": 0,
"SwitchCase": 4,
"SwitchStatement": 4,
"TopLevelFunctionBlock": 4,
"TryStatement": 4,
"VariableDeclaration.BinaryExpression": 4,
"VariableDeclaration.LogicalExpression": 4,
"VariableDeclaration.UnaryExpression": 4,
"WhileStatement": 4
},
"lineBreak": {
"before": {
"ElseIfStatement": 1,
"ElseStatement": 1,
"EndOfFile": 1,
"ObjectExpressionOpeningBrace": -1,
"ObjectExpressionClosingBrace": -1,
"Property": -1
},
"after": {
"TryClosingBrace": 1,
"ObjectExpressionOpeningBrace": -1,
"ObjectExpressionClosingBrace": -1,
"Property": -1
}
},
"whiteSpace": {
"before": {
"ObjectExpressionClosingBrace": 1
},
"after": {
"FunctionReservedWord": 1,
"MethodName": 0,
"ObjectExpressionOpeningBrace": 1,
"PropertyValue": -1
}
},
"quotes": {
"type": "single"
}
}