-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
103 lines (103 loc) · 2.18 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
{
"extends": "tslint:recommended",
"rules": {
"arrow-parens": [
true,
"ban-single-arg-parens"
],
"await-promise": true,
"comment-format": [
true
],
"curly": false,
"completed-docs": [
true,
{
"classes": {
"visibilities": [
"exported"
]
},
"functions": {
"visibilities": [
"exported"
]
},
"methods": {
"privacies": [
"public",
"protected"
]
},
"properties": {
"privacies": [
"public",
"protected"
]
}
}
],
"match-default-export-name": true,
"max-classes-per-file": false,
"max-line-length": [
true,
180
],
"member-ordering": [
true,
{
"order": [
"static-field",
"instance-field",
"constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"no-any": false,
"no-boolean-literal-compare": true,
"no-console": false,
"no-duplicate-variable": true,
"no-for-in-array": true,
"no-inferrable-types": true,
"no-invalid-template-strings": true,
"no-require-imports": true,
"no-string-literal": true,
"no-shadowed-variable": false,
"no-unnecessary-type-assertion": true,
"no-unnecessary-qualifier": true,
"no-unused-variable": true,
"no-unused-expression": false,
"number-literal-format": true,
"object-literal-key-quotes": false,
"object-literal-sort-keys": false,
"only-arrow-functions": false,
"ordered-imports": false,
"prefer-conditional-expression": true,
"prefer-object-spread": true,
"prefer-template": true,
"semicolon": [
true,
"never"
],
"trailing-comma": false,
"quotemark": [
true,
"single",
"avoid-escape"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-typecast",
"check-preblock"
]
}
}