This repository was archived by the owner on Mar 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
87 lines (87 loc) · 1.94 KB
/
tslint.json
File metadata and controls
87 lines (87 loc) · 1.94 KB
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
{
"extends": [
"tslint:recommended",
"tslint-config-prettier"
],
"rules": {
"max-classes-per-file": false,
"max-line-length": {
"options": [
160
]
},
"new-parens": true,
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": true,
"no-console": {
"severity": "warning",
"options": [
"debug",
"info",
"log",
"time",
"timeEnd",
"trace"
]
},
"curly": true,
"no-duplicate-switch-case": true,
"no-async-without-await": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-floating-promises": true,
"no-inferred-empty-object-type": true,
"no-invalid-template-strings": true,
"no-invalid-this": true,
"no-null-keyword": false,
"no-null-undefined-union": true,
"no-shadowed-variable": true,
"no-this-assignment": true,
"no-var-keyword": true,
"no-void-expression": true,
"prefer-conditional-expression": true,
"radix": true,
"restrict-plus-operands": true,
"static-this": true,
"strict-type-predicates": true,
"switch-default": true,
"triple-equals": true,
"cyclomatic-complexity": [
true,
20
],
"array-type": false,
"arrow-return-shorthand": true,
"class-name": true,
"comment-format": true,
"interface-over-type-literal": true,
"newline-per-chained-call": false,
"prefer-switch": true,
"prefer-while": true,
"switch-final-break": true,
"align": true,
"arrow-parens": true,
"indent": [
true,
"spaces",
2
],
"no-trailing-whitespace": true,
"number-literal-format": true,
"quotemark": [
true,
"single",
"avoid-escape",
"avoid-template"
],
"whitespace": [
true,
"check-branch",
"check-operator",
"check-typecast"
],
"no-parameter-reassignment": true
}
}