-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
105 lines (105 loc) · 2.4 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
{
"extends": [
"tslint:recommended",
"tslint-config-prettier"
],
"defaultSeverity": "error",
"rules": {
"adjacent-overload-signatures": true,
"array-type": [
true,
"generic"
],
"align": [
false
],
"arrow-parens": false,
"class-name": false,
"cyclomatic-complexity": {
"severity": "warning",
"options": 17
},
"comment-format": [
false
],
"curly": true,
"forin": true,
"interface-name": [
true,
"never-prefix"
],
"max-classes-per-file": false,
"member-access": false,
"member-ordering": false,
"no-consecutive-blank-lines": false,
"no-console": false,
"no-empty": false,
"no-inferrable-types": true,
"no-namespace": [
true,
"allow-declarations"
],
"no-parameter-reassignment": true,
"no-string-literal": false,
"no-switch-case-fall-through": true,
"no-var-requires": false,
"no-empty-interface": false,
"no-default-export": {
"severity": "warning"
},
"object-literal-key-quotes": false,
"object-literal-sort-keys": false,
"only-arrow-functions": [
false
],
"ordered-imports": [
false
],
"quotemark": [
false
],
"trailing-comma": [
false
],
"typedef-whitespace": [
false
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-typecast",
"check-type-operator",
"check-preblock"
],
"await-promise": true,
"match-default-export-name": false,
"no-boolean-literal-compare": true,
"no-floating-promises": false,
"no-for-in-array": true,
"no-inferred-empty-object-type": false,
"no-unbound-method": false,
"no-unnecessary-qualifier": true,
"no-unnecessary-type-assertion": false, // too many false positives
"no-unsafe-any": false,
"no-unused-variable": true,
"no-use-before-declare": false,
"no-void-expression": false,
"promise-function-async": false,
"restrict-plus-operands": false,
"return-undefined": true,
"strict-boolean-expressions": false,
"deprecation": {
"severity": "warning"
},
"prefer-readonly": true,
"prefer-object-spread": true,
"no-duplicate-variable": true,
"no-duplicate-switch-case": true
}
}