forked from GSA/sam-ui-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.draft.json
203 lines (203 loc) · 5.35 KB
/
tslint.draft.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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
{
"rules": {
"adjacent-overload-signatures": true,
"ban-comma-operator": false,
"ban-types": [],
"member-access": false,
"member-ordering": [
true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
],
"no-any": false,
"no-empty-interface": true,
"no-import-side-effect": false,
"no-inferrable-types": false,
"no-magic-numbers": false,
"no-namespace": false,
"no-non-null-assertion": true,
"no-parameter-reassignment": true,
"no-reference": true,
"no-unnecessary-type-assertion": false,
"no-var-requires": true,
"only-arrow-functions": false,
"prefer-for-of": false,
"promise-function-async": false,
"typedef": false,
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "space",
"index-signature": "space",
"parameter": "space",
"property-declaration": "space",
"variable-declaration": "space"
}
],
"unified-signatures": true,
"await-promise": false,
"ban": null,
"curly": true,
"forin": false,
"import-blacklist": null,
"label-position": true,
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": false,
"no-console": [
true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-construct": true,
"no-debugger": false,
"no-duplicate-super": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-floating-promises": false,
"no-for-in-array": false,
"no-inferred-empty-object-type": false,
"no-invalid-template-strings": true,
"no-misused-new": true,
"no-null-keyword": true,
"no-object-literal-type-assertion": false,
"no-shadowed-variable": false,
"no-sparse-arrays": true,
"no-string-literal": true,
"no-string-throw": true,
"no-submodule-imports": false,
"no-switch-case-fall-through": true,
"no-this-assignment": true,
"no-unbound-method": false,
"no-unsafe-any": false,
"no-unsafe-finally": true,
"no-unused-expression": true,
"no-unused-variable": false,
"no-use-before-declare": false,
"no-var-keyword": true,
"no-void-expression": false,
"prefer-conditional-expression": true,
"prefer-object-spread": true,
"radix": true,
"restrict-plus-operands": false,
"strict-boolean-expressions": false,
"strict-type-predicates": false,
"switch-default": true,
"triple-equals": [
true,
"allow-null-check"
],
"typeof-compare": true,
"use-default-type-parameter": false,
"use-isnan": true,
"cyclomatic-complexity": [true, 10],
"deprecation": false,
"eofline": true,
"indent": [true, "spaces", 2],
"linebreak-style": false,
"max-classes-per-file": [true, 3],
"max-file-line-count": false,
"max-line-length": [
true,
80
],
"no-default-export": false,
"no-duplicate-imports": true,
"no-mergeable-namespace": true,
"no-require-imports": true,
"object-literal-sort-keys": false,
"prefer-const": true,
"trailing-comma": [
true,
{
"multiline": false,
"singleline": "never"
}
],
"align": false,
"array-type": false,
"arrow-parens": false,
"arrow-return-shorthand": false,
"binary-expression-operand-order": false,
"callable-types": false,
"class-name": false,
"comment-format": [
true,
"check-space"
],
"completed-docs": false,
"encoding": false,
"file-header": false,
"import-spacing": false,
"interface-name": false,
"interface-over-type-literal": false,
"jsdoc-format": false,
"match-default-export-name": false,
"newline-before-return": false,
"new-parens": false,
"no-angle-bracket-type-assertion": false,
"no-boolean-literal-compare": false,
"no-consecutive-blank-lines": false,
"no-irregular-whitespace": false,
"no-parameter-properties": false,
"no-redundant-jsdoc": false,
"no-reference-import": false,
"no-trailing-whitespace": false,
"no-unnecessary-callback-wrapper": false,
"no-unnecessary-qualifier": false,
"number-literal-format": false,
"object-literal-key-quotes": false,
"object-literal-shorthand": false,
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-finally",
"check-whitespace"
],
"one-variable-per-declaration": false,
"ordered-imports": false,
"prefer-method-signature": false,
"prefer-switch": false,
"prefer-template": false,
"quotemark": [
true,
"single",
"avoid-escape"
],
"return-undefined": false,
"semicolon": [true, "always"],
"space-before-function-paren": false,
"space-within-parens": false,
"switch-final-break": false,
"type-literal-delimiter": false,
"variable-name": [
true,
"check-format",
"allow-leading-underscore",
"allow-pascal-case",
"ban-keywords"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
}
}