-
Notifications
You must be signed in to change notification settings - Fork 13
/
tslint.json
149 lines (149 loc) · 3.67 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
{
"extends": [
"tslint-react",
"tslint-react-hooks",
"tslint-consistent-codestyle",
"tslint-eslint-rules",
"tslint-config-prettier"
],
"rulesDirectory": [
"tslint-react",
"tslint-microsoft-contrib",
"tslint-plugin-prettier",
"tslint-no-unused-expression-chai"
],
"rules": {
"adjacent-overload-signatures": true,
"array-type": [
true,
"array"
],
"await-promise": true,
"ban": [
true,
{
"message": "no-focused-test",
"name": "fdescribe"
},
{
"message": "no-focused-test",
"name": "fit"
},
{
"message": "no-focused-test",
"name": [
"describe",
"only"
]
},
{
"message": "no-focused-test",
"name": [
"it",
"only"
]
},
{
"message": "no-focused-test",
"name": [
"test",
"only"
]
}
],
"ban-comma-operator": true,
"callable-types": true,
"curly": true,
"encoding": true,
"interface-over-type-literal": true,
"jsx-boolean-value": false,
"jsx-key": true,
"jsx-no-bind": true,
"jsx-no-lambda": false,
"jsx-no-string-ref": true,
"jsx-self-close": false,
"no-accessor-recursion": true,
"no-angle-bracket-type-assertion": true,
"no-arg": true,
"no-banned-terms": true,
"no-boolean-literal-compare": false,
"no-collapsible-if": true,
"no-conditional-assignment": true,
"no-constant-condition": true,
"no-construct": true,
"no-control-regex": true,
"no-duplicate-case": true,
"no-duplicate-imports": true,
"no-duplicate-super": true,
"no-dynamic-delete": true,
"no-empty-character-class": true,
"no-eval": true,
"no-ex-assign": true,
"no-extra-boolean-cast": true,
"no-extra-semi": true,
"no-floating-promises": false,
"no-for-in-array": true,
"no-inner-declarations": true,
"no-invalid-regexp": true,
"no-invalid-template-strings": true,
"no-invalid-this": false,
"no-irregular-whitespace": true,
"no-misused-new": true,
"no-namespace": true,
"no-non-null-assertion": true,
"no-reference": true,
"no-reference-import": true,
"no-regex-spaces": true,
"no-return-await": true,
"no-return-undefined": true,
"no-shadowed-variable": true,
"no-sparse-arrays": true,
"no-static-this": true,
"no-string-literal": true,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-unexpected-multiline": true,
"no-unnecessary-else": true,
"no-unnecessary-initializer": true,
"no-unnecessary-qualifier": true,
"no-unsafe-finally": true,
"no-unused-expression-chai": [
true,
"allow-fast-null-checks"
],
"no-var-keyword": true,
"no-with-statement": true,
"object-literal-shorthand": true,
"prefer-const": true,
"prefer-const-enum": true,
"prefer-for-of": true,
"prefer-method-signature": true,
"prefer-object-spread": true,
"prefer-readonly": true,
"prefer-while": true,
"prettier": [
true,
{
"printWidth": 140,
"semi": false,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "none",
"arrowParens": "avoid"
}
],
"radix": true,
"react-hooks-nesting": true,
"restrict-plus-operands": true,
"switch-default": false,
"switch-final-break": true,
"ter-no-proto": true,
"ter-no-script-url": true,
"ter-no-self-compare": true,
"triple-equals": true,
"type-literal-delimiter": true,
"use-default-type-parameter": false,
"use-isnan": true,
"valid-typeof": true
}
}