-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtslint.json
More file actions
80 lines (80 loc) · 1.65 KB
/
tslint.json
File metadata and controls
80 lines (80 loc) · 1.65 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
79
80
{
"rules": {
"adjacent-overload-signatures": true,
"array-type": [
true,
"array"
],
"arrow-return-shorthand": true,
"curly": true,
"no-construct": true,
"no-duplicate-super": true,
"no-empty-interface": true,
"no-eval": true,
"no-object-literal-type-assertion": true,
"no-reference": true,
"no-string-literal": true,
"no-string-throw": true,
"no-this-assignment": [
true,
{
"allow-destructuring": true
}
],
"no-switch-case-fall-through": true,
"prefer-object-spread": true,
"prefer-template": [
true,
"allow-single-concat"
],
"prefer-method-signature": true,
"prefer-switch": [
true,
{
"min-cases": 3
}
],
"quotemark": [
true,
"double",
"avoid-template"
],
"semicolon": [
true,
"always"
],
"space-before-function-paren": [
true,
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
],
"space-within-parens": false,
"trailing-comma": [
true,
{
"multiline": "always",
"singleline": "never"
}
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}
]
}
}