-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
177 lines (177 loc) · 4.15 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"defaultSeverity": "warn",
"rules": {
"ban-comma-operator": true,
"member-ordering": [
true,
{
"order": [
"public-constructor",
"protected-constructor",
"private-constructor",
"public-static-method",
"public-instance-method",
"public-static-field",
"public-instance-field",
"protected-static-method",
"protected-instance-method",
"private-static-method",
"private-instance-method",
"protected-static-field",
"protected-instance-field",
"private-static-field",
"private-instance-field"
]
}
],
"no-reference": true,
"prefer-for-of": true,
"unified-signatures": true,
"curly": true,
"forin": true,
"no-arg": true,
"no-conditional-assignment": false,
"no-duplicate-super": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-for-in-array": true,
"no-invalid-this": true,
"no-misused-new": true,
"no-return-await": true,
"no-shadowed-variable": true,
"no-sparse-arrays": true,
"no-string-throw": true,
"no-this-assignment": [
true,
{
"allowed-names": [
"^self$"
],
"allow-destructuring": true
}
],
"no-unsafe-finally": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"prefer-conditional-expression": true,
"prefer-object-spread": true,
"restrict-plus-operands": true,
"strict-type-predicates": true,
"switch-default": true,
"triple-equals": true,
"typeof-compare": true,
"use-default-type-parameter": true,
"use-isnan": true,
"deprecation": true,
"eofline": true,
"indent": [
true,
"spaces",
4
],
"no-duplicate-imports": true,
"prefer-const": true,
"align": [
true,
"members",
"elements"
],
"array-type": [
true,
"array"
],
"arrow-parens": [
true,
"ban-single-arg-parens"
],
"arrow-return-shorthand": true,
"binary-expression-operand-order": true,
"callable-types": true,
"class-name": true,
"comment-format": [
true,
"check-space"
],
"encoding": true,
"import-spacing": true,
"interface-over-type-literal": true,
"match-default-export-name": true,
"newline-before-return": true,
"new-parens": true,
"no-angle-bracket-type-assertion": true,
"no-boolean-literal-compare": true,
"no-consecutive-blank-lines": [
true,
1
],
"no-irregular-whitespace": true,
"no-parameter-properties": true,
"no-redundant-jsdoc": true,
"no-reference-import": true,
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-initializer": true,
"no-unnecessary-qualifier": true,
"number-literal-format": false,
"object-literal-shorthand": true,
"one-line": [
true,
"check-catch",
"check-finally",
"check-else",
"check-open-brace",
"check-whitespace"
],
"one-variable-per-declaration": true,
"ordered-imports": [
true,
{
"import-sources-order": "lowercase-last",
"named-imports-order": "lowercase-last"
}
],
"prefer-method-signature": true,
"prefer-switch": [
true,
{
"min-cases": 2
}
],
"prefer-template": [
true,
"allow-single-concat"
],
"return-undefined": true,
"semicolon": true,
"space-before-function-paren": [
true,
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always",
"method": "never",
"constructor": "never"
}
],
"switch-final-break": false,
"type-literal-delimiter": true,
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-rest-spread",
"check-type",
"check-type-operator",
"check-preblock"
]
}
}