forked from SweetIQ/schemats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
46 lines (46 loc) · 1.17 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-config-prettier"],
"rules": {
"interface-name": false,
"object-literal-sort-keys": false,
"ordered-imports": false,
"no-unused-expression": false,
"only-arrow-functions": false,
"array-type": [true, "generic"],
"no-any": {
"severity": "warning"
},
"no-var-requires": {
"severity": "warning"
},
"no-console": {
"severity": "warning"
},
"no-switch-case-fall-through": true,
"callable-types": {
"severity": "warning"
},
"strict-boolean-expressions": [
true,
"allow-null-union",
"allow-undefined-union",
"allow-string",
"allow-mix",
"ignore-rhs"
],
"await-promise": [true, "Bluebird"],
"no-unnecessary-initializer": false,
"no-implicit-dependencies": [true, "dev"],
"no-return-await": true,
"no-floating-promises": true,
"no-string-throw": true,
"no-this-assignment": true,
"no-unnecessary-class": true,
"no-unsafe-finally": true,
"radix": true,
"switch-default": true,
"restrict-plus-operands": true,
"no-invalid-template-strings": true
}
}