-
Notifications
You must be signed in to change notification settings - Fork 3
/
tslint.json
148 lines (148 loc) · 3.53 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
{
"defaultSeverity": "warning",
"extends": [
"tslint:all"
],
"linterOptions": {
"exclude": [
"**/*.json",
"**/.*",
"**/~*"
]
},
"rules": {
"no-inferred-empty-object-type": false,
"no-null-undefined-union": false,
"no-unused-variable": false,
"no-default-import": false,
"align": [true, "statements", "elements"],
"array-type": [
true,
"array"
],
"arrow-parens": [
true,
"ban-single-arg-parens"
],
"arrow-return-shorthand": false,
"comment-format": [true, "check-space"],
"completed-docs": false,
"cyclomatic-complexity": false,
"file-name-casing": [
true,
"kebab-case"
],
"increment-decrement": false,
"invalid-void": false,
"linebreak-style": [
true,
"LF"
],
"match-default-export-name": false,
"max-classes-per-file": false,
"max-line-length": [
true,
250
],
"member-ordering": [
true,
{
"order": [
"protected-static-field",
"private-static-field",
"protected-instance-field",
"private-instance-field",
"constructor",
"public-static-field",
"public-static-method",
"protected-static-method",
"private-static-method",
"public-instance-field",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"newline-per-chained-call": false,
"no-any": false,
"no-console": false,
"no-default-export": false,
"no-implicit-dependencies": false,
"no-import-side-effect": false,
"no-inferrable-types": false,
"no-invalid-this": true,
"no-magic-numbers": false,
"no-namespace": false,
"no-non-null-assertion": false,
"no-null-keyword": false,
"no-object-literal-type-assertion": false,
"no-submodule-imports": true,
"no-unnecessary-class": false,
"no-unnecessary-callback-wrapper": false,
"no-unsafe-any": false,
"no-use-before-declare": false,
"no-void-expression": false,
"object-literal-key-quotes": false,
"object-literal-shorthand": false,
"object-literal-sort-keys": false,
"one-line": false,
"only-arrow-functions": [
true,
"allow-declarations",
"allow-named-functions"
],
"ordered-imports": false,
"prefer-conditional-expression": false,
"prefer-function-over-method": false,
"prefer-method-signature": false,
"prefer-switch": false,
"promise-function-async": [
true,
"check-function-declaration",
"check-function-expression",
"check-method-declaration"
],
"radix": false,
"return-undefined": false,
"strict-boolean-expressions": false,
"strict-comparisons": false,
"switch-final-break": [true, "always"],
"strict-type-predicates": false,
"switch-default": false,
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
],
"triple-equals": [
true,
"allow-null-check",
"allow-undefined-check"
],
"typedef": [
true,
"call-signature"
],
"unified-signatures": false,
"variable-name": [
true,
"check-format",
"allow-leading-underscore"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-typecast",
"check-type-operator",
"check-preblock"
]
}
}