@eslinted/defaults 12.9.0 → 12.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ignores/global.js +0 -2
- package/dist/ignores/global.js.map +1 -1
- package/dist/index.d.ts +170 -1435
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/index.d.ts +159 -817
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/scopes/css/enable.d.ts +2 -7
- package/dist/rules/scopes/css/enable.d.ts.map +1 -1
- package/dist/rules/scopes/css/enable.js +3 -19
- package/dist/rules/scopes/css/enable.js.map +1 -1
- package/dist/rules/scopes/css/index.d.ts +2 -7
- package/dist/rules/scopes/css/index.d.ts.map +1 -1
- package/dist/rules/scopes/enable.d.ts +35 -186
- package/dist/rules/scopes/enable.d.ts.map +1 -1
- package/dist/rules/scopes/enable.js +68 -329
- package/dist/rules/scopes/enable.js.map +1 -1
- package/dist/rules/scopes/enable.style.d.ts +42 -250
- package/dist/rules/scopes/enable.style.d.ts.map +1 -1
- package/dist/rules/scopes/enable.style.js +45 -388
- package/dist/rules/scopes/enable.style.js.map +1 -1
- package/dist/rules/scopes/html/index.d.ts +5 -18
- package/dist/rules/scopes/html/index.d.ts.map +1 -1
- package/dist/rules/scopes/html/plugin/index.d.ts +5 -18
- package/dist/rules/scopes/html/plugin/index.d.ts.map +1 -1
- package/dist/rules/scopes/html/plugin/index.js +7 -63
- package/dist/rules/scopes/html/plugin/index.js.map +1 -1
- package/dist/rules/scopes/index.d.ts +77 -436
- package/dist/rules/scopes/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/enable.js +2 -7
- package/dist/rules/scopes/json/enable.js.map +1 -1
- package/dist/rules/scopes/json/index.d.ts +7 -20
- package/dist/rules/scopes/json/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/extension.d.ts +7 -20
- package/dist/rules/scopes/json/plugin/extension.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/extension.js +9 -48
- package/dist/rules/scopes/json/plugin/extension.js.map +1 -1
- package/dist/rules/scopes/json/plugin/index.js +2 -9
- package/dist/rules/scopes/json/plugin/index.js.map +1 -1
- package/dist/rules/scopes/jsonc/plugin/index.js +1 -2
- package/dist/rules/scopes/jsonc/plugin/index.js.map +1 -1
- package/dist/rules/scopes/jsoncc/plugin/index.js +1 -2
- package/dist/rules/scopes/jsoncc/plugin/index.js.map +1 -1
- package/dist/rules/scopes/mocha/chai/expect.js +1 -5
- package/dist/rules/scopes/mocha/chai/expect.js.map +1 -1
- package/dist/rules/scopes/mocha/chai/index.d.ts +0 -2
- package/dist/rules/scopes/mocha/chai/index.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/chai/index.js +1 -4
- package/dist/rules/scopes/mocha/chai/index.js.map +1 -1
- package/dist/rules/scopes/mocha/disable.js +2 -3
- package/dist/rules/scopes/mocha/disable.js.map +1 -1
- package/dist/rules/scopes/mocha/enable.d.ts +3 -10
- package/dist/rules/scopes/mocha/enable.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/enable.js +4 -31
- package/dist/rules/scopes/mocha/enable.js.map +1 -1
- package/dist/rules/scopes/mocha/index.d.ts +3 -12
- package/dist/rules/scopes/mocha/index.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/disable.js +6 -9
- package/dist/rules/scopes/svelte/disable.js.map +1 -1
- package/dist/rules/scopes/svelte/enable.d.ts +19 -91
- package/dist/rules/scopes/svelte/enable.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/enable.js +23 -179
- package/dist/rules/scopes/svelte/enable.js.map +1 -1
- package/dist/rules/scopes/svelte/extension/disable.js +2 -3
- package/dist/rules/scopes/svelte/extension/disable.js.map +1 -1
- package/dist/rules/scopes/svelte/extension/index.d.ts +2 -7
- package/dist/rules/scopes/svelte/extension/index.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/extension/index.js +3 -13
- package/dist/rules/scopes/svelte/extension/index.js.map +1 -1
- package/dist/rules/scopes/svelte/index.d.ts +21 -98
- package/dist/rules/scopes/svelte/index.d.ts.map +1 -1
- package/dist/rules/scopes/ts/disable.js +4 -5
- package/dist/rules/scopes/ts/disable.js.map +1 -1
- package/dist/rules/scopes/ts/enable.d.ts +31 -163
- package/dist/rules/scopes/ts/enable.d.ts.map +1 -1
- package/dist/rules/scopes/ts/enable.js +34 -408
- package/dist/rules/scopes/ts/enable.js.map +1 -1
- package/dist/rules/scopes/ts/extension/disable.js +1 -18
- package/dist/rules/scopes/ts/extension/disable.js.map +1 -1
- package/dist/rules/scopes/ts/extension/index.d.ts +1 -20
- package/dist/rules/scopes/ts/extension/index.d.ts.map +1 -1
- package/dist/rules/scopes/ts/extension/index.js +2 -46
- package/dist/rules/scopes/ts/extension/index.js.map +1 -1
- package/dist/rules/scopes/ts/index.d.ts +32 -183
- package/dist/rules/scopes/ts/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/index.d.ts +12 -43
- package/dist/rules/scopes/yml/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/extension.d.ts +5 -22
- package/dist/rules/scopes/yml/plugin/extension.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/extension.js +9 -41
- package/dist/rules/scopes/yml/plugin/extension.js.map +1 -1
- package/dist/rules/scopes/yml/plugin/index.d.ts +7 -21
- package/dist/rules/scopes/yml/plugin/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/index.js +9 -64
- package/dist/rules/scopes/yml/plugin/index.js.map +1 -1
- package/dist/settings/registry/manifests/css.js +1 -3
- package/dist/settings/registry/manifests/css.js.map +1 -1
- package/dist/settings/registry/manifests/html.js +1 -2
- package/dist/settings/registry/manifests/html.js.map +1 -1
- package/dist/settings/registry/manifests/js.js +2 -6
- package/dist/settings/registry/manifests/js.js.map +1 -1
- package/dist/settings/registry/manifests/json.js +2 -2
- package/dist/settings/registry/manifests/json.js.map +1 -1
- package/dist/settings/registry/manifests/jsonc.js +2 -6
- package/dist/settings/registry/manifests/jsonc.js.map +1 -1
- package/dist/settings/registry/manifests/jsoncc.js +2 -6
- package/dist/settings/registry/manifests/jsoncc.js.map +1 -1
- package/dist/settings/registry/manifests/mocha.js +2 -6
- package/dist/settings/registry/manifests/mocha.js.map +1 -1
- package/dist/settings/registry/manifests/ts.js +7 -20
- package/dist/settings/registry/manifests/ts.js.map +1 -1
- package/dist/settings/registry/manifests/yml.js +1 -4
- package/dist/settings/registry/manifests/yml.js.map +1 -1
- package/package.json +1 -1
- package/src/rules/scopes/css/enable.ts +2 -13
- package/src/rules/scopes/enable.style.ts +67 -391
- package/src/rules/scopes/enable.ts +132 -318
- package/src/rules/scopes/html/plugin/index.ts +18 -40
- package/src/rules/scopes/json/plugin/extension.ts +9 -47
- package/src/rules/scopes/mocha/chai/index.ts +0 -2
- package/src/rules/scopes/mocha/enable.ts +3 -19
- package/src/rules/scopes/svelte/disable.ts +1 -1
- package/src/rules/scopes/svelte/enable.ts +22 -157
- package/src/rules/scopes/svelte/extension/index.ts +1 -11
- package/src/rules/scopes/ts/enable.ts +34 -424
- package/src/rules/scopes/ts/extension/index.ts +2 -27
- package/src/rules/scopes/yml/plugin/extension.ts +4 -37
- package/src/rules/scopes/yml/plugin/index.ts +8 -58
- package/tsconfig.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -32,33 +32,24 @@ export declare const defaults: {
|
|
|
32
32
|
readonly "array-callback-return": readonly [
|
|
33
33
|
"error",
|
|
34
34
|
{
|
|
35
|
-
readonly allowImplicit: false;
|
|
36
35
|
readonly checkForEach: true;
|
|
37
36
|
readonly allowVoid: true;
|
|
38
37
|
}
|
|
39
38
|
];
|
|
40
39
|
readonly "constructor-super": "error";
|
|
41
40
|
readonly "for-direction": "error";
|
|
42
|
-
readonly "getter-return":
|
|
43
|
-
"error",
|
|
44
|
-
{
|
|
45
|
-
readonly allowImplicit: false;
|
|
46
|
-
}
|
|
47
|
-
];
|
|
41
|
+
readonly "getter-return": "error";
|
|
48
42
|
readonly "no-async-promise-executor": "error";
|
|
49
43
|
readonly "no-await-in-loop": "error";
|
|
50
44
|
readonly "no-class-assign": "error";
|
|
51
45
|
readonly "no-compare-neg-zero": "error";
|
|
52
|
-
readonly "no-cond-assign":
|
|
53
|
-
"error",
|
|
54
|
-
"always"
|
|
55
|
-
];
|
|
46
|
+
readonly "no-cond-assign": "error";
|
|
56
47
|
readonly "no-const-assign": "error";
|
|
57
48
|
readonly "no-constant-binary-expression": "error";
|
|
58
49
|
readonly "no-constant-condition": readonly [
|
|
59
50
|
"error",
|
|
60
51
|
{
|
|
61
|
-
readonly checkLoops:
|
|
52
|
+
readonly checkLoops: "all";
|
|
62
53
|
}
|
|
63
54
|
];
|
|
64
55
|
readonly "no-constructor-return": "error";
|
|
@@ -77,46 +68,17 @@ export declare const defaults: {
|
|
|
77
68
|
}
|
|
78
69
|
];
|
|
79
70
|
readonly "no-empty-character-class": "error";
|
|
80
|
-
readonly "no-empty-pattern":
|
|
81
|
-
"error",
|
|
82
|
-
{
|
|
83
|
-
readonly allowObjectPatternsAsParameters: false;
|
|
84
|
-
}
|
|
85
|
-
];
|
|
71
|
+
readonly "no-empty-pattern": "error";
|
|
86
72
|
readonly "no-ex-assign": "error";
|
|
87
|
-
readonly "no-fallthrough":
|
|
88
|
-
"error",
|
|
89
|
-
{
|
|
90
|
-
readonly allowEmptyCase: true;
|
|
91
|
-
readonly reportUnusedFallthroughComment: true;
|
|
92
|
-
}
|
|
93
|
-
];
|
|
73
|
+
readonly "no-fallthrough": "error";
|
|
94
74
|
readonly "no-func-assign": "error";
|
|
95
75
|
readonly "no-import-assign": "error";
|
|
96
76
|
readonly "no-inner-declarations": readonly [
|
|
97
77
|
"error",
|
|
98
|
-
"both"
|
|
99
|
-
{
|
|
100
|
-
readonly blockScopedFunctions: "allow";
|
|
101
|
-
}
|
|
102
|
-
];
|
|
103
|
-
readonly "no-invalid-regexp": readonly [
|
|
104
|
-
"error",
|
|
105
|
-
{
|
|
106
|
-
readonly allowConstructorFlags: readonly [
|
|
107
|
-
];
|
|
108
|
-
}
|
|
109
|
-
];
|
|
110
|
-
readonly "no-irregular-whitespace": readonly [
|
|
111
|
-
"error",
|
|
112
|
-
{
|
|
113
|
-
readonly skipStrings: true;
|
|
114
|
-
readonly skipComments: true;
|
|
115
|
-
readonly skipRegExps: true;
|
|
116
|
-
readonly skipTemplates: true;
|
|
117
|
-
readonly skipJSXText: true;
|
|
118
|
-
}
|
|
78
|
+
"both"
|
|
119
79
|
];
|
|
80
|
+
readonly "no-invalid-regexp": "error";
|
|
81
|
+
readonly "no-irregular-whitespace": "error";
|
|
120
82
|
readonly "no-loss-of-precision": "error";
|
|
121
83
|
readonly "no-misleading-character-class": "error";
|
|
122
84
|
readonly "no-new-native-nonconstructor": "error";
|
|
@@ -128,12 +90,7 @@ export declare const defaults: {
|
|
|
128
90
|
}
|
|
129
91
|
];
|
|
130
92
|
readonly "no-prototype-builtins": "error";
|
|
131
|
-
readonly "no-self-assign":
|
|
132
|
-
"error",
|
|
133
|
-
{
|
|
134
|
-
readonly props: true;
|
|
135
|
-
}
|
|
136
|
-
];
|
|
93
|
+
readonly "no-self-assign": "error";
|
|
137
94
|
readonly "no-self-compare": "error";
|
|
138
95
|
readonly "no-setter-return": "error";
|
|
139
96
|
readonly "no-sparse-arrays": "error";
|
|
@@ -144,13 +101,7 @@ export declare const defaults: {
|
|
|
144
101
|
readonly "no-unexpected-multiline": "error";
|
|
145
102
|
readonly "no-unmodified-loop-condition": "error";
|
|
146
103
|
readonly "no-unreachable": "error";
|
|
147
|
-
readonly "no-unreachable-loop":
|
|
148
|
-
"error",
|
|
149
|
-
{
|
|
150
|
-
readonly ignore: readonly [
|
|
151
|
-
];
|
|
152
|
-
}
|
|
153
|
-
];
|
|
104
|
+
readonly "no-unreachable-loop": "error";
|
|
154
105
|
readonly "no-unsafe-finally": "error";
|
|
155
106
|
readonly "no-unsafe-negation": readonly [
|
|
156
107
|
"error",
|
|
@@ -165,41 +116,19 @@ export declare const defaults: {
|
|
|
165
116
|
}
|
|
166
117
|
];
|
|
167
118
|
readonly "no-unused-private-class-members": "error";
|
|
168
|
-
readonly "no-unused-vars":
|
|
169
|
-
"error",
|
|
170
|
-
{
|
|
171
|
-
readonly vars: "all";
|
|
172
|
-
readonly args: "all";
|
|
173
|
-
readonly caughtErrors: "all";
|
|
174
|
-
readonly ignoreRestSiblings: false;
|
|
175
|
-
readonly ignoreClassWithStaticInitBlock: false;
|
|
176
|
-
readonly reportUsedIgnorePattern: true;
|
|
177
|
-
}
|
|
178
|
-
];
|
|
119
|
+
readonly "no-unused-vars": "error";
|
|
179
120
|
readonly "no-use-before-define": readonly [
|
|
180
121
|
"error",
|
|
181
122
|
{
|
|
182
|
-
readonly functions: true;
|
|
183
|
-
readonly classes: true;
|
|
184
|
-
readonly variables: true;
|
|
185
|
-
readonly allowNamedExports: false;
|
|
186
|
-
readonly enums: true;
|
|
187
123
|
readonly typedefs: false;
|
|
188
|
-
readonly ignoreTypeReferences: true;
|
|
189
124
|
}
|
|
190
125
|
];
|
|
191
126
|
readonly "no-useless-assignment": "error";
|
|
192
127
|
readonly "no-useless-backreference": "error";
|
|
193
|
-
readonly "require-atomic-updates":
|
|
194
|
-
"error",
|
|
195
|
-
{
|
|
196
|
-
readonly allowProperties: false;
|
|
197
|
-
}
|
|
198
|
-
];
|
|
128
|
+
readonly "require-atomic-updates": "error";
|
|
199
129
|
readonly "use-isnan": readonly [
|
|
200
130
|
"error",
|
|
201
131
|
{
|
|
202
|
-
readonly enforceForSwitchCase: true;
|
|
203
132
|
readonly enforceForIndexOf: true;
|
|
204
133
|
}
|
|
205
134
|
];
|
|
@@ -212,60 +141,22 @@ export declare const defaults: {
|
|
|
212
141
|
readonly "accessor-pairs": readonly [
|
|
213
142
|
"error",
|
|
214
143
|
{
|
|
215
|
-
readonly setWithoutGet: true;
|
|
216
|
-
readonly getWithoutSet: false;
|
|
217
|
-
readonly enforceForClassMembers: true;
|
|
218
144
|
readonly enforceForTSTypes: true;
|
|
219
145
|
}
|
|
220
146
|
];
|
|
221
|
-
readonly "arrow-body-style":
|
|
222
|
-
"error",
|
|
223
|
-
"as-needed",
|
|
224
|
-
{
|
|
225
|
-
readonly requireReturnForObjectLiteral: true;
|
|
226
|
-
}
|
|
227
|
-
];
|
|
147
|
+
readonly "arrow-body-style": "error";
|
|
228
148
|
readonly "block-scoped-var": "error";
|
|
229
|
-
readonly
|
|
230
|
-
readonly "capitalized-comments": "off";
|
|
231
|
-
readonly "class-methods-use-this": "off";
|
|
232
|
-
readonly complexity: "off";
|
|
233
|
-
readonly "consistent-return": readonly [
|
|
234
|
-
"error",
|
|
235
|
-
{
|
|
236
|
-
readonly treatUndefinedAsUnspecified: false;
|
|
237
|
-
}
|
|
238
|
-
];
|
|
149
|
+
readonly "consistent-return": "error";
|
|
239
150
|
readonly "consistent-this": "error";
|
|
240
151
|
readonly curly: readonly [
|
|
241
152
|
"error",
|
|
242
153
|
"multi"
|
|
243
154
|
];
|
|
244
|
-
readonly "default-case": "off";
|
|
245
155
|
readonly "default-case-last": "error";
|
|
246
156
|
readonly "default-param-last": "error";
|
|
247
|
-
readonly "dot-notation":
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
readonly allowKeywords: true;
|
|
251
|
-
}
|
|
252
|
-
];
|
|
253
|
-
readonly eqeqeq: readonly [
|
|
254
|
-
"error",
|
|
255
|
-
"always"
|
|
256
|
-
];
|
|
257
|
-
readonly "func-name-matching": "off";
|
|
258
|
-
readonly "func-names": "off";
|
|
259
|
-
readonly "func-style": "off";
|
|
260
|
-
readonly "grouped-accessor-pairs": "off";
|
|
261
|
-
readonly "guard-for-in": "off";
|
|
262
|
-
readonly "id-denylist": "off";
|
|
263
|
-
readonly "id-length": "off";
|
|
264
|
-
readonly "id-match": "off";
|
|
265
|
-
readonly "init-declarations": readonly [
|
|
266
|
-
"error",
|
|
267
|
-
"always"
|
|
268
|
-
];
|
|
157
|
+
readonly "dot-notation": "error";
|
|
158
|
+
readonly eqeqeq: "error";
|
|
159
|
+
readonly "init-declarations": "error";
|
|
269
160
|
readonly "logical-assignment-operators": readonly [
|
|
270
161
|
"error",
|
|
271
162
|
"always",
|
|
@@ -273,38 +164,15 @@ export declare const defaults: {
|
|
|
273
164
|
readonly enforceForIfStatements: true;
|
|
274
165
|
}
|
|
275
166
|
];
|
|
276
|
-
readonly "max-classes-per-file": "off";
|
|
277
|
-
readonly "max-depth": "off";
|
|
278
|
-
readonly "max-lines": "off";
|
|
279
|
-
readonly "max-lines-per-function": "off";
|
|
280
|
-
readonly "max-nested-callbacks": "off";
|
|
281
|
-
readonly "max-params": "off";
|
|
282
|
-
readonly "max-statements": "off";
|
|
283
|
-
readonly "multiline-comment-style": "off";
|
|
284
|
-
readonly "new-cap": "off";
|
|
285
167
|
readonly "no-alert": "error";
|
|
286
168
|
readonly "no-array-constructor": "error";
|
|
287
|
-
readonly "no-bitwise":
|
|
288
|
-
"error",
|
|
289
|
-
{
|
|
290
|
-
readonly allow: readonly [
|
|
291
|
-
];
|
|
292
|
-
readonly int32Hint: true;
|
|
293
|
-
}
|
|
294
|
-
];
|
|
169
|
+
readonly "no-bitwise": "error";
|
|
295
170
|
readonly "no-caller": "error";
|
|
296
171
|
readonly "no-case-declarations": "error";
|
|
297
|
-
readonly "no-console": "off";
|
|
298
172
|
readonly "no-continue": "error";
|
|
299
173
|
readonly "no-delete-var": "error";
|
|
300
174
|
readonly "no-div-regex": "error";
|
|
301
|
-
readonly "no-
|
|
302
|
-
readonly "no-empty": readonly [
|
|
303
|
-
"error",
|
|
304
|
-
{
|
|
305
|
-
readonly allowEmptyCatch: false;
|
|
306
|
-
}
|
|
307
|
-
];
|
|
175
|
+
readonly "no-empty": "error";
|
|
308
176
|
readonly "no-empty-function": readonly [
|
|
309
177
|
"error",
|
|
310
178
|
{
|
|
@@ -319,19 +187,8 @@ export declare const defaults: {
|
|
|
319
187
|
];
|
|
320
188
|
readonly "no-empty-static-block": "error";
|
|
321
189
|
readonly "no-eq-null": "error";
|
|
322
|
-
readonly "no-eval":
|
|
323
|
-
|
|
324
|
-
{
|
|
325
|
-
readonly allowIndirect: false;
|
|
326
|
-
}
|
|
327
|
-
];
|
|
328
|
-
readonly "no-extend-native": readonly [
|
|
329
|
-
"error",
|
|
330
|
-
{
|
|
331
|
-
readonly exceptions: readonly [
|
|
332
|
-
];
|
|
333
|
-
}
|
|
334
|
-
];
|
|
190
|
+
readonly "no-eval": "error";
|
|
191
|
+
readonly "no-extend-native": "error";
|
|
335
192
|
readonly "no-extra-bind": "error";
|
|
336
193
|
readonly "no-extra-boolean-cast": readonly [
|
|
337
194
|
"error",
|
|
@@ -340,27 +197,14 @@ export declare const defaults: {
|
|
|
340
197
|
}
|
|
341
198
|
];
|
|
342
199
|
readonly "no-extra-label": "error";
|
|
343
|
-
readonly "no-global-assign":
|
|
344
|
-
"error",
|
|
345
|
-
{
|
|
346
|
-
readonly exceptions: readonly [
|
|
347
|
-
];
|
|
348
|
-
}
|
|
349
|
-
];
|
|
200
|
+
readonly "no-global-assign": "error";
|
|
350
201
|
readonly "no-implicit-coercion": readonly [
|
|
351
202
|
"error",
|
|
352
203
|
{
|
|
353
|
-
readonly boolean: true;
|
|
354
|
-
readonly number: true;
|
|
355
|
-
readonly string: true;
|
|
356
204
|
readonly disallowTemplateShorthand: true;
|
|
357
|
-
readonly allow: readonly [
|
|
358
|
-
];
|
|
359
205
|
}
|
|
360
206
|
];
|
|
361
|
-
readonly "no-implicit-globals": "off";
|
|
362
207
|
readonly "no-implied-eval": "error";
|
|
363
|
-
readonly "no-inline-comments": "off";
|
|
364
208
|
readonly "no-invalid-this": readonly [
|
|
365
209
|
"error",
|
|
366
210
|
{
|
|
@@ -370,18 +214,9 @@ export declare const defaults: {
|
|
|
370
214
|
readonly "no-iterator": "error";
|
|
371
215
|
readonly "no-label-var": "error";
|
|
372
216
|
readonly "no-lone-blocks": "error";
|
|
373
|
-
readonly "no-lonely-if": "off";
|
|
374
217
|
readonly "no-loop-func": "error";
|
|
375
|
-
readonly "no-
|
|
376
|
-
readonly "no-multi-assign": readonly [
|
|
377
|
-
"error",
|
|
378
|
-
{
|
|
379
|
-
readonly ignoreNonDeclaration: false;
|
|
380
|
-
}
|
|
381
|
-
];
|
|
218
|
+
readonly "no-multi-assign": "error";
|
|
382
219
|
readonly "no-multi-str": "error";
|
|
383
|
-
readonly "no-negated-condition": "off";
|
|
384
|
-
readonly "no-nested-ternary": "off";
|
|
385
220
|
readonly "no-new": "error";
|
|
386
221
|
readonly "no-new-func": "error";
|
|
387
222
|
readonly "no-new-wrappers": "error";
|
|
@@ -393,10 +228,6 @@ export declare const defaults: {
|
|
|
393
228
|
"error",
|
|
394
229
|
{
|
|
395
230
|
readonly props: true;
|
|
396
|
-
readonly ignorePropertyModificationsFor: readonly [
|
|
397
|
-
];
|
|
398
|
-
readonly ignorePropertyModificationsForRegex: readonly [
|
|
399
|
-
];
|
|
400
231
|
}
|
|
401
232
|
];
|
|
402
233
|
readonly "no-plusplus": readonly [
|
|
@@ -406,63 +237,23 @@ export declare const defaults: {
|
|
|
406
237
|
}
|
|
407
238
|
];
|
|
408
239
|
readonly "no-proto": "error";
|
|
409
|
-
readonly "no-redeclare": readonly [
|
|
410
|
-
"error",
|
|
411
|
-
{
|
|
412
|
-
readonly builtinGlobals: true;
|
|
413
|
-
}
|
|
414
|
-
];
|
|
415
|
-
readonly "no-regex-spaces": "off";
|
|
416
|
-
readonly "no-restricted-exports": "off";
|
|
417
|
-
readonly "no-restricted-globals": "off";
|
|
418
|
-
readonly "no-restricted-imports": "off";
|
|
419
|
-
readonly "no-restricted-properties": "off";
|
|
420
|
-
readonly "no-restricted-syntax": "off";
|
|
421
|
-
readonly "no-return-assign": "off";
|
|
422
240
|
readonly "no-script-url": "error";
|
|
423
|
-
readonly "no-sequences":
|
|
424
|
-
|
|
425
|
-
{
|
|
426
|
-
readonly allowInParentheses: true;
|
|
427
|
-
}
|
|
428
|
-
];
|
|
429
|
-
readonly "no-shadow": "off";
|
|
430
|
-
readonly "no-shadow-restricted-names": readonly [
|
|
431
|
-
"error",
|
|
432
|
-
{
|
|
433
|
-
readonly reportGlobalThis: false;
|
|
434
|
-
}
|
|
435
|
-
];
|
|
436
|
-
readonly "no-ternary": "off";
|
|
241
|
+
readonly "no-sequences": "error";
|
|
242
|
+
readonly "no-shadow-restricted-names": "error";
|
|
437
243
|
readonly "no-throw-literal": "error";
|
|
438
244
|
readonly "no-undef-init": "error";
|
|
439
|
-
readonly "no-
|
|
440
|
-
readonly "no-underscore-dangle": "off";
|
|
441
|
-
readonly "no-unneeded-ternary": readonly [
|
|
442
|
-
"error",
|
|
443
|
-
{
|
|
444
|
-
readonly defaultAssignment: false;
|
|
445
|
-
}
|
|
446
|
-
];
|
|
245
|
+
readonly "no-unneeded-ternary": "error";
|
|
447
246
|
readonly "no-unused-expressions": readonly [
|
|
448
247
|
"error",
|
|
449
248
|
{
|
|
450
249
|
readonly allowShortCircuit: true;
|
|
451
250
|
readonly allowTernary: true;
|
|
452
|
-
readonly allowTaggedTemplates: true;
|
|
453
|
-
readonly enforceForJSX: false;
|
|
454
|
-
readonly ignoreDirectives: false;
|
|
455
251
|
}
|
|
456
252
|
];
|
|
457
253
|
readonly "no-unused-labels": "error";
|
|
458
254
|
readonly "no-useless-call": "error";
|
|
459
255
|
readonly "no-useless-catch": "error";
|
|
460
|
-
readonly "no-useless-computed-key":
|
|
461
|
-
"error",
|
|
462
|
-
{
|
|
463
|
-
readonly enforceForClassMembers: true;
|
|
464
|
-
}
|
|
465
|
-
];
|
|
256
|
+
readonly "no-useless-computed-key": "error";
|
|
466
257
|
readonly "no-useless-concat": "error";
|
|
467
258
|
readonly "no-useless-constructor": "error";
|
|
468
259
|
readonly "no-useless-escape": readonly [
|
|
@@ -473,14 +264,7 @@ export declare const defaults: {
|
|
|
473
264
|
];
|
|
474
265
|
}
|
|
475
266
|
];
|
|
476
|
-
readonly "no-useless-rename":
|
|
477
|
-
"error",
|
|
478
|
-
{
|
|
479
|
-
readonly ignoreImport: false;
|
|
480
|
-
readonly ignoreExport: false;
|
|
481
|
-
readonly ignoreDestructuring: false;
|
|
482
|
-
}
|
|
483
|
-
];
|
|
267
|
+
readonly "no-useless-rename": "error";
|
|
484
268
|
readonly "no-useless-return": "error";
|
|
485
269
|
readonly "no-var": "error";
|
|
486
270
|
readonly "no-void": readonly [
|
|
@@ -489,71 +273,41 @@ export declare const defaults: {
|
|
|
489
273
|
readonly allowAsStatement: true;
|
|
490
274
|
}
|
|
491
275
|
];
|
|
492
|
-
readonly "no-warning-comments": "off";
|
|
493
276
|
readonly "no-with": "error";
|
|
494
|
-
readonly "object-shorthand":
|
|
495
|
-
"error",
|
|
496
|
-
"always",
|
|
497
|
-
{
|
|
498
|
-
readonly avoidQuotes: true;
|
|
499
|
-
readonly ignoreConstructors: false;
|
|
500
|
-
readonly avoidExplicitReturnArrows: false;
|
|
501
|
-
}
|
|
502
|
-
];
|
|
277
|
+
readonly "object-shorthand": "error";
|
|
503
278
|
readonly "one-var": readonly [
|
|
504
279
|
"error",
|
|
505
280
|
{
|
|
506
281
|
readonly var: "consecutive";
|
|
507
282
|
readonly let: "consecutive";
|
|
508
283
|
readonly const: "consecutive";
|
|
284
|
+
readonly using: "consecutive";
|
|
285
|
+
readonly awaitUsing: "consecutive";
|
|
509
286
|
readonly separateRequires: true;
|
|
510
287
|
}
|
|
511
288
|
];
|
|
512
|
-
readonly "operator-assignment":
|
|
513
|
-
|
|
514
|
-
"always"
|
|
515
|
-
];
|
|
516
|
-
readonly "prefer-arrow-callback": readonly [
|
|
517
|
-
"error",
|
|
518
|
-
{
|
|
519
|
-
readonly allowNamedFunctions: false;
|
|
520
|
-
readonly allowUnboundThis: true;
|
|
521
|
-
}
|
|
522
|
-
];
|
|
289
|
+
readonly "operator-assignment": "error";
|
|
290
|
+
readonly "prefer-arrow-callback": "error";
|
|
523
291
|
readonly "prefer-const": readonly [
|
|
524
292
|
"error",
|
|
525
293
|
{
|
|
526
294
|
readonly destructuring: "all";
|
|
527
|
-
readonly ignoreReadBeforeAssign: false;
|
|
528
295
|
}
|
|
529
296
|
];
|
|
530
297
|
readonly "prefer-destructuring": readonly [
|
|
531
298
|
"error",
|
|
532
299
|
{
|
|
533
|
-
readonly VariableDeclarator: {
|
|
534
|
-
readonly array: true;
|
|
535
|
-
readonly object: true;
|
|
536
|
-
};
|
|
537
300
|
readonly AssignmentExpression: {
|
|
538
301
|
readonly array: false;
|
|
539
302
|
readonly object: false;
|
|
540
303
|
};
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
readonly enforceForRenamedProperties: true;
|
|
544
304
|
}
|
|
545
305
|
];
|
|
546
306
|
readonly "prefer-exponentiation-operator": "error";
|
|
547
|
-
readonly "prefer-named-capture-group": "off";
|
|
548
307
|
readonly "prefer-numeric-literals": "error";
|
|
549
308
|
readonly "prefer-object-has-own": "error";
|
|
550
309
|
readonly "prefer-object-spread": "error";
|
|
551
|
-
readonly "prefer-promise-reject-errors":
|
|
552
|
-
"error",
|
|
553
|
-
{
|
|
554
|
-
readonly allowEmptyReject: false;
|
|
555
|
-
}
|
|
556
|
-
];
|
|
310
|
+
readonly "prefer-promise-reject-errors": "error";
|
|
557
311
|
readonly "prefer-regex-literals": readonly [
|
|
558
312
|
"error",
|
|
559
313
|
{
|
|
@@ -562,7 +316,6 @@ export declare const defaults: {
|
|
|
562
316
|
];
|
|
563
317
|
readonly "prefer-rest-params": "error";
|
|
564
318
|
readonly "prefer-spread": "error";
|
|
565
|
-
readonly "prefer-template": "off";
|
|
566
319
|
readonly radix: readonly [
|
|
567
320
|
"error",
|
|
568
321
|
"as-needed"
|
|
@@ -570,74 +323,28 @@ export declare const defaults: {
|
|
|
570
323
|
readonly "require-await": "error";
|
|
571
324
|
readonly "require-unicode-regexp": "error";
|
|
572
325
|
readonly "require-yield": "error";
|
|
573
|
-
readonly "sort-imports": "off";
|
|
574
|
-
readonly "sort-keys": "off";
|
|
575
|
-
readonly "sort-vars": "off";
|
|
576
|
-
readonly strict: "off";
|
|
577
|
-
readonly "symbol-description": "off";
|
|
578
326
|
readonly "vars-on-top": "error";
|
|
579
|
-
readonly yoda:
|
|
580
|
-
"error",
|
|
581
|
-
"never",
|
|
582
|
-
{
|
|
583
|
-
readonly exceptRange: false;
|
|
584
|
-
readonly onlyEquality: false;
|
|
585
|
-
}
|
|
586
|
-
];
|
|
587
|
-
readonly "unicode-bom": "off";
|
|
327
|
+
readonly yoda: "error";
|
|
588
328
|
};
|
|
589
329
|
} | {
|
|
590
330
|
id: "enable/style";
|
|
591
331
|
rules: {
|
|
592
|
-
readonly "@stylistic/array-bracket-newline":
|
|
593
|
-
|
|
594
|
-
{
|
|
595
|
-
readonly multiline: true;
|
|
596
|
-
readonly minItems: null;
|
|
597
|
-
}
|
|
598
|
-
];
|
|
599
|
-
readonly "@stylistic/array-bracket-spacing": readonly [
|
|
600
|
-
"error",
|
|
601
|
-
"never",
|
|
602
|
-
{
|
|
603
|
-
readonly singleValue: false;
|
|
604
|
-
readonly objectsInArrays: false;
|
|
605
|
-
readonly arraysInArrays: false;
|
|
606
|
-
}
|
|
607
|
-
];
|
|
332
|
+
readonly "@stylistic/array-bracket-newline": "error";
|
|
333
|
+
readonly "@stylistic/array-bracket-spacing": "error";
|
|
608
334
|
readonly "@stylistic/array-element-newline": readonly [
|
|
609
335
|
"error",
|
|
610
336
|
{
|
|
611
|
-
readonly
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
readonly minItems: 3;
|
|
615
|
-
};
|
|
616
|
-
readonly ArrayPattern: {
|
|
617
|
-
readonly consistent: true;
|
|
618
|
-
readonly multiline: true;
|
|
619
|
-
readonly minItems: 3;
|
|
620
|
-
};
|
|
337
|
+
readonly consistent: true;
|
|
338
|
+
readonly multiline: true;
|
|
339
|
+
readonly minItems: 3;
|
|
621
340
|
}
|
|
622
341
|
];
|
|
623
342
|
readonly "@stylistic/arrow-parens": readonly [
|
|
624
343
|
"error",
|
|
625
|
-
"as-needed"
|
|
626
|
-
{
|
|
627
|
-
readonly requireForBlockBody: false;
|
|
628
|
-
}
|
|
629
|
-
];
|
|
630
|
-
readonly "@stylistic/arrow-spacing": readonly [
|
|
631
|
-
"error",
|
|
632
|
-
{
|
|
633
|
-
readonly before: true;
|
|
634
|
-
readonly after: true;
|
|
635
|
-
}
|
|
636
|
-
];
|
|
637
|
-
readonly "@stylistic/block-spacing": readonly [
|
|
638
|
-
"error",
|
|
639
|
-
"always"
|
|
344
|
+
"as-needed"
|
|
640
345
|
];
|
|
346
|
+
readonly "@stylistic/arrow-spacing": "error";
|
|
347
|
+
readonly "@stylistic/block-spacing": "error";
|
|
641
348
|
readonly "@stylistic/brace-style": readonly [
|
|
642
349
|
"error",
|
|
643
350
|
"stroustrup",
|
|
@@ -649,159 +356,45 @@ export declare const defaults: {
|
|
|
649
356
|
"error",
|
|
650
357
|
"always-multiline"
|
|
651
358
|
];
|
|
652
|
-
readonly "@stylistic/comma-spacing":
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
readonly after: true;
|
|
657
|
-
}
|
|
658
|
-
];
|
|
659
|
-
readonly "@stylistic/comma-style": readonly [
|
|
660
|
-
"error",
|
|
661
|
-
"last",
|
|
662
|
-
{
|
|
663
|
-
readonly exceptions: {
|
|
664
|
-
readonly ArrayExpression: false;
|
|
665
|
-
readonly ArrayPattern: false;
|
|
666
|
-
readonly ArrowFunctionExpression: false;
|
|
667
|
-
readonly CallExpression: false;
|
|
668
|
-
readonly FunctionDeclaration: false;
|
|
669
|
-
readonly FunctionExpression: false;
|
|
670
|
-
readonly ImportDeclaration: false;
|
|
671
|
-
readonly ObjectExpression: false;
|
|
672
|
-
readonly ObjectPattern: false;
|
|
673
|
-
readonly VariableDeclaration: false;
|
|
674
|
-
readonly NewExpression: false;
|
|
675
|
-
readonly ExportAllDeclaration: false;
|
|
676
|
-
readonly ExportNamedDeclaration: false;
|
|
677
|
-
readonly ImportExpression: false;
|
|
678
|
-
readonly SequenceExpression: false;
|
|
679
|
-
readonly ClassDeclaration: false;
|
|
680
|
-
readonly ClassExpression: false;
|
|
681
|
-
readonly TSDeclareFunction: false;
|
|
682
|
-
readonly TSFunctionType: false;
|
|
683
|
-
readonly TSConstructorType: false;
|
|
684
|
-
readonly TSEmptyBodyFunctionExpression: false;
|
|
685
|
-
readonly TSMethodSignature: false;
|
|
686
|
-
readonly TSCallSignatureDeclaration: false;
|
|
687
|
-
readonly TSConstructSignatureDeclaration: false;
|
|
688
|
-
readonly TSEnumBody: false;
|
|
689
|
-
readonly TSTypeLiteral: false;
|
|
690
|
-
readonly TSInterfaceBody: false;
|
|
691
|
-
readonly TSIndexSignature: false;
|
|
692
|
-
readonly TSInterfaceDeclaration: false;
|
|
693
|
-
readonly TSTupleType: false;
|
|
694
|
-
readonly TSTypeParameterDeclaration: false;
|
|
695
|
-
readonly TSTypeParameterInstantiation: false;
|
|
696
|
-
};
|
|
697
|
-
}
|
|
698
|
-
];
|
|
699
|
-
readonly "@stylistic/computed-property-spacing": readonly [
|
|
700
|
-
"error",
|
|
701
|
-
"never",
|
|
702
|
-
{
|
|
703
|
-
readonly enforceForClassMembers: true;
|
|
704
|
-
}
|
|
705
|
-
];
|
|
706
|
-
readonly "@stylistic/curly-newline": readonly [
|
|
707
|
-
"error",
|
|
708
|
-
{
|
|
709
|
-
readonly consistent: true;
|
|
710
|
-
}
|
|
711
|
-
];
|
|
359
|
+
readonly "@stylistic/comma-spacing": "error";
|
|
360
|
+
readonly "@stylistic/comma-style": "error";
|
|
361
|
+
readonly "@stylistic/computed-property-spacing": "error";
|
|
362
|
+
readonly "@stylistic/curly-newline": "error";
|
|
712
363
|
readonly "@stylistic/dot-location": readonly [
|
|
713
364
|
"error",
|
|
714
365
|
"property"
|
|
715
366
|
];
|
|
716
|
-
readonly "@stylistic/eol-last":
|
|
717
|
-
"error",
|
|
718
|
-
"always"
|
|
719
|
-
];
|
|
367
|
+
readonly "@stylistic/eol-last": "error";
|
|
720
368
|
readonly "@stylistic/function-call-argument-newline": readonly [
|
|
721
369
|
"error",
|
|
722
370
|
"consistent"
|
|
723
371
|
];
|
|
724
|
-
readonly "@stylistic/function-call-spacing":
|
|
725
|
-
"error",
|
|
726
|
-
"never"
|
|
727
|
-
];
|
|
372
|
+
readonly "@stylistic/function-call-spacing": "error";
|
|
728
373
|
readonly "@stylistic/function-paren-newline": readonly [
|
|
729
374
|
"error",
|
|
730
375
|
"multiline-arguments"
|
|
731
376
|
];
|
|
732
|
-
readonly "@stylistic/generator-star-spacing":
|
|
733
|
-
|
|
734
|
-
{
|
|
735
|
-
readonly before: true;
|
|
736
|
-
readonly after: false;
|
|
737
|
-
}
|
|
738
|
-
];
|
|
739
|
-
readonly "@stylistic/implicit-arrow-linebreak": readonly [
|
|
740
|
-
"error",
|
|
741
|
-
"beside"
|
|
742
|
-
];
|
|
377
|
+
readonly "@stylistic/generator-star-spacing": "error";
|
|
378
|
+
readonly "@stylistic/implicit-arrow-linebreak": "error";
|
|
743
379
|
readonly "@stylistic/indent": readonly [
|
|
744
380
|
"error",
|
|
745
381
|
2,
|
|
746
382
|
{
|
|
747
|
-
readonly ignoredNodes: readonly [
|
|
748
|
-
];
|
|
749
|
-
readonly SwitchCase: 1;
|
|
750
383
|
readonly VariableDeclarator: {
|
|
751
384
|
readonly var: 0;
|
|
752
385
|
readonly let: 0;
|
|
753
386
|
readonly const: 0;
|
|
754
387
|
};
|
|
755
388
|
readonly outerIIFEBody: 0;
|
|
756
|
-
readonly MemberExpression: 1;
|
|
757
|
-
readonly FunctionDeclaration: {
|
|
758
|
-
readonly parameters: 1;
|
|
759
|
-
readonly body: 1;
|
|
760
|
-
readonly returnType: 1;
|
|
761
|
-
};
|
|
762
|
-
readonly FunctionExpression: {
|
|
763
|
-
readonly parameters: 1;
|
|
764
|
-
readonly body: 1;
|
|
765
|
-
readonly returnType: 1;
|
|
766
|
-
};
|
|
767
|
-
readonly StaticBlock: {
|
|
768
|
-
readonly body: 1;
|
|
769
|
-
};
|
|
770
|
-
readonly CallExpression: {
|
|
771
|
-
readonly arguments: 1;
|
|
772
|
-
};
|
|
773
|
-
readonly ArrayExpression: 1;
|
|
774
|
-
readonly ObjectExpression: 1;
|
|
775
|
-
readonly ImportDeclaration: 1;
|
|
776
|
-
readonly flatTernaryExpressions: false;
|
|
777
389
|
readonly offsetTernaryExpressions: true;
|
|
778
|
-
readonly offsetTernaryExpressionsOffsetCallExpressions: true;
|
|
779
|
-
readonly ignoreComments: false;
|
|
780
|
-
readonly tabLength: 2;
|
|
781
390
|
}
|
|
782
391
|
];
|
|
783
392
|
readonly "@stylistic/indent-binary-ops": readonly [
|
|
784
393
|
"error",
|
|
785
394
|
2
|
|
786
395
|
];
|
|
787
|
-
readonly "@stylistic/key-spacing":
|
|
788
|
-
|
|
789
|
-
{
|
|
790
|
-
readonly beforeColon: false;
|
|
791
|
-
readonly afterColon: true;
|
|
792
|
-
readonly mode: "strict";
|
|
793
|
-
readonly ignoredNodes: readonly [
|
|
794
|
-
];
|
|
795
|
-
}
|
|
796
|
-
];
|
|
797
|
-
readonly "@stylistic/keyword-spacing": readonly [
|
|
798
|
-
"error",
|
|
799
|
-
{
|
|
800
|
-
readonly before: true;
|
|
801
|
-
readonly after: true;
|
|
802
|
-
readonly overrides: {};
|
|
803
|
-
}
|
|
804
|
-
];
|
|
396
|
+
readonly "@stylistic/key-spacing": "error";
|
|
397
|
+
readonly "@stylistic/keyword-spacing": "error";
|
|
805
398
|
readonly "@stylistic/lines-between-class-members": readonly [
|
|
806
399
|
"error",
|
|
807
400
|
{
|
|
@@ -822,17 +415,12 @@ export declare const defaults: {
|
|
|
822
415
|
readonly blankLine: "always";
|
|
823
416
|
}
|
|
824
417
|
];
|
|
825
|
-
},
|
|
826
|
-
{
|
|
827
|
-
readonly exceptAfterSingleLine: false;
|
|
828
|
-
readonly exceptAfterOverload: true;
|
|
829
418
|
}
|
|
830
419
|
];
|
|
831
420
|
readonly "@stylistic/max-len": readonly [
|
|
832
421
|
"error",
|
|
833
422
|
{
|
|
834
423
|
readonly code: 300;
|
|
835
|
-
readonly tabWidth: 2;
|
|
836
424
|
readonly ignoreComments: true;
|
|
837
425
|
readonly ignoreTrailingComments: true;
|
|
838
426
|
readonly ignoreUrls: true;
|
|
@@ -841,72 +429,24 @@ export declare const defaults: {
|
|
|
841
429
|
readonly ignoreRegExpLiterals: true;
|
|
842
430
|
}
|
|
843
431
|
];
|
|
844
|
-
readonly "@stylistic/max-statements-per-line":
|
|
845
|
-
|
|
846
|
-
{
|
|
847
|
-
readonly max: 1;
|
|
848
|
-
}
|
|
849
|
-
];
|
|
850
|
-
readonly "@stylistic/member-delimiter-style": readonly [
|
|
851
|
-
"error",
|
|
852
|
-
{
|
|
853
|
-
readonly multiline: {
|
|
854
|
-
readonly delimiter: "semi";
|
|
855
|
-
readonly requireLast: true;
|
|
856
|
-
};
|
|
857
|
-
readonly singleline: {
|
|
858
|
-
readonly delimiter: "semi";
|
|
859
|
-
readonly requireLast: false;
|
|
860
|
-
};
|
|
861
|
-
readonly multilineDetection: "brackets";
|
|
862
|
-
}
|
|
863
|
-
];
|
|
432
|
+
readonly "@stylistic/max-statements-per-line": "error";
|
|
433
|
+
readonly "@stylistic/member-delimiter-style": "error";
|
|
864
434
|
readonly "@stylistic/multiline-ternary": readonly [
|
|
865
435
|
"error",
|
|
866
436
|
"always-multiline"
|
|
867
437
|
];
|
|
868
|
-
readonly "@stylistic/
|
|
869
|
-
|
|
870
|
-
"never"
|
|
871
|
-
];
|
|
872
|
-
readonly "@stylistic/newline-per-chained-call": readonly [
|
|
873
|
-
"error",
|
|
874
|
-
{
|
|
875
|
-
readonly ignoreChainWithDepth: 2;
|
|
876
|
-
}
|
|
877
|
-
];
|
|
878
|
-
readonly "@stylistic/no-extra-parens": readonly [
|
|
879
|
-
"error",
|
|
880
|
-
"all",
|
|
881
|
-
{
|
|
882
|
-
readonly conditionalAssign: true;
|
|
883
|
-
readonly returnAssign: true;
|
|
884
|
-
readonly nestedBinaryExpressions: true;
|
|
885
|
-
readonly ternaryOperandBinaryExpressions: true;
|
|
886
|
-
readonly enforceForArrowConditionals: true;
|
|
887
|
-
readonly enforceForSequenceExpressions: true;
|
|
888
|
-
readonly enforceForNewInMemberExpressions: true;
|
|
889
|
-
readonly enforceForFunctionPrototypeMethods: true;
|
|
890
|
-
readonly nestedConditionalExpressions: true;
|
|
891
|
-
readonly allowNodesInSpreadElement: {
|
|
892
|
-
readonly ConditionalExpression: false;
|
|
893
|
-
readonly LogicalExpression: false;
|
|
894
|
-
readonly AwaitExpression: false;
|
|
895
|
-
};
|
|
896
|
-
}
|
|
897
|
-
];
|
|
438
|
+
readonly "@stylistic/newline-per-chained-call": "error";
|
|
439
|
+
readonly "@stylistic/no-extra-parens": "error";
|
|
898
440
|
readonly "@stylistic/no-extra-semi": "error";
|
|
899
441
|
readonly "@stylistic/no-floating-decimal": "error";
|
|
900
442
|
readonly "@stylistic/no-mixed-spaces-and-tabs": "error";
|
|
901
443
|
readonly "@stylistic/no-multi-spaces": readonly [
|
|
902
444
|
"error",
|
|
903
445
|
{
|
|
904
|
-
readonly ignoreEOLComments: false;
|
|
905
446
|
readonly exceptions: {
|
|
906
447
|
readonly Property: false;
|
|
907
448
|
readonly ImportAttributes: false;
|
|
908
449
|
};
|
|
909
|
-
readonly includeTabs: true;
|
|
910
450
|
}
|
|
911
451
|
];
|
|
912
452
|
readonly "@stylistic/no-multiple-empty-lines": readonly [
|
|
@@ -917,74 +457,24 @@ export declare const defaults: {
|
|
|
917
457
|
readonly maxEOF: 0;
|
|
918
458
|
}
|
|
919
459
|
];
|
|
920
|
-
readonly "@stylistic/no-tabs":
|
|
921
|
-
|
|
922
|
-
{
|
|
923
|
-
readonly allowIndentationTabs: false;
|
|
924
|
-
}
|
|
925
|
-
];
|
|
926
|
-
readonly "@stylistic/no-trailing-spaces": readonly [
|
|
927
|
-
"error",
|
|
928
|
-
{
|
|
929
|
-
readonly skipBlankLines: false;
|
|
930
|
-
readonly ignoreComments: false;
|
|
931
|
-
}
|
|
932
|
-
];
|
|
460
|
+
readonly "@stylistic/no-tabs": "error";
|
|
461
|
+
readonly "@stylistic/no-trailing-spaces": "error";
|
|
933
462
|
readonly "@stylistic/no-whitespace-before-property": "error";
|
|
934
463
|
readonly "@stylistic/nonblock-statement-body-position": readonly [
|
|
935
464
|
"error",
|
|
936
|
-
"below"
|
|
937
|
-
{
|
|
938
|
-
readonly overrides: {};
|
|
939
|
-
}
|
|
465
|
+
"below"
|
|
940
466
|
];
|
|
941
467
|
readonly "@stylistic/object-curly-newline": readonly [
|
|
942
468
|
"error",
|
|
943
469
|
{
|
|
944
|
-
readonly
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
readonly minProperties: 3;
|
|
948
|
-
};
|
|
949
|
-
readonly ObjectPattern: {
|
|
950
|
-
readonly consistent: true;
|
|
951
|
-
readonly multiline: true;
|
|
952
|
-
readonly minProperties: 3;
|
|
953
|
-
};
|
|
954
|
-
readonly ImportDeclaration: {
|
|
955
|
-
readonly consistent: true;
|
|
956
|
-
readonly multiline: true;
|
|
957
|
-
readonly minProperties: 3;
|
|
958
|
-
};
|
|
959
|
-
readonly ExportDeclaration: {
|
|
960
|
-
readonly consistent: true;
|
|
961
|
-
readonly multiline: true;
|
|
962
|
-
readonly minProperties: 3;
|
|
963
|
-
};
|
|
964
|
-
readonly TSTypeLiteral: {
|
|
965
|
-
readonly consistent: true;
|
|
966
|
-
readonly multiline: true;
|
|
967
|
-
readonly minProperties: 3;
|
|
968
|
-
};
|
|
969
|
-
readonly TSInterfaceBody: {
|
|
970
|
-
readonly consistent: true;
|
|
971
|
-
readonly multiline: true;
|
|
972
|
-
readonly minProperties: 3;
|
|
973
|
-
};
|
|
974
|
-
readonly TSEnumBody: {
|
|
975
|
-
readonly consistent: true;
|
|
976
|
-
readonly multiline: true;
|
|
977
|
-
readonly minProperties: 3;
|
|
978
|
-
};
|
|
470
|
+
readonly consistent: true;
|
|
471
|
+
readonly multiline: true;
|
|
472
|
+
readonly minProperties: 3;
|
|
979
473
|
}
|
|
980
474
|
];
|
|
981
475
|
readonly "@stylistic/object-curly-spacing": readonly [
|
|
982
476
|
"error",
|
|
983
|
-
"always"
|
|
984
|
-
{
|
|
985
|
-
readonly arraysInObjects: true;
|
|
986
|
-
readonly objectsInObjects: true;
|
|
987
|
-
}
|
|
477
|
+
"always"
|
|
988
478
|
];
|
|
989
479
|
readonly "@stylistic/object-property-newline": "error";
|
|
990
480
|
readonly "@stylistic/one-var-declaration-per-line": readonly [
|
|
@@ -993,10 +483,7 @@ export declare const defaults: {
|
|
|
993
483
|
];
|
|
994
484
|
readonly "@stylistic/operator-linebreak": readonly [
|
|
995
485
|
"error",
|
|
996
|
-
"before"
|
|
997
|
-
{
|
|
998
|
-
readonly overrides: {};
|
|
999
|
-
}
|
|
486
|
+
"before"
|
|
1000
487
|
];
|
|
1001
488
|
readonly "@stylistic/padded-blocks": readonly [
|
|
1002
489
|
"error",
|
|
@@ -1221,8 +708,6 @@ export declare const defaults: {
|
|
|
1221
708
|
"as-needed",
|
|
1222
709
|
{
|
|
1223
710
|
readonly keywords: true;
|
|
1224
|
-
readonly unnecessary: true;
|
|
1225
|
-
readonly numbers: false;
|
|
1226
711
|
}
|
|
1227
712
|
];
|
|
1228
713
|
readonly "@stylistic/quotes": readonly [
|
|
@@ -1231,68 +716,22 @@ export declare const defaults: {
|
|
|
1231
716
|
{
|
|
1232
717
|
readonly avoidEscape: true;
|
|
1233
718
|
readonly allowTemplateLiterals: "always";
|
|
1234
|
-
readonly ignoreStringLiterals: false;
|
|
1235
|
-
}
|
|
1236
|
-
];
|
|
1237
|
-
readonly "@stylistic/rest-spread-spacing": readonly [
|
|
1238
|
-
"error",
|
|
1239
|
-
"never"
|
|
1240
|
-
];
|
|
1241
|
-
readonly "@stylistic/semi": readonly [
|
|
1242
|
-
"error",
|
|
1243
|
-
"always",
|
|
1244
|
-
{
|
|
1245
|
-
readonly omitLastInOneLineBlock: false;
|
|
1246
|
-
readonly omitLastInOneLineClassBody: false;
|
|
1247
|
-
}
|
|
1248
|
-
];
|
|
1249
|
-
readonly "@stylistic/semi-spacing": readonly [
|
|
1250
|
-
"error",
|
|
1251
|
-
{
|
|
1252
|
-
readonly before: false;
|
|
1253
|
-
readonly after: true;
|
|
1254
|
-
}
|
|
1255
|
-
];
|
|
1256
|
-
readonly "@stylistic/semi-style": readonly [
|
|
1257
|
-
"error",
|
|
1258
|
-
"last"
|
|
1259
|
-
];
|
|
1260
|
-
readonly "@stylistic/space-before-blocks": readonly [
|
|
1261
|
-
"error",
|
|
1262
|
-
{
|
|
1263
|
-
readonly functions: "always";
|
|
1264
|
-
readonly keywords: "always";
|
|
1265
|
-
readonly classes: "always";
|
|
1266
719
|
}
|
|
1267
720
|
];
|
|
721
|
+
readonly "@stylistic/rest-spread-spacing": "error";
|
|
722
|
+
readonly "@stylistic/semi": "error";
|
|
723
|
+
readonly "@stylistic/semi-spacing": "error";
|
|
724
|
+
readonly "@stylistic/semi-style": "error";
|
|
725
|
+
readonly "@stylistic/space-before-blocks": "error";
|
|
1268
726
|
readonly "@stylistic/space-before-function-paren": readonly [
|
|
1269
727
|
"error",
|
|
1270
728
|
{
|
|
1271
|
-
readonly anonymous: "always";
|
|
1272
729
|
readonly named: "never";
|
|
1273
|
-
readonly asyncArrow: "always";
|
|
1274
|
-
readonly catch: "always";
|
|
1275
|
-
}
|
|
1276
|
-
];
|
|
1277
|
-
readonly "@stylistic/space-in-parens": readonly [
|
|
1278
|
-
"error",
|
|
1279
|
-
"never"
|
|
1280
|
-
];
|
|
1281
|
-
readonly "@stylistic/space-infix-ops": readonly [
|
|
1282
|
-
"error",
|
|
1283
|
-
{
|
|
1284
|
-
readonly int32Hint: true;
|
|
1285
|
-
readonly ignoreTypes: false;
|
|
1286
|
-
}
|
|
1287
|
-
];
|
|
1288
|
-
readonly "@stylistic/space-unary-ops": readonly [
|
|
1289
|
-
"error",
|
|
1290
|
-
{
|
|
1291
|
-
readonly words: true;
|
|
1292
|
-
readonly nonwords: false;
|
|
1293
|
-
readonly overrides: {};
|
|
1294
730
|
}
|
|
1295
731
|
];
|
|
732
|
+
readonly "@stylistic/space-in-parens": "error";
|
|
733
|
+
readonly "@stylistic/space-infix-ops": "error";
|
|
734
|
+
readonly "@stylistic/space-unary-ops": "error";
|
|
1296
735
|
readonly "@stylistic/spaced-comment": readonly [
|
|
1297
736
|
"error",
|
|
1298
737
|
"always",
|
|
@@ -1328,21 +767,9 @@ export declare const defaults: {
|
|
|
1328
767
|
};
|
|
1329
768
|
}
|
|
1330
769
|
];
|
|
1331
|
-
readonly "@stylistic/switch-colon-spacing":
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
readonly after: true;
|
|
1335
|
-
readonly before: false;
|
|
1336
|
-
}
|
|
1337
|
-
];
|
|
1338
|
-
readonly "@stylistic/template-curly-spacing": readonly [
|
|
1339
|
-
"error",
|
|
1340
|
-
"never"
|
|
1341
|
-
];
|
|
1342
|
-
readonly "@stylistic/template-tag-spacing": readonly [
|
|
1343
|
-
"error",
|
|
1344
|
-
"never"
|
|
1345
|
-
];
|
|
770
|
+
readonly "@stylistic/switch-colon-spacing": "error";
|
|
771
|
+
readonly "@stylistic/template-curly-spacing": "error";
|
|
772
|
+
readonly "@stylistic/template-tag-spacing": "error";
|
|
1346
773
|
readonly "@stylistic/type-annotation-spacing": readonly [
|
|
1347
774
|
"error",
|
|
1348
775
|
{
|
|
@@ -1366,13 +793,7 @@ export declare const defaults: {
|
|
|
1366
793
|
}
|
|
1367
794
|
];
|
|
1368
795
|
readonly "@stylistic/wrap-regex": "error";
|
|
1369
|
-
readonly "@stylistic/yield-star-spacing":
|
|
1370
|
-
"error",
|
|
1371
|
-
{
|
|
1372
|
-
readonly before: false;
|
|
1373
|
-
readonly after: true;
|
|
1374
|
-
}
|
|
1375
|
-
];
|
|
796
|
+
readonly "@stylistic/yield-star-spacing": "error";
|
|
1376
797
|
};
|
|
1377
798
|
})[];
|
|
1378
799
|
ts: ({
|
|
@@ -1414,65 +835,25 @@ export declare const defaults: {
|
|
|
1414
835
|
id: "enable";
|
|
1415
836
|
rules: {
|
|
1416
837
|
readonly "@typescript-eslint/await-thenable": "error";
|
|
1417
|
-
readonly "@typescript-eslint/ban-ts-comment":
|
|
1418
|
-
"error",
|
|
1419
|
-
{
|
|
1420
|
-
readonly "ts-check": false;
|
|
1421
|
-
readonly "ts-expect-error": {
|
|
1422
|
-
readonly descriptionFormat: "^:? (?:TEST|BUG): .+$";
|
|
1423
|
-
};
|
|
1424
|
-
readonly "ts-ignore": true;
|
|
1425
|
-
readonly "ts-nocheck": true;
|
|
1426
|
-
readonly minimumDescriptionLength: 10;
|
|
1427
|
-
}
|
|
1428
|
-
];
|
|
838
|
+
readonly "@typescript-eslint/ban-ts-comment": "error";
|
|
1429
839
|
readonly "@typescript-eslint/ban-tslint-comment": "error";
|
|
1430
|
-
readonly "@typescript-eslint/class-literal-property-style":
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
];
|
|
1434
|
-
readonly "@typescript-eslint/consistent-generic-constructors": readonly [
|
|
1435
|
-
"error",
|
|
1436
|
-
"constructor"
|
|
1437
|
-
];
|
|
1438
|
-
readonly "@typescript-eslint/consistent-indexed-object-style": readonly [
|
|
1439
|
-
"error",
|
|
1440
|
-
"record"
|
|
1441
|
-
];
|
|
840
|
+
readonly "@typescript-eslint/class-literal-property-style": "error";
|
|
841
|
+
readonly "@typescript-eslint/consistent-generic-constructors": "error";
|
|
842
|
+
readonly "@typescript-eslint/consistent-indexed-object-style": "error";
|
|
1442
843
|
readonly "@typescript-eslint/consistent-type-assertions": readonly [
|
|
1443
844
|
"error",
|
|
1444
845
|
{
|
|
1445
|
-
readonly assertionStyle: "as";
|
|
1446
846
|
readonly arrayLiteralTypeAssertions: "never";
|
|
1447
847
|
readonly objectLiteralTypeAssertions: "never";
|
|
1448
848
|
}
|
|
1449
849
|
];
|
|
1450
|
-
readonly "@typescript-eslint/consistent-type-exports":
|
|
1451
|
-
|
|
1452
|
-
{
|
|
1453
|
-
readonly fixMixedExportsWithInlineTypeSpecifier: false;
|
|
1454
|
-
}
|
|
1455
|
-
];
|
|
1456
|
-
readonly "@typescript-eslint/consistent-type-imports": readonly [
|
|
1457
|
-
"error",
|
|
1458
|
-
{
|
|
1459
|
-
readonly disallowTypeAnnotations: true;
|
|
1460
|
-
readonly fixStyle: "separate-type-imports";
|
|
1461
|
-
readonly prefer: "type-imports";
|
|
1462
|
-
}
|
|
1463
|
-
];
|
|
850
|
+
readonly "@typescript-eslint/consistent-type-exports": "error";
|
|
851
|
+
readonly "@typescript-eslint/consistent-type-imports": "error";
|
|
1464
852
|
readonly "@typescript-eslint/explicit-member-accessibility": readonly [
|
|
1465
853
|
"error",
|
|
1466
854
|
{
|
|
1467
|
-
readonly accessibility: "explicit";
|
|
1468
|
-
readonly ignoredMethodNames: readonly [
|
|
1469
|
-
];
|
|
1470
855
|
readonly overrides: {
|
|
1471
|
-
readonly properties: "explicit";
|
|
1472
856
|
readonly constructors: "no-public";
|
|
1473
|
-
readonly accessors: "explicit";
|
|
1474
|
-
readonly methods: "explicit";
|
|
1475
|
-
readonly parameterProperties: "explicit";
|
|
1476
857
|
};
|
|
1477
858
|
}
|
|
1478
859
|
];
|
|
@@ -1480,147 +861,13 @@ export declare const defaults: {
|
|
|
1480
861
|
"error",
|
|
1481
862
|
{
|
|
1482
863
|
readonly default: {
|
|
1483
|
-
readonly memberTypes: readonly [
|
|
1484
|
-
"signature",
|
|
1485
|
-
"call-signature",
|
|
1486
|
-
"public-static-field",
|
|
1487
|
-
"protected-static-field",
|
|
1488
|
-
"private-static-field",
|
|
1489
|
-
"#private-static-field",
|
|
1490
|
-
"public-decorated-field",
|
|
1491
|
-
"protected-decorated-field",
|
|
1492
|
-
"private-decorated-field",
|
|
1493
|
-
"public-instance-field",
|
|
1494
|
-
"protected-instance-field",
|
|
1495
|
-
"private-instance-field",
|
|
1496
|
-
"#private-instance-field",
|
|
1497
|
-
"public-abstract-field",
|
|
1498
|
-
"protected-abstract-field",
|
|
1499
|
-
"public-field",
|
|
1500
|
-
"protected-field",
|
|
1501
|
-
"private-field",
|
|
1502
|
-
"#private-field",
|
|
1503
|
-
"static-field",
|
|
1504
|
-
"instance-field",
|
|
1505
|
-
"abstract-field",
|
|
1506
|
-
"decorated-field",
|
|
1507
|
-
"field",
|
|
1508
|
-
"static-initialization",
|
|
1509
|
-
"public-constructor",
|
|
1510
|
-
"protected-constructor",
|
|
1511
|
-
"private-constructor",
|
|
1512
|
-
"constructor",
|
|
1513
|
-
"public-static-accessor",
|
|
1514
|
-
"protected-static-accessor",
|
|
1515
|
-
"private-static-accessor",
|
|
1516
|
-
"#private-static-accessor",
|
|
1517
|
-
"public-decorated-accessor",
|
|
1518
|
-
"protected-decorated-accessor",
|
|
1519
|
-
"private-decorated-accessor",
|
|
1520
|
-
"public-instance-accessor",
|
|
1521
|
-
"protected-instance-accessor",
|
|
1522
|
-
"private-instance-accessor",
|
|
1523
|
-
"#private-instance-accessor",
|
|
1524
|
-
"public-abstract-accessor",
|
|
1525
|
-
"protected-abstract-accessor",
|
|
1526
|
-
"public-accessor",
|
|
1527
|
-
"protected-accessor",
|
|
1528
|
-
"private-accessor",
|
|
1529
|
-
"#private-accessor",
|
|
1530
|
-
"static-accessor",
|
|
1531
|
-
"instance-accessor",
|
|
1532
|
-
"abstract-accessor",
|
|
1533
|
-
"decorated-accessor",
|
|
1534
|
-
"accessor",
|
|
1535
|
-
"public-static-get",
|
|
1536
|
-
"protected-static-get",
|
|
1537
|
-
"private-static-get",
|
|
1538
|
-
"#private-static-get",
|
|
1539
|
-
"public-decorated-get",
|
|
1540
|
-
"protected-decorated-get",
|
|
1541
|
-
"private-decorated-get",
|
|
1542
|
-
"public-instance-get",
|
|
1543
|
-
"protected-instance-get",
|
|
1544
|
-
"private-instance-get",
|
|
1545
|
-
"#private-instance-get",
|
|
1546
|
-
"public-abstract-get",
|
|
1547
|
-
"protected-abstract-get",
|
|
1548
|
-
"public-get",
|
|
1549
|
-
"protected-get",
|
|
1550
|
-
"private-get",
|
|
1551
|
-
"#private-get",
|
|
1552
|
-
"static-get",
|
|
1553
|
-
"instance-get",
|
|
1554
|
-
"abstract-get",
|
|
1555
|
-
"decorated-get",
|
|
1556
|
-
"get",
|
|
1557
|
-
"public-static-set",
|
|
1558
|
-
"protected-static-set",
|
|
1559
|
-
"private-static-set",
|
|
1560
|
-
"#private-static-set",
|
|
1561
|
-
"public-decorated-set",
|
|
1562
|
-
"protected-decorated-set",
|
|
1563
|
-
"private-decorated-set",
|
|
1564
|
-
"public-instance-set",
|
|
1565
|
-
"protected-instance-set",
|
|
1566
|
-
"private-instance-set",
|
|
1567
|
-
"#private-instance-set",
|
|
1568
|
-
"public-abstract-set",
|
|
1569
|
-
"protected-abstract-set",
|
|
1570
|
-
"public-set",
|
|
1571
|
-
"protected-set",
|
|
1572
|
-
"private-set",
|
|
1573
|
-
"#private-set",
|
|
1574
|
-
"static-set",
|
|
1575
|
-
"instance-set",
|
|
1576
|
-
"abstract-set",
|
|
1577
|
-
"decorated-set",
|
|
1578
|
-
"set",
|
|
1579
|
-
"public-static-method",
|
|
1580
|
-
"protected-static-method",
|
|
1581
|
-
"private-static-method",
|
|
1582
|
-
"#private-static-method",
|
|
1583
|
-
"public-decorated-method",
|
|
1584
|
-
"protected-decorated-method",
|
|
1585
|
-
"private-decorated-method",
|
|
1586
|
-
"public-instance-method",
|
|
1587
|
-
"protected-instance-method",
|
|
1588
|
-
"private-instance-method",
|
|
1589
|
-
"#private-instance-method",
|
|
1590
|
-
"public-abstract-method",
|
|
1591
|
-
"protected-abstract-method",
|
|
1592
|
-
"public-method",
|
|
1593
|
-
"protected-method",
|
|
1594
|
-
"private-method",
|
|
1595
|
-
"#private-method",
|
|
1596
|
-
"static-method",
|
|
1597
|
-
"instance-method",
|
|
1598
|
-
"abstract-method",
|
|
1599
|
-
"decorated-method",
|
|
1600
|
-
"method"
|
|
1601
|
-
];
|
|
1602
864
|
readonly optionalityOrder: "required-first";
|
|
1603
|
-
readonly order: "as-written";
|
|
1604
865
|
};
|
|
1605
866
|
}
|
|
1606
867
|
];
|
|
1607
|
-
readonly "@typescript-eslint/method-signature-style":
|
|
1608
|
-
"error",
|
|
1609
|
-
"property"
|
|
1610
|
-
];
|
|
868
|
+
readonly "@typescript-eslint/method-signature-style": "error";
|
|
1611
869
|
readonly "@typescript-eslint/no-array-delete": "error";
|
|
1612
|
-
readonly "@typescript-eslint/no-base-to-string":
|
|
1613
|
-
"error",
|
|
1614
|
-
{
|
|
1615
|
-
readonly checkUnknown: false;
|
|
1616
|
-
readonly ignoredTypeNames: readonly [
|
|
1617
|
-
"Error",
|
|
1618
|
-
"RegExp",
|
|
1619
|
-
"URL",
|
|
1620
|
-
"URLSearchParams"
|
|
1621
|
-
];
|
|
1622
|
-
}
|
|
1623
|
-
];
|
|
870
|
+
readonly "@typescript-eslint/no-base-to-string": "error";
|
|
1624
871
|
readonly "@typescript-eslint/no-confusing-non-null-assertion": "error";
|
|
1625
872
|
readonly "@typescript-eslint/no-confusing-void-expression": readonly [
|
|
1626
873
|
"error",
|
|
@@ -1631,62 +878,32 @@ export declare const defaults: {
|
|
|
1631
878
|
}
|
|
1632
879
|
];
|
|
1633
880
|
readonly "@typescript-eslint/no-duplicate-enum-values": "error";
|
|
1634
|
-
readonly "@typescript-eslint/no-duplicate-type-constituents":
|
|
1635
|
-
"error",
|
|
1636
|
-
{
|
|
1637
|
-
readonly ignoreIntersections: false;
|
|
1638
|
-
readonly ignoreUnions: false;
|
|
1639
|
-
}
|
|
1640
|
-
];
|
|
881
|
+
readonly "@typescript-eslint/no-duplicate-type-constituents": "error";
|
|
1641
882
|
readonly "@typescript-eslint/no-dynamic-delete": "error";
|
|
1642
|
-
readonly "@typescript-eslint/no-empty-object-type":
|
|
1643
|
-
"error",
|
|
1644
|
-
{
|
|
1645
|
-
readonly allowInterfaces: "never";
|
|
1646
|
-
readonly allowObjectTypes: "never";
|
|
1647
|
-
}
|
|
1648
|
-
];
|
|
883
|
+
readonly "@typescript-eslint/no-empty-object-type": "error";
|
|
1649
884
|
readonly "@typescript-eslint/no-explicit-any": readonly [
|
|
1650
885
|
"error",
|
|
1651
886
|
{
|
|
1652
887
|
readonly fixToUnknown: true;
|
|
1653
|
-
readonly ignoreRestArgs: false;
|
|
1654
888
|
}
|
|
1655
889
|
];
|
|
1656
890
|
readonly "@typescript-eslint/no-extra-non-null-assertion": "error";
|
|
1657
891
|
readonly "@typescript-eslint/no-extraneous-class": readonly [
|
|
1658
892
|
"error",
|
|
1659
893
|
{
|
|
1660
|
-
readonly allowConstructorOnly: false;
|
|
1661
894
|
readonly allowEmpty: true;
|
|
1662
|
-
readonly allowStaticOnly: false;
|
|
1663
|
-
readonly allowWithDecorator: false;
|
|
1664
895
|
}
|
|
1665
896
|
];
|
|
1666
897
|
readonly "@typescript-eslint/no-floating-promises": readonly [
|
|
1667
898
|
"error",
|
|
1668
899
|
{
|
|
1669
900
|
readonly checkThenables: true;
|
|
1670
|
-
readonly ignoreVoid: true;
|
|
1671
|
-
readonly ignoreIIFE: false;
|
|
1672
901
|
}
|
|
1673
902
|
];
|
|
1674
903
|
readonly "@typescript-eslint/no-for-in-array": "error";
|
|
1675
904
|
readonly "@typescript-eslint/no-import-type-side-effects": "error";
|
|
1676
|
-
readonly "@typescript-eslint/no-inferrable-types":
|
|
1677
|
-
|
|
1678
|
-
{
|
|
1679
|
-
readonly ignoreParameters: false;
|
|
1680
|
-
readonly ignoreProperties: false;
|
|
1681
|
-
}
|
|
1682
|
-
];
|
|
1683
|
-
readonly "@typescript-eslint/no-invalid-void-type": readonly [
|
|
1684
|
-
"error",
|
|
1685
|
-
{
|
|
1686
|
-
readonly allowInGenericTypeArguments: true;
|
|
1687
|
-
readonly allowAsThisParameter: false;
|
|
1688
|
-
}
|
|
1689
|
-
];
|
|
905
|
+
readonly "@typescript-eslint/no-inferrable-types": "error";
|
|
906
|
+
readonly "@typescript-eslint/no-invalid-void-type": "error";
|
|
1690
907
|
readonly "@typescript-eslint/no-meaningless-void-operator": readonly [
|
|
1691
908
|
"error",
|
|
1692
909
|
{
|
|
@@ -1694,72 +911,21 @@ export declare const defaults: {
|
|
|
1694
911
|
}
|
|
1695
912
|
];
|
|
1696
913
|
readonly "@typescript-eslint/no-misused-new": "error";
|
|
1697
|
-
readonly "@typescript-eslint/no-misused-promises":
|
|
1698
|
-
|
|
1699
|
-
{
|
|
1700
|
-
readonly checksConditionals: true;
|
|
1701
|
-
readonly checksSpreads: true;
|
|
1702
|
-
readonly checksVoidReturn: {
|
|
1703
|
-
readonly arguments: true;
|
|
1704
|
-
readonly attributes: true;
|
|
1705
|
-
readonly properties: true;
|
|
1706
|
-
readonly returns: true;
|
|
1707
|
-
readonly variables: true;
|
|
1708
|
-
};
|
|
1709
|
-
}
|
|
1710
|
-
];
|
|
1711
|
-
readonly "@typescript-eslint/no-misused-spread": readonly [
|
|
1712
|
-
"error",
|
|
1713
|
-
{
|
|
1714
|
-
readonly allow: readonly [
|
|
1715
|
-
];
|
|
1716
|
-
}
|
|
1717
|
-
];
|
|
914
|
+
readonly "@typescript-eslint/no-misused-promises": "error";
|
|
915
|
+
readonly "@typescript-eslint/no-misused-spread": "error";
|
|
1718
916
|
readonly "@typescript-eslint/no-mixed-enums": "error";
|
|
1719
917
|
readonly "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error";
|
|
1720
918
|
readonly "@typescript-eslint/no-non-null-asserted-optional-chain": "error";
|
|
1721
919
|
readonly "@typescript-eslint/no-redundant-type-constituents": "error";
|
|
1722
|
-
readonly "@typescript-eslint/no-require-imports":
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
];
|
|
1727
|
-
}
|
|
1728
|
-
];
|
|
1729
|
-
readonly "@typescript-eslint/no-this-alias": readonly [
|
|
1730
|
-
"error",
|
|
1731
|
-
{
|
|
1732
|
-
readonly allowDestructuring: true;
|
|
1733
|
-
readonly allowedNames: readonly [
|
|
1734
|
-
];
|
|
1735
|
-
}
|
|
1736
|
-
];
|
|
1737
|
-
readonly "@typescript-eslint/no-unnecessary-boolean-literal-compare": readonly [
|
|
1738
|
-
"error",
|
|
1739
|
-
{
|
|
1740
|
-
readonly allowComparingNullableBooleansToTrue: true;
|
|
1741
|
-
readonly allowComparingNullableBooleansToFalse: true;
|
|
1742
|
-
}
|
|
1743
|
-
];
|
|
1744
|
-
readonly "@typescript-eslint/no-unnecessary-condition": readonly [
|
|
1745
|
-
"error",
|
|
1746
|
-
{
|
|
1747
|
-
readonly allowConstantLoopConditions: "never";
|
|
1748
|
-
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
|
1749
|
-
}
|
|
1750
|
-
];
|
|
920
|
+
readonly "@typescript-eslint/no-require-imports": "error";
|
|
921
|
+
readonly "@typescript-eslint/no-this-alias": "error";
|
|
922
|
+
readonly "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error";
|
|
923
|
+
readonly "@typescript-eslint/no-unnecessary-condition": "error";
|
|
1751
924
|
readonly "@typescript-eslint/no-unnecessary-parameter-property-assignment": "error";
|
|
1752
925
|
readonly "@typescript-eslint/no-unnecessary-qualifier": "error";
|
|
1753
926
|
readonly "@typescript-eslint/no-unnecessary-template-expression": "error";
|
|
1754
927
|
readonly "@typescript-eslint/no-unnecessary-type-arguments": "error";
|
|
1755
|
-
readonly "@typescript-eslint/no-unnecessary-type-assertion":
|
|
1756
|
-
"error",
|
|
1757
|
-
{
|
|
1758
|
-
readonly checkLiteralConstAssertions: false;
|
|
1759
|
-
readonly typesToIgnore: readonly [
|
|
1760
|
-
];
|
|
1761
|
-
}
|
|
1762
|
-
];
|
|
928
|
+
readonly "@typescript-eslint/no-unnecessary-type-assertion": "error";
|
|
1763
929
|
readonly "@typescript-eslint/no-unnecessary-type-constraint": "error";
|
|
1764
930
|
readonly "@typescript-eslint/no-unnecessary-type-conversion": "error";
|
|
1765
931
|
readonly "@typescript-eslint/no-unnecessary-type-parameters": "error";
|
|
@@ -1777,86 +943,27 @@ export declare const defaults: {
|
|
|
1777
943
|
readonly "@typescript-eslint/parameter-properties": readonly [
|
|
1778
944
|
"error",
|
|
1779
945
|
{
|
|
1780
|
-
readonly prefer: "parameter-property";
|
|
1781
|
-
}
|
|
1782
|
-
];
|
|
1783
|
-
readonly "@typescript-eslint/prefer-as-const": "error";
|
|
1784
|
-
readonly "@typescript-eslint/prefer-enum-initializers": "error";
|
|
1785
|
-
readonly "@typescript-eslint/prefer-find": "error";
|
|
1786
|
-
readonly "@typescript-eslint/prefer-for-of": "error";
|
|
1787
|
-
readonly "@typescript-eslint/prefer-function-type": "error";
|
|
1788
|
-
readonly "@typescript-eslint/prefer-includes": "error";
|
|
1789
|
-
readonly "@typescript-eslint/prefer-literal-enum-member": readonly [
|
|
1790
|
-
"error",
|
|
1791
|
-
{
|
|
1792
|
-
readonly allowBitwiseExpressions: false;
|
|
1793
|
-
}
|
|
1794
|
-
];
|
|
1795
|
-
readonly "@typescript-eslint/prefer-namespace-keyword": "error";
|
|
1796
|
-
readonly "@typescript-eslint/prefer-nullish-coalescing": readonly [
|
|
1797
|
-
"error",
|
|
1798
|
-
{
|
|
1799
|
-
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
|
1800
|
-
readonly ignoreBooleanCoercion: false;
|
|
1801
|
-
readonly ignoreConditionalTests: false;
|
|
1802
|
-
readonly ignoreIfStatements: false;
|
|
1803
|
-
readonly ignoreMixedLogicalExpressions: false;
|
|
1804
|
-
readonly ignorePrimitives: {
|
|
1805
|
-
readonly bigint: false;
|
|
1806
|
-
readonly boolean: false;
|
|
1807
|
-
readonly number: false;
|
|
1808
|
-
readonly string: false;
|
|
1809
|
-
};
|
|
1810
|
-
readonly ignoreTernaryTests: false;
|
|
1811
|
-
}
|
|
1812
|
-
];
|
|
1813
|
-
readonly "@typescript-eslint/prefer-optional-chain": readonly [
|
|
1814
|
-
"error",
|
|
1815
|
-
{
|
|
1816
|
-
readonly allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false;
|
|
1817
|
-
readonly checkAny: true;
|
|
1818
|
-
readonly checkBigInt: true;
|
|
1819
|
-
readonly checkBoolean: true;
|
|
1820
|
-
readonly checkNumber: true;
|
|
1821
|
-
readonly checkString: true;
|
|
1822
|
-
readonly checkUnknown: true;
|
|
1823
|
-
readonly requireNullish: false;
|
|
1824
|
-
}
|
|
1825
|
-
];
|
|
1826
|
-
readonly "@typescript-eslint/prefer-readonly": readonly [
|
|
1827
|
-
"error",
|
|
1828
|
-
{
|
|
1829
|
-
readonly onlyInlineLambdas: false;
|
|
1830
|
-
}
|
|
1831
|
-
];
|
|
1832
|
-
readonly "@typescript-eslint/prefer-reduce-type-parameter": "error";
|
|
1833
|
-
readonly "@typescript-eslint/prefer-regexp-exec": "error";
|
|
1834
|
-
readonly "@typescript-eslint/prefer-return-this-type": "error";
|
|
1835
|
-
readonly "@typescript-eslint/prefer-string-starts-ends-with": readonly [
|
|
1836
|
-
"error",
|
|
1837
|
-
{
|
|
1838
|
-
readonly allowSingleElementEquality: "never";
|
|
1839
|
-
}
|
|
1840
|
-
];
|
|
1841
|
-
readonly "@typescript-eslint/promise-function-async": readonly [
|
|
1842
|
-
"error",
|
|
1843
|
-
{
|
|
1844
|
-
readonly allowAny: false;
|
|
1845
|
-
readonly allowedPromiseNames: readonly [
|
|
1846
|
-
];
|
|
1847
|
-
readonly checkArrowFunctions: true;
|
|
1848
|
-
readonly checkFunctionDeclarations: true;
|
|
1849
|
-
readonly checkFunctionExpressions: true;
|
|
1850
|
-
readonly checkMethodDeclarations: true;
|
|
946
|
+
readonly prefer: "parameter-property";
|
|
1851
947
|
}
|
|
1852
948
|
];
|
|
949
|
+
readonly "@typescript-eslint/prefer-as-const": "error";
|
|
950
|
+
readonly "@typescript-eslint/prefer-enum-initializers": "error";
|
|
951
|
+
readonly "@typescript-eslint/prefer-find": "error";
|
|
952
|
+
readonly "@typescript-eslint/prefer-for-of": "error";
|
|
953
|
+
readonly "@typescript-eslint/prefer-function-type": "error";
|
|
954
|
+
readonly "@typescript-eslint/prefer-includes": "error";
|
|
955
|
+
readonly "@typescript-eslint/prefer-literal-enum-member": "error";
|
|
956
|
+
readonly "@typescript-eslint/prefer-namespace-keyword": "error";
|
|
957
|
+
readonly "@typescript-eslint/prefer-nullish-coalescing": "error";
|
|
958
|
+
readonly "@typescript-eslint/prefer-optional-chain": "error";
|
|
959
|
+
readonly "@typescript-eslint/prefer-readonly": "error";
|
|
960
|
+
readonly "@typescript-eslint/prefer-reduce-type-parameter": "error";
|
|
961
|
+
readonly "@typescript-eslint/prefer-regexp-exec": "error";
|
|
962
|
+
readonly "@typescript-eslint/prefer-return-this-type": "error";
|
|
963
|
+
readonly "@typescript-eslint/prefer-string-starts-ends-with": "error";
|
|
964
|
+
readonly "@typescript-eslint/promise-function-async": "error";
|
|
1853
965
|
readonly "@typescript-eslint/related-getter-setter-pairs": "error";
|
|
1854
|
-
readonly "@typescript-eslint/require-array-sort-compare":
|
|
1855
|
-
"error",
|
|
1856
|
-
{
|
|
1857
|
-
readonly ignoreStringArrays: true;
|
|
1858
|
-
}
|
|
1859
|
-
];
|
|
966
|
+
readonly "@typescript-eslint/require-array-sort-compare": "error";
|
|
1860
967
|
readonly "@typescript-eslint/restrict-plus-operands": readonly [
|
|
1861
968
|
"error",
|
|
1862
969
|
{
|
|
@@ -1865,67 +972,27 @@ export declare const defaults: {
|
|
|
1865
972
|
readonly allowNullish: false;
|
|
1866
973
|
readonly allowNumberAndString: false;
|
|
1867
974
|
readonly allowRegExp: false;
|
|
1868
|
-
readonly skipCompoundAssignments: false;
|
|
1869
975
|
}
|
|
1870
976
|
];
|
|
1871
977
|
readonly "@typescript-eslint/restrict-template-expressions": readonly [
|
|
1872
978
|
"error",
|
|
1873
979
|
{
|
|
1874
|
-
readonly allowAny: true;
|
|
1875
|
-
readonly allowArray: true;
|
|
1876
|
-
readonly allowBoolean: true;
|
|
1877
980
|
readonly allowNullish: false;
|
|
1878
|
-
readonly allowNumber: true;
|
|
1879
981
|
readonly allowNever: false;
|
|
1880
982
|
readonly allowRegExp: false;
|
|
1881
983
|
}
|
|
1882
984
|
];
|
|
1883
|
-
readonly "@typescript-eslint/return-await":
|
|
1884
|
-
"error",
|
|
1885
|
-
"in-try-catch"
|
|
1886
|
-
];
|
|
985
|
+
readonly "@typescript-eslint/return-await": "error";
|
|
1887
986
|
readonly "@typescript-eslint/strict-boolean-expressions": readonly [
|
|
1888
987
|
"error",
|
|
1889
988
|
{
|
|
1890
|
-
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
|
1891
|
-
readonly allowAny: false;
|
|
1892
|
-
readonly allowNumber: true;
|
|
1893
|
-
readonly allowString: false;
|
|
1894
|
-
readonly allowNullableBoolean: false;
|
|
1895
|
-
readonly allowNullableEnum: false;
|
|
1896
|
-
readonly allowNullableNumber: false;
|
|
1897
989
|
readonly allowNullableObject: false;
|
|
1898
|
-
readonly
|
|
1899
|
-
}
|
|
1900
|
-
];
|
|
1901
|
-
readonly "@typescript-eslint/switch-exhaustiveness-check": readonly [
|
|
1902
|
-
"error",
|
|
1903
|
-
{
|
|
1904
|
-
readonly allowDefaultCaseForExhaustiveSwitch: false;
|
|
1905
|
-
readonly considerDefaultExhaustiveForUnions: true;
|
|
1906
|
-
readonly requireDefaultForNonUnion: true;
|
|
1907
|
-
}
|
|
1908
|
-
];
|
|
1909
|
-
readonly "@typescript-eslint/triple-slash-reference": readonly [
|
|
1910
|
-
"error",
|
|
1911
|
-
{
|
|
1912
|
-
readonly lib: "never";
|
|
1913
|
-
readonly path: "never";
|
|
1914
|
-
readonly types: "never";
|
|
1915
|
-
}
|
|
1916
|
-
];
|
|
1917
|
-
readonly "@typescript-eslint/unbound-method": readonly [
|
|
1918
|
-
"error",
|
|
1919
|
-
{
|
|
1920
|
-
readonly ignoreStatic: false;
|
|
1921
|
-
}
|
|
1922
|
-
];
|
|
1923
|
-
readonly "@typescript-eslint/unified-signatures": readonly [
|
|
1924
|
-
"error",
|
|
1925
|
-
{
|
|
1926
|
-
readonly ignoreDifferentlyNamedParameters: false;
|
|
990
|
+
readonly allowString: false;
|
|
1927
991
|
}
|
|
1928
992
|
];
|
|
993
|
+
readonly "@typescript-eslint/switch-exhaustiveness-check": "error";
|
|
994
|
+
readonly "@typescript-eslint/unbound-method": "error";
|
|
995
|
+
readonly "@typescript-eslint/unified-signatures": "error";
|
|
1929
996
|
readonly "@typescript-eslint/use-unknown-in-catch-callback-variable": "error";
|
|
1930
997
|
};
|
|
1931
998
|
} | {
|
|
@@ -1934,54 +1001,31 @@ export declare const defaults: {
|
|
|
1934
1001
|
readonly "@typescript-eslint/dot-notation": readonly [
|
|
1935
1002
|
"error",
|
|
1936
1003
|
{
|
|
1937
|
-
readonly allowKeywords: true;
|
|
1938
1004
|
readonly allowPrivateClassPropertyAccess: true;
|
|
1939
1005
|
readonly allowProtectedClassPropertyAccess: true;
|
|
1940
1006
|
readonly allowIndexSignaturePropertyAccess: true;
|
|
1941
1007
|
}
|
|
1942
1008
|
];
|
|
1943
1009
|
readonly "@typescript-eslint/no-implied-eval": "error";
|
|
1944
|
-
readonly "@typescript-eslint/no-unused-vars":
|
|
1945
|
-
"error",
|
|
1946
|
-
{
|
|
1947
|
-
readonly vars: "all";
|
|
1948
|
-
readonly args: "all";
|
|
1949
|
-
readonly caughtErrors: "all";
|
|
1950
|
-
readonly ignoreRestSiblings: false;
|
|
1951
|
-
readonly ignoreClassWithStaticInitBlock: false;
|
|
1952
|
-
readonly reportUsedIgnorePattern: true;
|
|
1953
|
-
}
|
|
1954
|
-
];
|
|
1010
|
+
readonly "@typescript-eslint/no-unused-vars": "error";
|
|
1955
1011
|
readonly "@typescript-eslint/only-throw-error": readonly [
|
|
1956
1012
|
"error",
|
|
1957
1013
|
{
|
|
1958
|
-
readonly allowRethrowing: true;
|
|
1959
1014
|
readonly allowThrowingAny: false;
|
|
1960
|
-
readonly allowThrowingUnknown: false;
|
|
1961
1015
|
}
|
|
1962
1016
|
];
|
|
1963
1017
|
readonly "@typescript-eslint/prefer-destructuring": readonly [
|
|
1964
1018
|
"error",
|
|
1965
1019
|
{
|
|
1966
|
-
readonly VariableDeclarator: {
|
|
1967
|
-
readonly array: true;
|
|
1968
|
-
readonly object: true;
|
|
1969
|
-
};
|
|
1970
1020
|
readonly AssignmentExpression: {
|
|
1971
1021
|
readonly array: false;
|
|
1972
1022
|
readonly object: false;
|
|
1973
1023
|
};
|
|
1974
|
-
},
|
|
1975
|
-
{
|
|
1976
|
-
readonly enforceForRenamedProperties: false;
|
|
1977
|
-
readonly enforceForDeclarationWithTypeAnnotation: false;
|
|
1978
1024
|
}
|
|
1979
1025
|
];
|
|
1980
1026
|
readonly "@typescript-eslint/prefer-promise-reject-errors": readonly [
|
|
1981
1027
|
"error",
|
|
1982
1028
|
{
|
|
1983
|
-
readonly allowEmptyReject: false;
|
|
1984
|
-
readonly allowThrowingAny: false;
|
|
1985
1029
|
readonly allowThrowingUnknown: true;
|
|
1986
1030
|
}
|
|
1987
1031
|
];
|
|
@@ -1997,18 +1041,8 @@ export declare const defaults: {
|
|
|
1997
1041
|
} | {
|
|
1998
1042
|
id: "enable";
|
|
1999
1043
|
rules: {
|
|
2000
|
-
readonly "mocha/handle-done-callback":
|
|
2001
|
-
|
|
2002
|
-
{
|
|
2003
|
-
readonly ignorePending: false;
|
|
2004
|
-
}
|
|
2005
|
-
];
|
|
2006
|
-
readonly "mocha/max-top-level-suites": readonly [
|
|
2007
|
-
"error",
|
|
2008
|
-
{
|
|
2009
|
-
readonly limit: 1;
|
|
2010
|
-
}
|
|
2011
|
-
];
|
|
1044
|
+
readonly "mocha/handle-done-callback": "error";
|
|
1045
|
+
readonly "mocha/max-top-level-suites": "error";
|
|
2012
1046
|
readonly "mocha/no-async-suite": "error";
|
|
2013
1047
|
readonly "mocha/no-empty-title": "error";
|
|
2014
1048
|
readonly "mocha/no-exclusive-tests": "error";
|
|
@@ -2022,13 +1056,7 @@ export declare const defaults: {
|
|
|
2022
1056
|
readonly "mocha/no-return-from-async": "error";
|
|
2023
1057
|
readonly "mocha/no-sibling-hooks": "error";
|
|
2024
1058
|
readonly "mocha/no-top-level-hooks": "error";
|
|
2025
|
-
readonly "mocha/prefer-arrow-callback":
|
|
2026
|
-
"error",
|
|
2027
|
-
{
|
|
2028
|
-
readonly allowNamedFunctions: false;
|
|
2029
|
-
readonly allowUnboundThis: true;
|
|
2030
|
-
}
|
|
2031
|
-
];
|
|
1059
|
+
readonly "mocha/prefer-arrow-callback": "error";
|
|
2032
1060
|
};
|
|
2033
1061
|
} | {
|
|
2034
1062
|
id: string;
|
|
@@ -2038,8 +1066,6 @@ export declare const defaults: {
|
|
|
2038
1066
|
{
|
|
2039
1067
|
readonly allowShortCircuit: true;
|
|
2040
1068
|
readonly allowTernary: true;
|
|
2041
|
-
readonly allowTaggedTemplates: true;
|
|
2042
|
-
readonly enforceForJSX: false;
|
|
2043
1069
|
}
|
|
2044
1070
|
];
|
|
2045
1071
|
};
|
|
@@ -2080,107 +1106,52 @@ export declare const defaults: {
|
|
|
2080
1106
|
readonly "svelte/no-not-function-handler": "error";
|
|
2081
1107
|
readonly "svelte/no-object-in-text-mustaches": "error";
|
|
2082
1108
|
readonly "svelte/no-raw-special-elements": "error";
|
|
2083
|
-
readonly "svelte/no-reactive-reassign":
|
|
2084
|
-
"error",
|
|
2085
|
-
{
|
|
2086
|
-
readonly props: true;
|
|
2087
|
-
}
|
|
2088
|
-
];
|
|
1109
|
+
readonly "svelte/no-reactive-reassign": "error";
|
|
2089
1110
|
readonly "svelte/no-shorthand-style-property-overrides": "error";
|
|
2090
1111
|
readonly "svelte/no-store-async": "error";
|
|
2091
1112
|
readonly "svelte/no-top-level-browser-globals": "error";
|
|
2092
|
-
readonly "svelte/no-unknown-style-directive-property":
|
|
2093
|
-
"error",
|
|
2094
|
-
{
|
|
2095
|
-
readonly ignorePrefixed: true;
|
|
2096
|
-
}
|
|
2097
|
-
];
|
|
1113
|
+
readonly "svelte/no-unknown-style-directive-property": "error";
|
|
2098
1114
|
readonly "svelte/prefer-svelte-reactivity": "error";
|
|
2099
1115
|
readonly "svelte/require-store-callbacks-use-set-param": "error";
|
|
2100
1116
|
readonly "svelte/require-store-reactive-access": "error";
|
|
2101
|
-
readonly "svelte/valid-compile":
|
|
2102
|
-
"error",
|
|
2103
|
-
{
|
|
2104
|
-
readonly ignoreWarnings: false;
|
|
2105
|
-
}
|
|
2106
|
-
];
|
|
1117
|
+
readonly "svelte/valid-compile": "error";
|
|
2107
1118
|
readonly "svelte/valid-style-parse": "error";
|
|
2108
1119
|
readonly "svelte/no-at-html-tags": "error";
|
|
2109
|
-
readonly "svelte/no-target-blank":
|
|
2110
|
-
"error",
|
|
2111
|
-
{
|
|
2112
|
-
readonly allowReferrer: false;
|
|
2113
|
-
readonly enforceDynamicLinks: "always";
|
|
2114
|
-
}
|
|
2115
|
-
];
|
|
1120
|
+
readonly "svelte/no-target-blank": "error";
|
|
2116
1121
|
readonly "svelte/block-lang": readonly [
|
|
2117
1122
|
"error",
|
|
2118
1123
|
{
|
|
2119
|
-
readonly enforceScriptPresent: true;
|
|
2120
|
-
readonly enforceStylePresent: false;
|
|
2121
1124
|
readonly script: readonly [
|
|
2122
1125
|
"ts"
|
|
2123
1126
|
];
|
|
2124
1127
|
readonly style: readonly [
|
|
2125
|
-
"css"
|
|
2126
|
-
"scss"
|
|
1128
|
+
"css"
|
|
2127
1129
|
];
|
|
2128
1130
|
}
|
|
2129
1131
|
];
|
|
2130
|
-
readonly "svelte/button-has-type":
|
|
2131
|
-
"error",
|
|
2132
|
-
{
|
|
2133
|
-
readonly button: true;
|
|
2134
|
-
readonly submit: true;
|
|
2135
|
-
readonly reset: true;
|
|
2136
|
-
}
|
|
2137
|
-
];
|
|
1132
|
+
readonly "svelte/button-has-type": "error";
|
|
2138
1133
|
readonly "svelte/no-add-event-listener": "error";
|
|
2139
1134
|
readonly "svelte/no-at-debug-tags": "error";
|
|
2140
1135
|
readonly "svelte/no-ignored-unsubscribe": "error";
|
|
2141
1136
|
readonly "svelte/no-immutable-reactive-statements": "error";
|
|
2142
|
-
readonly "svelte/no-inline-styles":
|
|
2143
|
-
"error",
|
|
2144
|
-
{
|
|
2145
|
-
readonly allowTransitions: false;
|
|
2146
|
-
}
|
|
2147
|
-
];
|
|
1137
|
+
readonly "svelte/no-inline-styles": "error";
|
|
2148
1138
|
readonly "svelte/no-reactive-functions": "error";
|
|
2149
1139
|
readonly "svelte/no-reactive-literals": "error";
|
|
2150
1140
|
readonly "svelte/no-svelte-internal": "error";
|
|
2151
|
-
readonly "svelte/no-unnecessary-state-wrap":
|
|
2152
|
-
"error",
|
|
2153
|
-
{
|
|
2154
|
-
readonly additionalReactiveClasses: readonly [
|
|
2155
|
-
];
|
|
2156
|
-
readonly allowReassign: false;
|
|
2157
|
-
}
|
|
2158
|
-
];
|
|
1141
|
+
readonly "svelte/no-unnecessary-state-wrap": "error";
|
|
2159
1142
|
readonly "svelte/no-unused-props": readonly [
|
|
2160
1143
|
"error",
|
|
2161
1144
|
{
|
|
2162
1145
|
readonly checkImportedTypes: true;
|
|
2163
|
-
readonly ignorePropertyPatterns: readonly [
|
|
2164
|
-
];
|
|
2165
|
-
readonly ignoreTypePatterns: readonly [
|
|
2166
|
-
];
|
|
2167
|
-
readonly allowUnusedNestedProperties: false;
|
|
2168
1146
|
}
|
|
2169
1147
|
];
|
|
2170
1148
|
readonly "svelte/no-unused-svelte-ignore": "error";
|
|
2171
1149
|
readonly "svelte/no-useless-children-snippet": "error";
|
|
2172
|
-
readonly "svelte/no-useless-mustaches":
|
|
2173
|
-
"error",
|
|
2174
|
-
{
|
|
2175
|
-
readonly ignoreIncludesComment: false;
|
|
2176
|
-
readonly ignoreStringEscape: false;
|
|
2177
|
-
}
|
|
2178
|
-
];
|
|
1150
|
+
readonly "svelte/no-useless-mustaches": "error";
|
|
2179
1151
|
readonly "svelte/prefer-const": readonly [
|
|
2180
1152
|
"error",
|
|
2181
1153
|
{
|
|
2182
1154
|
readonly destructuring: "all";
|
|
2183
|
-
readonly ignoreReadBeforeAssign: false;
|
|
2184
1155
|
}
|
|
2185
1156
|
];
|
|
2186
1157
|
readonly "svelte/prefer-destructured-store-props": "error";
|
|
@@ -2194,37 +1165,19 @@ export declare const defaults: {
|
|
|
2194
1165
|
"error",
|
|
2195
1166
|
{
|
|
2196
1167
|
readonly checkGlobal: true;
|
|
2197
|
-
readonly style: readonly [
|
|
2198
|
-
"type",
|
|
2199
|
-
"id",
|
|
2200
|
-
"class"
|
|
2201
|
-
];
|
|
2202
1168
|
}
|
|
2203
1169
|
];
|
|
2204
1170
|
readonly "svelte/derived-has-same-inputs-outputs": "error";
|
|
2205
1171
|
readonly "svelte/first-attribute-linebreak": readonly [
|
|
2206
1172
|
"error",
|
|
2207
1173
|
{
|
|
2208
|
-
readonly multiline: "below";
|
|
2209
1174
|
readonly singleline: "below";
|
|
2210
1175
|
}
|
|
2211
1176
|
];
|
|
2212
|
-
readonly "svelte/html-closing-bracket-new-line":
|
|
2213
|
-
"error",
|
|
2214
|
-
{
|
|
2215
|
-
readonly singleline: "never";
|
|
2216
|
-
readonly multiline: "always";
|
|
2217
|
-
readonly selfClosingTag: {
|
|
2218
|
-
readonly singleline: "never";
|
|
2219
|
-
readonly multiline: "always";
|
|
2220
|
-
};
|
|
2221
|
-
}
|
|
2222
|
-
];
|
|
1177
|
+
readonly "svelte/html-closing-bracket-new-line": "error";
|
|
2223
1178
|
readonly "svelte/html-closing-bracket-spacing": readonly [
|
|
2224
1179
|
"error",
|
|
2225
1180
|
{
|
|
2226
|
-
readonly startTag: "never";
|
|
2227
|
-
readonly endTag: "never";
|
|
2228
1181
|
readonly selfClosingTag: "never";
|
|
2229
1182
|
}
|
|
2230
1183
|
];
|
|
@@ -2233,50 +1186,14 @@ export declare const defaults: {
|
|
|
2233
1186
|
{
|
|
2234
1187
|
readonly prefer: "double";
|
|
2235
1188
|
readonly dynamic: {
|
|
2236
|
-
readonly quoted: false;
|
|
2237
1189
|
readonly avoidInvalidUnquotedInHTML: true;
|
|
2238
1190
|
};
|
|
2239
1191
|
}
|
|
2240
1192
|
];
|
|
2241
|
-
readonly "svelte/html-self-closing":
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
readonly component: "always";
|
|
2246
|
-
readonly svelte: "always";
|
|
2247
|
-
readonly normal: "ignore";
|
|
2248
|
-
}
|
|
2249
|
-
];
|
|
2250
|
-
readonly "svelte/indent": readonly [
|
|
2251
|
-
"error",
|
|
2252
|
-
{
|
|
2253
|
-
readonly indent: 2;
|
|
2254
|
-
readonly indentScript: true;
|
|
2255
|
-
readonly ignoredNodes: readonly [
|
|
2256
|
-
];
|
|
2257
|
-
readonly switchCase: 1;
|
|
2258
|
-
readonly alignAttributesVertically: false;
|
|
2259
|
-
}
|
|
2260
|
-
];
|
|
2261
|
-
readonly "svelte/max-attributes-per-line": readonly [
|
|
2262
|
-
"error",
|
|
2263
|
-
{
|
|
2264
|
-
readonly multiline: 1;
|
|
2265
|
-
readonly singleline: 1;
|
|
2266
|
-
}
|
|
2267
|
-
];
|
|
2268
|
-
readonly "svelte/mustache-spacing": readonly [
|
|
2269
|
-
"error",
|
|
2270
|
-
{
|
|
2271
|
-
readonly textExpressions: "never";
|
|
2272
|
-
readonly attributesAndProps: "never";
|
|
2273
|
-
readonly directiveExpressions: "never";
|
|
2274
|
-
readonly tags: {
|
|
2275
|
-
readonly openingBrace: "never";
|
|
2276
|
-
readonly closingBrace: "never";
|
|
2277
|
-
};
|
|
2278
|
-
}
|
|
2279
|
-
];
|
|
1193
|
+
readonly "svelte/html-self-closing": "error";
|
|
1194
|
+
readonly "svelte/indent": "error";
|
|
1195
|
+
readonly "svelte/max-attributes-per-line": "error";
|
|
1196
|
+
readonly "svelte/mustache-spacing": "error";
|
|
2280
1197
|
readonly "svelte/no-extra-reactive-curlies": "error";
|
|
2281
1198
|
readonly "svelte/no-spaces-around-equal-signs-in-attribute": "error";
|
|
2282
1199
|
readonly "svelte/prefer-class-directive": readonly [
|
|
@@ -2286,45 +1203,19 @@ export declare const defaults: {
|
|
|
2286
1203
|
}
|
|
2287
1204
|
];
|
|
2288
1205
|
readonly "svelte/prefer-style-directive": "error";
|
|
2289
|
-
readonly "svelte/require-event-prefix":
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
}
|
|
2294
|
-
];
|
|
2295
|
-
readonly "svelte/shorthand-attribute": readonly [
|
|
2296
|
-
"error",
|
|
2297
|
-
{
|
|
2298
|
-
readonly prefer: "always";
|
|
2299
|
-
}
|
|
2300
|
-
];
|
|
2301
|
-
readonly "svelte/shorthand-directive": readonly [
|
|
2302
|
-
"error",
|
|
2303
|
-
{
|
|
2304
|
-
readonly prefer: "always";
|
|
2305
|
-
}
|
|
2306
|
-
];
|
|
2307
|
-
readonly "svelte/spaced-html-comment": readonly [
|
|
2308
|
-
"error",
|
|
2309
|
-
"always"
|
|
2310
|
-
];
|
|
1206
|
+
readonly "svelte/require-event-prefix": "error";
|
|
1207
|
+
readonly "svelte/shorthand-attribute": "error";
|
|
1208
|
+
readonly "svelte/shorthand-directive": "error";
|
|
1209
|
+
readonly "svelte/spaced-html-comment": "error";
|
|
2311
1210
|
readonly "svelte/no-export-load-in-svelte-module-in-kit-pages": "error";
|
|
2312
1211
|
readonly "svelte/no-navigation-without-base": readonly [
|
|
2313
1212
|
"error",
|
|
2314
1213
|
{
|
|
2315
|
-
readonly ignoreGoto: false;
|
|
2316
1214
|
readonly ignoreLinks: true;
|
|
2317
|
-
readonly ignorePushState: false;
|
|
2318
|
-
readonly ignoreReplaceState: false;
|
|
2319
1215
|
}
|
|
2320
1216
|
];
|
|
2321
1217
|
readonly "svelte/valid-prop-names-in-kit-pages": "error";
|
|
2322
|
-
readonly "svelte/comment-directive":
|
|
2323
|
-
"error",
|
|
2324
|
-
{
|
|
2325
|
-
readonly reportUnusedDisableDirectives: true;
|
|
2326
|
-
}
|
|
2327
|
-
];
|
|
1218
|
+
readonly "svelte/comment-directive": "error";
|
|
2328
1219
|
readonly "svelte/system": "error";
|
|
2329
1220
|
};
|
|
2330
1221
|
} | {
|
|
@@ -2332,18 +1223,9 @@ export declare const defaults: {
|
|
|
2332
1223
|
rules: {
|
|
2333
1224
|
readonly "svelte/no-inner-declarations": readonly [
|
|
2334
1225
|
"error",
|
|
2335
|
-
"both"
|
|
2336
|
-
{
|
|
2337
|
-
readonly blockScopedFunctions: "allow";
|
|
2338
|
-
}
|
|
2339
|
-
];
|
|
2340
|
-
readonly "svelte/no-trailing-spaces": readonly [
|
|
2341
|
-
"error",
|
|
2342
|
-
{
|
|
2343
|
-
readonly skipBlankLines: false;
|
|
2344
|
-
readonly ignoreComments: false;
|
|
2345
|
-
}
|
|
1226
|
+
"both"
|
|
2346
1227
|
];
|
|
1228
|
+
readonly "svelte/no-trailing-spaces": "error";
|
|
2347
1229
|
};
|
|
2348
1230
|
})[];
|
|
2349
1231
|
html: {
|
|
@@ -2358,24 +1240,11 @@ export declare const defaults: {
|
|
|
2358
1240
|
readonly "@html-eslint/no-obsolete-tags": "error";
|
|
2359
1241
|
readonly "@html-eslint/no-target-blank": "error";
|
|
2360
1242
|
readonly "@html-eslint/require-button-type": "error";
|
|
2361
|
-
readonly "@html-eslint/require-closing-tags":
|
|
2362
|
-
"error",
|
|
2363
|
-
{
|
|
2364
|
-
readonly selfClosing: "never";
|
|
2365
|
-
readonly selfClosingCustomPatterns: readonly [
|
|
2366
|
-
""
|
|
2367
|
-
];
|
|
2368
|
-
}
|
|
2369
|
-
];
|
|
1243
|
+
readonly "@html-eslint/require-closing-tags": "error";
|
|
2370
1244
|
readonly "@html-eslint/require-doctype": "error";
|
|
2371
1245
|
readonly "@html-eslint/require-li-container": "error";
|
|
2372
1246
|
readonly "@html-eslint/require-meta-charset": "error";
|
|
2373
|
-
readonly "@html-eslint/use-baseline":
|
|
2374
|
-
"error",
|
|
2375
|
-
{
|
|
2376
|
-
readonly available: "widely";
|
|
2377
|
-
}
|
|
2378
|
-
];
|
|
1247
|
+
readonly "@html-eslint/use-baseline": "error";
|
|
2379
1248
|
readonly "@html-eslint/no-multiple-h1": "error";
|
|
2380
1249
|
readonly "@html-eslint/require-lang": "error";
|
|
2381
1250
|
readonly "@html-eslint/no-abstract-roles": "error";
|
|
@@ -2390,20 +1259,13 @@ export declare const defaults: {
|
|
|
2390
1259
|
readonly "@html-eslint/no-skip-heading-levels": "error";
|
|
2391
1260
|
readonly "@html-eslint/require-form-method": "error";
|
|
2392
1261
|
readonly "@html-eslint/require-frame-title": "error";
|
|
2393
|
-
readonly "@html-eslint/require-img-alt":
|
|
2394
|
-
"error",
|
|
2395
|
-
{
|
|
2396
|
-
readonly substitute: readonly [
|
|
2397
|
-
];
|
|
2398
|
-
}
|
|
2399
|
-
];
|
|
1262
|
+
readonly "@html-eslint/require-img-alt": "error";
|
|
2400
1263
|
readonly "@html-eslint/require-input-label": "error";
|
|
2401
1264
|
readonly "@html-eslint/require-meta-viewport": "error";
|
|
2402
1265
|
readonly "@html-eslint/attrs-newline": readonly [
|
|
2403
1266
|
"error",
|
|
2404
1267
|
{
|
|
2405
1268
|
readonly ifAttrsMoreThan: 0;
|
|
2406
|
-
readonly closeStyle: "newline";
|
|
2407
1269
|
}
|
|
2408
1270
|
];
|
|
2409
1271
|
readonly "@html-eslint/element-newline": readonly [
|
|
@@ -2425,19 +1287,12 @@ export declare const defaults: {
|
|
|
2425
1287
|
readonly "@html-eslint/no-extra-spacing-attrs": readonly [
|
|
2426
1288
|
"error",
|
|
2427
1289
|
{
|
|
2428
|
-
readonly enforceBeforeSelfClose: false;
|
|
2429
1290
|
readonly disallowMissing: true;
|
|
2430
1291
|
readonly disallowTabs: true;
|
|
2431
1292
|
readonly disallowInAssignment: true;
|
|
2432
1293
|
}
|
|
2433
1294
|
];
|
|
2434
|
-
readonly "@html-eslint/no-extra-spacing-text":
|
|
2435
|
-
"error",
|
|
2436
|
-
{
|
|
2437
|
-
readonly skip: readonly [
|
|
2438
|
-
];
|
|
2439
|
-
}
|
|
2440
|
-
];
|
|
1295
|
+
readonly "@html-eslint/no-extra-spacing-text": "error";
|
|
2441
1296
|
readonly "@html-eslint/no-multiple-empty-lines": readonly [
|
|
2442
1297
|
"error",
|
|
2443
1298
|
{
|
|
@@ -2445,13 +1300,7 @@ export declare const defaults: {
|
|
|
2445
1300
|
}
|
|
2446
1301
|
];
|
|
2447
1302
|
readonly "@html-eslint/no-trailing-spaces": "error";
|
|
2448
|
-
readonly "@html-eslint/quotes":
|
|
2449
|
-
"error",
|
|
2450
|
-
"double",
|
|
2451
|
-
{
|
|
2452
|
-
readonly enforceTemplatedAttrValue: false;
|
|
2453
|
-
}
|
|
2454
|
-
];
|
|
1303
|
+
readonly "@html-eslint/quotes": "error";
|
|
2455
1304
|
};
|
|
2456
1305
|
}[];
|
|
2457
1306
|
css: {
|
|
@@ -2463,15 +1312,7 @@ export declare const defaults: {
|
|
|
2463
1312
|
readonly "css/no-invalid-at-rule-placement": "error";
|
|
2464
1313
|
readonly "css/no-invalid-at-rules": "error";
|
|
2465
1314
|
readonly "css/no-invalid-named-grid-areas": "error";
|
|
2466
|
-
readonly "css/prefer-logical-properties":
|
|
2467
|
-
"error",
|
|
2468
|
-
{
|
|
2469
|
-
readonly allowProperties: readonly [
|
|
2470
|
-
];
|
|
2471
|
-
readonly allowUnits: readonly [
|
|
2472
|
-
];
|
|
2473
|
-
}
|
|
2474
|
-
];
|
|
1315
|
+
readonly "css/prefer-logical-properties": "error";
|
|
2475
1316
|
readonly "css/relative-font-units": readonly [
|
|
2476
1317
|
"error",
|
|
2477
1318
|
{
|
|
@@ -2481,12 +1322,7 @@ export declare const defaults: {
|
|
|
2481
1322
|
];
|
|
2482
1323
|
}
|
|
2483
1324
|
];
|
|
2484
|
-
readonly "css/use-baseline":
|
|
2485
|
-
"error",
|
|
2486
|
-
{
|
|
2487
|
-
readonly available: "widely";
|
|
2488
|
-
}
|
|
2489
|
-
];
|
|
1325
|
+
readonly "css/use-baseline": "error";
|
|
2490
1326
|
};
|
|
2491
1327
|
}[];
|
|
2492
1328
|
json: ({
|
|
@@ -2523,39 +1359,18 @@ export declare const defaults: {
|
|
|
2523
1359
|
} | {
|
|
2524
1360
|
id: "enable/plugin/extension";
|
|
2525
1361
|
rules: {
|
|
2526
|
-
readonly "jsonc/array-bracket-spacing":
|
|
2527
|
-
"error",
|
|
2528
|
-
"never",
|
|
2529
|
-
{
|
|
2530
|
-
readonly singleValue: false;
|
|
2531
|
-
readonly objectsInArrays: false;
|
|
2532
|
-
readonly arraysInArrays: false;
|
|
2533
|
-
}
|
|
2534
|
-
];
|
|
1362
|
+
readonly "jsonc/array-bracket-spacing": "error";
|
|
2535
1363
|
readonly "jsonc/array-element-newline": readonly [
|
|
2536
1364
|
"error",
|
|
2537
1365
|
"consistent"
|
|
2538
1366
|
];
|
|
2539
|
-
readonly "jsonc/comma-dangle":
|
|
2540
|
-
|
|
2541
|
-
"never"
|
|
2542
|
-
];
|
|
2543
|
-
readonly "jsonc/comma-style": readonly [
|
|
2544
|
-
"error",
|
|
2545
|
-
"last"
|
|
2546
|
-
];
|
|
1367
|
+
readonly "jsonc/comma-dangle": "error";
|
|
1368
|
+
readonly "jsonc/comma-style": "error";
|
|
2547
1369
|
readonly "jsonc/indent": readonly [
|
|
2548
1370
|
"error",
|
|
2549
1371
|
2
|
|
2550
1372
|
];
|
|
2551
|
-
readonly "jsonc/key-spacing":
|
|
2552
|
-
"error",
|
|
2553
|
-
{
|
|
2554
|
-
readonly beforeColon: false;
|
|
2555
|
-
readonly afterColon: true;
|
|
2556
|
-
readonly mode: "strict";
|
|
2557
|
-
}
|
|
2558
|
-
];
|
|
1373
|
+
readonly "jsonc/key-spacing": "error";
|
|
2559
1374
|
readonly "jsonc/no-floating-decimal": "error";
|
|
2560
1375
|
readonly "jsonc/no-irregular-whitespace": readonly [
|
|
2561
1376
|
"error",
|
|
@@ -2581,25 +1396,12 @@ export declare const defaults: {
|
|
|
2581
1396
|
}
|
|
2582
1397
|
];
|
|
2583
1398
|
readonly "jsonc/object-curly-spacing": readonly [
|
|
2584
|
-
"error",
|
|
2585
|
-
"always",
|
|
2586
|
-
{
|
|
2587
|
-
readonly arraysInObjects: true;
|
|
2588
|
-
readonly objectsInObjects: true;
|
|
2589
|
-
}
|
|
2590
|
-
];
|
|
2591
|
-
readonly "jsonc/object-property-newline": "error";
|
|
2592
|
-
readonly "jsonc/quote-props": readonly [
|
|
2593
1399
|
"error",
|
|
2594
1400
|
"always"
|
|
2595
1401
|
];
|
|
2596
|
-
readonly "jsonc/
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
{
|
|
2600
|
-
readonly avoidEscape: false;
|
|
2601
|
-
}
|
|
2602
|
-
];
|
|
1402
|
+
readonly "jsonc/object-property-newline": "error";
|
|
1403
|
+
readonly "jsonc/quote-props": "error";
|
|
1404
|
+
readonly "jsonc/quotes": "error";
|
|
2603
1405
|
readonly "jsonc/space-unary-ops": "error";
|
|
2604
1406
|
};
|
|
2605
1407
|
})[];
|
|
@@ -2621,60 +1423,24 @@ export declare const defaults: {
|
|
|
2621
1423
|
yml: ({
|
|
2622
1424
|
id: "enable/plugin";
|
|
2623
1425
|
rules: {
|
|
2624
|
-
readonly "yml/block-mapping-colon-indicator-newline":
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
readonly "yml/block-
|
|
2629
|
-
"error",
|
|
2630
|
-
"never"
|
|
2631
|
-
];
|
|
2632
|
-
readonly "yml/block-mapping": readonly [
|
|
2633
|
-
"error",
|
|
2634
|
-
{
|
|
2635
|
-
readonly singleline: "ignore";
|
|
2636
|
-
readonly multiline: "always";
|
|
2637
|
-
}
|
|
2638
|
-
];
|
|
2639
|
-
readonly "yml/block-sequence-hyphen-indicator-newline": readonly [
|
|
2640
|
-
"error",
|
|
2641
|
-
"never",
|
|
2642
|
-
{
|
|
2643
|
-
readonly nestedHyphen: "always";
|
|
2644
|
-
readonly blockMapping: "never";
|
|
2645
|
-
}
|
|
2646
|
-
];
|
|
2647
|
-
readonly "yml/block-sequence": readonly [
|
|
2648
|
-
"error",
|
|
2649
|
-
{
|
|
2650
|
-
readonly singleline: "ignore";
|
|
2651
|
-
readonly multiline: "always";
|
|
2652
|
-
}
|
|
2653
|
-
];
|
|
1426
|
+
readonly "yml/block-mapping-colon-indicator-newline": "error";
|
|
1427
|
+
readonly "yml/block-mapping-question-indicator-newline": "error";
|
|
1428
|
+
readonly "yml/block-mapping": "error";
|
|
1429
|
+
readonly "yml/block-sequence-hyphen-indicator-newline": "error";
|
|
1430
|
+
readonly "yml/block-sequence": "error";
|
|
2654
1431
|
readonly "yml/indent": readonly [
|
|
2655
1432
|
"error",
|
|
2656
1433
|
2,
|
|
2657
1434
|
{
|
|
2658
1435
|
readonly alignMultilineFlowScalars: true;
|
|
2659
|
-
readonly indentBlockSequences: true;
|
|
2660
|
-
readonly indicatorValueIndent: 2;
|
|
2661
1436
|
}
|
|
2662
1437
|
];
|
|
2663
1438
|
readonly "yml/no-empty-key": "error";
|
|
2664
1439
|
readonly "yml/no-empty-sequence-entry": "error";
|
|
2665
1440
|
readonly "yml/no-tab-indent": "error";
|
|
2666
1441
|
readonly "yml/no-trailing-zeros": "error";
|
|
2667
|
-
readonly "yml/plain-scalar":
|
|
2668
|
-
|
|
2669
|
-
"always"
|
|
2670
|
-
];
|
|
2671
|
-
readonly "yml/quotes": readonly [
|
|
2672
|
-
"error",
|
|
2673
|
-
{
|
|
2674
|
-
readonly prefer: "double";
|
|
2675
|
-
readonly avoidEscape: true;
|
|
2676
|
-
}
|
|
2677
|
-
];
|
|
1442
|
+
readonly "yml/plain-scalar": "error";
|
|
1443
|
+
readonly "yml/quotes": "error";
|
|
2678
1444
|
readonly "yml/require-string-key": "error";
|
|
2679
1445
|
readonly "yml/vue-custom-block/no-parsing-error": "error";
|
|
2680
1446
|
};
|
|
@@ -2691,43 +1457,12 @@ export declare const defaults: {
|
|
|
2691
1457
|
];
|
|
2692
1458
|
readonly "yml/flow-mapping-curly-spacing": readonly [
|
|
2693
1459
|
"error",
|
|
2694
|
-
"always"
|
|
2695
|
-
{
|
|
2696
|
-
readonly arraysInObjects: true;
|
|
2697
|
-
readonly objectsInObjects: true;
|
|
2698
|
-
}
|
|
2699
|
-
];
|
|
2700
|
-
readonly "yml/flow-sequence-bracket-newline": readonly [
|
|
2701
|
-
"error",
|
|
2702
|
-
{
|
|
2703
|
-
readonly multiline: true;
|
|
2704
|
-
readonly minItems: null;
|
|
2705
|
-
}
|
|
2706
|
-
];
|
|
2707
|
-
readonly "yml/flow-sequence-bracket-spacing": readonly [
|
|
2708
|
-
"error",
|
|
2709
|
-
"never",
|
|
2710
|
-
{
|
|
2711
|
-
readonly singleValue: false;
|
|
2712
|
-
readonly objectsInArrays: false;
|
|
2713
|
-
readonly arraysInArrays: false;
|
|
2714
|
-
}
|
|
2715
|
-
];
|
|
2716
|
-
readonly "yml/key-spacing": readonly [
|
|
2717
|
-
"error",
|
|
2718
|
-
{
|
|
2719
|
-
readonly beforeColon: false;
|
|
2720
|
-
readonly afterColon: true;
|
|
2721
|
-
readonly mode: "strict";
|
|
2722
|
-
}
|
|
2723
|
-
];
|
|
2724
|
-
readonly "yml/no-irregular-whitespace": readonly [
|
|
2725
|
-
"error",
|
|
2726
|
-
{
|
|
2727
|
-
readonly skipQuotedScalars: true;
|
|
2728
|
-
readonly skipComments: false;
|
|
2729
|
-
}
|
|
1460
|
+
"always"
|
|
2730
1461
|
];
|
|
1462
|
+
readonly "yml/flow-sequence-bracket-newline": "error";
|
|
1463
|
+
readonly "yml/flow-sequence-bracket-spacing": "error";
|
|
1464
|
+
readonly "yml/key-spacing": "error";
|
|
1465
|
+
readonly "yml/no-irregular-whitespace": "error";
|
|
2731
1466
|
readonly "yml/no-multiple-empty-lines": readonly [
|
|
2732
1467
|
"error",
|
|
2733
1468
|
{
|