forked from fullcube/loopback-component-access-groups
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.esformatter
50 lines (50 loc) · 1.23 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
{
"plugins": [
"esformatter-braces",
"esformatter-collapse-objects",
"esformatter-dot-notation",
"esformatter-eol-last",
"esformatter-literal-notation",
"esformatter-semicolons",
"esformatter-quotes",
"esformatter-quote-props",
"esformatter-literal-notation",
"esformatter-remove-trailing-commas",
"esformatter-use-strict",
"unquoted-property-validator"
],
"quotes": {
"type": "single",
"avoidEscape": false
},
"lineBreak": {
"before": {
"ElseIfStatement": 1,
"ElseStatement": 1,
"TryClosingBrace" : 1,
"FunctionDeclarationClosingBrace" : 1,
"FunctionExpressionClosingBrace": 1,
"ArrowFunctionExpressionClosingBrace": 1
},
"after": {
"IfStatementOpeningBrace": 1,
"TryClosingBrace" : 1,
"FunctionDeclarationOpeningBrace" : 1,
"FunctionExpressionOpeningBrace": 1,
"ArrowFunctionExpressionOpeningBrace": 1
}
},
"whiteSpace" : {
"before": {
"ArrayExpressionClosing": 1,
"ObjectExpressionClosingBrace": 1,
"PropertyName": 1
},
"after": {
"ArrayExpressionOpening": 1,
"ArrayPatternOpening": 1,
"ObjectExpressionOpeningBrace": 1,
"FunctionName": 0
}
}
}