-
Notifications
You must be signed in to change notification settings - Fork 8
/
tslint.json
68 lines (68 loc) · 1.52 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
{
"extends": [
"tslint-no-circular-imports"
],
"rules": {
"adjacent-overload-signatures": true,
"ban-comma-operator": true,
"no-namespace": true,
"no-parameter-reassignment": true,
"no-reference": true,
"no-unnecessary-type-assertion": true,
"label-position": true,
"no-conditional-assignment": true,
"no-construct": true,
"no-duplicate-super": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": [
true,
"check-parameters"
],
"no-shadowed-variable": true,
"no-empty": [
true,
"allow-empty-catch"
],
"no-floating-promises": true,
"no-implicit-dependencies": true,
"no-invalid-this": true,
"no-string-throw": true,
"no-unsafe-finally": true,
"no-use-before-declare": true,
"no-void-expression": [
true,
"ignore-arrow-function-shorthand"
],
"no-duplicate-imports": true,
"no-empty-interface": {
"severity": "warning"
},
"no-import-side-effect": {
"severity": "warning"
},
"no-var-keyword": {
"severity": "warning"
},
"triple-equals": {
"severity": "warning"
},
"deprecation": {
"severity": "warning"
},
"prefer-for-of": {
"severity": "warning"
},
"unified-signatures": {
"severity": "warning"
},
"prefer-const": {
"severity": "warning"
},
"trailing-comma": {
"severity": "warning"
},
"semicolon": true,
"strict-type-predicates": true
},
"defaultSeverity": "error"
}