-
Notifications
You must be signed in to change notification settings - Fork 0
/
.esformatter
63 lines (63 loc) · 1.21 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
{
"preset": "default",
"root": true,
"ignore-selection": false,
"indent": {
"value": " ",
"SwitchStatement": 0
},
"lineBreak": {
"before": {
"ArrayExpressionClosing": 1,
"ElseIfStatement": 1,
"ElseStatement": 1
},
"after": {
"ArrayExpressionOpening": 1,
"ArrayExpressionComma": 1
}
},
"whiteSpace": {
"before": {
"ArrayExpressionClosing": 1,
"ArrayPatternClosing": 1,
"ObjectExpressionClosingBrace": 1,
"PropertyName": 1
},
"after": {
"ArrayExpressionOpening": 1,
"ArrayPatternOpening": 1,
"ObjectExpressionOpeningBrace": 1
}
},
"plugins": [
"esformatter-align",
"esformatter-asi",
"esformatter-braces",
"esformatter-collapse-objects",
"esformatter-dot-notation",
"esformatter-limit-linebreaks",
"esformatter-literal-notation",
"esformatter-parseint",
"esformatter-quotes",
"esformatter-remove-trailing-commas",
"esformatter-spaced-lined-comment",
"esformatter-flow",
"esformatter-quote-props",
"esformatter-var-each"
],
"collapseObjects": {
"ArrayExpression": {
"maxKeys": -1,
"maxLineLength": 100
},
"ObjectExpression": {
"maxKeys": 3,
"maxDepth": -1,
"maxLineLength": 100
}
},
"quotes": {
"type": "double"
}
}