-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
tslint.json
76 lines (76 loc) · 1.69 KB
/
tslint.json
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
{
"rules": {
"class-name": true,
"member-access": [true, "no-public"],
"member-ordering": [
true,
{
"order": [
"public-static-field",
"private-static-field",
"protected-static-field",
"public-instance-field",
"private-instance-field",
"protected-instance-field",
"public-static-method",
"private-static-method",
"protected-static-method",
"public-constructor",
"private-constructor",
"protected-constructor",
"public-instance-method",
"private-instance-method",
"protected-instance-method"
]
}
],
"no-any": false,
"no-non-null-assertion": true,
"no-var-requires": false,
"only-arrow-functions": [
true,
"allow-declarations"
],
"prefer-for-of": true,
"typedef": [true, "call-signature", "parameter", "member-variable-declaration"],
"eofline": true,
"indent": "spaces",
"member-ordering": [
true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
],
"no-eval": true,
"no-sparse-arrays": true,
"switch-default": true,
"prefer-const": true,
"arrow-return-shorthand": true,
"trailing-comma": [
true,
{
"singleline": "never"
}
],
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"quotemark": [
true,
"single"
],
"semicolon": false,
"triple-equals": [
true,
"allow-null-check"
],
"variable-name": false,
"whitespace": [
true
]
}
}