-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhxformat.json
More file actions
78 lines (78 loc) · 2.1 KB
/
hxformat.json
File metadata and controls
78 lines (78 loc) · 2.1 KB
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
{
"indentation": {
"character": " ",
"indentObjectLiteral": false,
"indentCaseLabels": true,
"indentComplexValueExpressions": true
},
"lineEnds": {
"leftCurly": "both",
"emptyCurly": "break",
"caseColon": "after"
},
"emptyLines": {
"classEmptyLines": {
"betweenFunctions": 2,
"afterPrivateFunctions": 2,
"afterStaticFunctions": 2,
"afterStaticVars": 1,
"betweenStaticFunctions": 2,
"betweenStaticVars": 0,
"afterVars": 2,
"betweenVars": 0,
"afterPrivateVars": 2
},
"importAndUsing": {
"betweenImportsLevel": "firstLevelPackage",
"betweenImports": 0,
"beforeUsing": 1,
"beforeType": 2
},
"maxAnywhereInFile": 2
},
"whitespace": {
"colonPolicy": "after",
"objectFieldColonPolicy": "after",
"caseColonPolicy": "after",
"typeHintColonPolicy": "after",
"typeCheckColonPolicy": "after"
},
"sameLine": {
"doWhile": "next",
"anonFunctionBody": "next",
"caseBody": "next",
"functionBody": "next",
"untypedBody": "next",
"expressionCase": "next",
"catchBody": "next",
"comprehensionFor": "next",
"doWhileBody": "next",
"elseBody": "next",
"elseIf": "same",
"expressionIf": "next",
"expressionIfWithBlocks": true,
"expressionTry": "next",
"forBody": "next",
"ifBody": "next",
"ifElse": "next",
"returnBody": "next",
"tryBody": "next",
"tryCatch": "next",
"whileBody": "next"
},
"wrapping": {
"callParameter": {
"rules": [
{
"type": "onePerLine",
"conditions": [
{
"cond": "exceedsMaxLineLength"
}
]
}
]
},
"maxLineLength": 160
}
}