-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
81 lines (81 loc) · 2.28 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
{
"extends": ["tslint:all", "tslint-config-prettier"],
"rules": {
"no-inferrable-types": [true, "ignore-properties", "ignore-params"],
"typedef": [true, "parameter", "call-signature", "property-declaration", "member-variable-declaration"],
"max-file-line-count": [true, 500],
"file-name-casing": [true, "kebab-case"],
"prefer-function-over-method": false,
"interface-name": false,
"array-type": [true, "array"],
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"no-non-null-assertion": false,
"member-ordering": false,
"no-unused-variable": false,
"completed-docs": [
true,
{
"enums": true,
"classes": {
"visibilities": ["exported"]
},
"functions": {
"visibilities": ["exported"]
},
"methods": {
"privacies": ["public", "protected"],
"tags": {
"existence": ["inheritdoc"]
}
},
"properties": {
"privacies": ["public", "protected"],
"tags": {
"existence": ["inheritdoc"]
}
},
"interfaces": {
"visibilities": ["exported"]
},
"enum-members": {
"visibilities": ["exported"]
}
}
],
"max-classes-per-file": [true, 1, "exclude-class-expressions"],
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
],
"object-literal-sort-keys": false,
"no-void-expression": [true, "ignore-arrow-function-shorthand"],
"strict-boolean-expressions": [
true,
"allow-undefined-union",
"allow-null-union",
"ignore-rhs",
"allow-string",
"allow-mix"
],
"object-literal-shorthand": [true, "never"],
"arrow-parens": false,
"no-magic-numbers": false,
"no-unbound-method": false,
"no-parameter-properties": false,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"no-submodule-imports": [true, "rxjs/testing", "rxjs/operators"],
"increment-decrement": false,
"no-use-before-declare": false,
"ordered-imports": [
true,
{
"grouped-imports": false
}
],
"no-null-undefined-union": false,
"strict-comparisons": false
}
}