eslint-config-airbnb-extended 0.0.2 → 0.0.4
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/base/index.d.ts +1995 -0
- package/dist/base/index.js +25 -0
- package/dist/base/recommended.d.ts +998 -0
- package/dist/base/recommended.js +33 -0
- package/dist/index.d.ts +1969 -923
- package/dist/index.js +4 -27
- package/dist/rules/best-practices.d.ts +137 -106
- package/dist/rules/best-practices.js +1 -0
- package/dist/rules/errors.d.ts +55 -54
- package/dist/rules/errors.js +1 -0
- package/dist/rules/es6.d.ts +49 -51
- package/dist/rules/es6.js +1 -0
- package/dist/rules/imports.d.ts +60 -59
- package/dist/rules/imports.js +1 -0
- package/dist/rules/node.d.ts +12 -11
- package/dist/rules/node.js +1 -0
- package/dist/rules/strict.d.ts +2 -1
- package/dist/rules/strict.js +1 -0
- package/dist/rules/style.d.ts +150 -144
- package/dist/rules/style.js +1 -0
- package/dist/rules/variables.d.ts +22 -15
- package/dist/rules/variables.js +1 -0
- package/package.json +9 -1
|
@@ -0,0 +1,1995 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'best-practices': {
|
|
3
|
+
name: string;
|
|
4
|
+
rules: {
|
|
5
|
+
'accessor-pairs': "off";
|
|
6
|
+
'array-callback-return': ["error", {
|
|
7
|
+
allowImplicit: boolean;
|
|
8
|
+
}];
|
|
9
|
+
'block-scoped-var': "error";
|
|
10
|
+
complexity: ["off", number];
|
|
11
|
+
'class-methods-use-this': ["error", {
|
|
12
|
+
exceptMethods: never[];
|
|
13
|
+
}];
|
|
14
|
+
'consistent-return': "error";
|
|
15
|
+
curly: ["error", string];
|
|
16
|
+
'default-case': ["error", {
|
|
17
|
+
commentPattern: string;
|
|
18
|
+
}];
|
|
19
|
+
'default-case-last': "error";
|
|
20
|
+
'default-param-last': "error";
|
|
21
|
+
'dot-notation': ["error", {
|
|
22
|
+
allowKeywords: boolean;
|
|
23
|
+
}];
|
|
24
|
+
'dot-location': ["error", string];
|
|
25
|
+
eqeqeq: ["error", string, {
|
|
26
|
+
null: string;
|
|
27
|
+
}];
|
|
28
|
+
'grouped-accessor-pairs': "error";
|
|
29
|
+
'guard-for-in': "error";
|
|
30
|
+
'max-classes-per-file': ["error", number];
|
|
31
|
+
'no-alert': "warn";
|
|
32
|
+
'no-caller': "error";
|
|
33
|
+
'no-case-declarations': "error";
|
|
34
|
+
'no-constructor-return': "error";
|
|
35
|
+
'no-div-regex': "off";
|
|
36
|
+
'no-else-return': ["error", {
|
|
37
|
+
allowElseIf: boolean;
|
|
38
|
+
}];
|
|
39
|
+
'no-empty-function': ["error", {
|
|
40
|
+
allow: string[];
|
|
41
|
+
}];
|
|
42
|
+
'no-empty-pattern': "error";
|
|
43
|
+
'no-empty-static-block': "off";
|
|
44
|
+
'no-eq-null': "off";
|
|
45
|
+
'no-eval': "error";
|
|
46
|
+
'no-extend-native': "error";
|
|
47
|
+
'no-extra-bind': "error";
|
|
48
|
+
'no-extra-label': "error";
|
|
49
|
+
'no-fallthrough': "error";
|
|
50
|
+
'no-floating-decimal': "error";
|
|
51
|
+
'no-global-assign': ["error", {
|
|
52
|
+
exceptions: never[];
|
|
53
|
+
}];
|
|
54
|
+
'no-native-reassign': "off";
|
|
55
|
+
'no-implicit-coercion': ["off", {
|
|
56
|
+
boolean: boolean;
|
|
57
|
+
number: boolean;
|
|
58
|
+
string: boolean;
|
|
59
|
+
allow: never[];
|
|
60
|
+
}];
|
|
61
|
+
'no-implicit-globals': "off";
|
|
62
|
+
'no-implied-eval': "error";
|
|
63
|
+
'no-invalid-this': "off";
|
|
64
|
+
'no-iterator': "error";
|
|
65
|
+
'no-labels': ["error", {
|
|
66
|
+
allowLoop: boolean;
|
|
67
|
+
allowSwitch: boolean;
|
|
68
|
+
}];
|
|
69
|
+
'no-lone-blocks': "error";
|
|
70
|
+
'no-loop-func': "error";
|
|
71
|
+
'no-magic-numbers': ["off", {
|
|
72
|
+
ignore: never[];
|
|
73
|
+
ignoreArrayIndexes: boolean;
|
|
74
|
+
enforceConst: boolean;
|
|
75
|
+
detectObjects: boolean;
|
|
76
|
+
}];
|
|
77
|
+
'no-multi-spaces': ["error", {
|
|
78
|
+
ignoreEOLComments: boolean;
|
|
79
|
+
}];
|
|
80
|
+
'no-multi-str': "error";
|
|
81
|
+
'no-new': "error";
|
|
82
|
+
'no-new-func': "error";
|
|
83
|
+
'no-new-wrappers': "error";
|
|
84
|
+
'no-nonoctal-decimal-escape': "error";
|
|
85
|
+
'no-object-constructor': "off";
|
|
86
|
+
'no-octal': "error";
|
|
87
|
+
'no-octal-escape': "error";
|
|
88
|
+
'no-param-reassign': ["error", {
|
|
89
|
+
props: boolean;
|
|
90
|
+
ignorePropertyModificationsFor: string[];
|
|
91
|
+
}];
|
|
92
|
+
'no-proto': "error";
|
|
93
|
+
'no-redeclare': "error";
|
|
94
|
+
'no-restricted-properties': ["error", {
|
|
95
|
+
object: string;
|
|
96
|
+
property: string;
|
|
97
|
+
message: string;
|
|
98
|
+
}, {
|
|
99
|
+
object: string;
|
|
100
|
+
property: string;
|
|
101
|
+
message: string;
|
|
102
|
+
}, {
|
|
103
|
+
object: string;
|
|
104
|
+
property: string;
|
|
105
|
+
message: string;
|
|
106
|
+
}, {
|
|
107
|
+
object: string;
|
|
108
|
+
property: string;
|
|
109
|
+
message: string;
|
|
110
|
+
}, {
|
|
111
|
+
object: string;
|
|
112
|
+
property: string;
|
|
113
|
+
message: string;
|
|
114
|
+
}, {
|
|
115
|
+
object: string;
|
|
116
|
+
property: string;
|
|
117
|
+
message: string;
|
|
118
|
+
}, {
|
|
119
|
+
object: string;
|
|
120
|
+
property: string;
|
|
121
|
+
message: string;
|
|
122
|
+
}, {
|
|
123
|
+
property: string;
|
|
124
|
+
message: string;
|
|
125
|
+
}, {
|
|
126
|
+
property: string;
|
|
127
|
+
message: string;
|
|
128
|
+
}, {
|
|
129
|
+
object: string;
|
|
130
|
+
property: string;
|
|
131
|
+
message: string;
|
|
132
|
+
}];
|
|
133
|
+
'no-return-assign': ["error", string];
|
|
134
|
+
'no-return-await': "error";
|
|
135
|
+
'no-script-url': "error";
|
|
136
|
+
'no-self-assign': ["error", {
|
|
137
|
+
props: boolean;
|
|
138
|
+
}];
|
|
139
|
+
'no-self-compare': "error";
|
|
140
|
+
'no-sequences': "error";
|
|
141
|
+
'no-throw-literal': "error";
|
|
142
|
+
'no-unmodified-loop-condition': "off";
|
|
143
|
+
'no-unused-expressions': ["error", {
|
|
144
|
+
allowShortCircuit: boolean;
|
|
145
|
+
allowTernary: boolean;
|
|
146
|
+
allowTaggedTemplates: boolean;
|
|
147
|
+
}];
|
|
148
|
+
'no-unused-labels': "error";
|
|
149
|
+
'no-useless-call': "off";
|
|
150
|
+
'no-useless-catch': "error";
|
|
151
|
+
'no-useless-concat': "error";
|
|
152
|
+
'no-useless-escape': "error";
|
|
153
|
+
'no-useless-return': "error";
|
|
154
|
+
'no-void': "error";
|
|
155
|
+
'no-warning-comments': ["off", {
|
|
156
|
+
terms: string[];
|
|
157
|
+
location: string;
|
|
158
|
+
}];
|
|
159
|
+
'no-with': "error";
|
|
160
|
+
'prefer-promise-reject-errors': ["error", {
|
|
161
|
+
allowEmptyReject: boolean;
|
|
162
|
+
}];
|
|
163
|
+
'prefer-named-capture-group': "off";
|
|
164
|
+
'prefer-object-has-own': "off";
|
|
165
|
+
'prefer-regex-literals': ["error", {
|
|
166
|
+
disallowRedundantWrapping: boolean;
|
|
167
|
+
}];
|
|
168
|
+
radix: "error";
|
|
169
|
+
'require-await': "off";
|
|
170
|
+
'require-unicode-regexp': "off";
|
|
171
|
+
'vars-on-top': "error";
|
|
172
|
+
'wrap-iife': ["error", string, {
|
|
173
|
+
functionPrototypeMethods: boolean;
|
|
174
|
+
}];
|
|
175
|
+
yoda: "error";
|
|
176
|
+
};
|
|
177
|
+
}[];
|
|
178
|
+
errors: {
|
|
179
|
+
name: string;
|
|
180
|
+
rules: {
|
|
181
|
+
'for-direction': "error";
|
|
182
|
+
'getter-return': ["error", {
|
|
183
|
+
allowImplicit: boolean;
|
|
184
|
+
}];
|
|
185
|
+
'no-async-promise-executor': "error";
|
|
186
|
+
'no-await-in-loop': "error";
|
|
187
|
+
'no-compare-neg-zero': "error";
|
|
188
|
+
'no-cond-assign': ["error", string];
|
|
189
|
+
'no-console': "warn";
|
|
190
|
+
'no-constant-binary-expression': "off";
|
|
191
|
+
'no-constant-condition': "warn";
|
|
192
|
+
'no-control-regex': "error";
|
|
193
|
+
'no-debugger': "error";
|
|
194
|
+
'no-dupe-args': "error";
|
|
195
|
+
'no-dupe-else-if': "error";
|
|
196
|
+
'no-dupe-keys': "error";
|
|
197
|
+
'no-duplicate-case': "error";
|
|
198
|
+
'no-empty': "error";
|
|
199
|
+
'no-empty-character-class': "error";
|
|
200
|
+
'no-ex-assign': "error";
|
|
201
|
+
'no-extra-boolean-cast': "error";
|
|
202
|
+
'no-extra-parens': ["off", string, {
|
|
203
|
+
conditionalAssign: boolean;
|
|
204
|
+
nestedBinaryExpressions: boolean;
|
|
205
|
+
returnAssign: boolean;
|
|
206
|
+
ignoreJSX: string;
|
|
207
|
+
enforceForArrowConditionals: boolean;
|
|
208
|
+
}];
|
|
209
|
+
'no-extra-semi': "error";
|
|
210
|
+
'no-func-assign': "error";
|
|
211
|
+
'no-import-assign': "error";
|
|
212
|
+
'no-inner-declarations': "error";
|
|
213
|
+
'no-invalid-regexp': "error";
|
|
214
|
+
'no-irregular-whitespace': "error";
|
|
215
|
+
'no-loss-of-precision': "error";
|
|
216
|
+
'no-misleading-character-class': "error";
|
|
217
|
+
'no-obj-calls': "error";
|
|
218
|
+
'no-new-native-nonconstructor': "off";
|
|
219
|
+
'no-promise-executor-return': "error";
|
|
220
|
+
'no-prototype-builtins': "error";
|
|
221
|
+
'no-regex-spaces': "error";
|
|
222
|
+
'no-setter-return': "error";
|
|
223
|
+
'no-sparse-arrays': "error";
|
|
224
|
+
'no-template-curly-in-string': "error";
|
|
225
|
+
'no-unexpected-multiline': "error";
|
|
226
|
+
'no-unreachable': "error";
|
|
227
|
+
'no-unreachable-loop': ["error", {
|
|
228
|
+
ignore: never[];
|
|
229
|
+
}];
|
|
230
|
+
'no-unsafe-finally': "error";
|
|
231
|
+
'no-unsafe-negation': "error";
|
|
232
|
+
'no-unsafe-optional-chaining': ["error", {
|
|
233
|
+
disallowArithmeticOperators: boolean;
|
|
234
|
+
}];
|
|
235
|
+
'no-unused-private-class-members': "off";
|
|
236
|
+
'no-useless-backreference': "error";
|
|
237
|
+
'no-negated-in-lhs': "off";
|
|
238
|
+
'require-atomic-updates': "off";
|
|
239
|
+
'use-isnan': "error";
|
|
240
|
+
'valid-jsdoc': "off";
|
|
241
|
+
'valid-typeof': ["error", {
|
|
242
|
+
requireStringLiterals: boolean;
|
|
243
|
+
}];
|
|
244
|
+
};
|
|
245
|
+
}[];
|
|
246
|
+
es6: {
|
|
247
|
+
name: string;
|
|
248
|
+
languageOptions: {
|
|
249
|
+
globals: {
|
|
250
|
+
Array: false;
|
|
251
|
+
ArrayBuffer: false;
|
|
252
|
+
Boolean: false;
|
|
253
|
+
DataView: false;
|
|
254
|
+
Date: false;
|
|
255
|
+
decodeURI: false;
|
|
256
|
+
decodeURIComponent: false;
|
|
257
|
+
encodeURI: false;
|
|
258
|
+
encodeURIComponent: false;
|
|
259
|
+
Error: false;
|
|
260
|
+
escape: false;
|
|
261
|
+
eval: false;
|
|
262
|
+
EvalError: false;
|
|
263
|
+
Float32Array: false;
|
|
264
|
+
Float64Array: false;
|
|
265
|
+
Function: false;
|
|
266
|
+
Infinity: false;
|
|
267
|
+
Int16Array: false;
|
|
268
|
+
Int32Array: false;
|
|
269
|
+
Int8Array: false;
|
|
270
|
+
Intl: false;
|
|
271
|
+
isFinite: false;
|
|
272
|
+
isNaN: false;
|
|
273
|
+
JSON: false;
|
|
274
|
+
Map: false;
|
|
275
|
+
Math: false;
|
|
276
|
+
NaN: false;
|
|
277
|
+
Number: false;
|
|
278
|
+
Object: false;
|
|
279
|
+
parseFloat: false;
|
|
280
|
+
parseInt: false;
|
|
281
|
+
Promise: false;
|
|
282
|
+
Proxy: false;
|
|
283
|
+
RangeError: false;
|
|
284
|
+
ReferenceError: false;
|
|
285
|
+
Reflect: false;
|
|
286
|
+
RegExp: false;
|
|
287
|
+
Set: false;
|
|
288
|
+
String: false;
|
|
289
|
+
Symbol: false;
|
|
290
|
+
SyntaxError: false;
|
|
291
|
+
TypeError: false;
|
|
292
|
+
Uint16Array: false;
|
|
293
|
+
Uint32Array: false;
|
|
294
|
+
Uint8Array: false;
|
|
295
|
+
Uint8ClampedArray: false;
|
|
296
|
+
undefined: false;
|
|
297
|
+
unescape: false;
|
|
298
|
+
URIError: false;
|
|
299
|
+
WeakMap: false;
|
|
300
|
+
WeakSet: false;
|
|
301
|
+
};
|
|
302
|
+
parserOptions: {
|
|
303
|
+
ecmaVersion: 6;
|
|
304
|
+
sourceType: "module";
|
|
305
|
+
ecmaFeatures: {
|
|
306
|
+
generators: boolean;
|
|
307
|
+
objectLiteralDuplicateProperties: boolean;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
rules: {
|
|
312
|
+
'arrow-body-style': ["error", string, {
|
|
313
|
+
requireReturnForObjectLiteral: boolean;
|
|
314
|
+
}];
|
|
315
|
+
'arrow-parens': ["error", string];
|
|
316
|
+
'arrow-spacing': ["error", {
|
|
317
|
+
before: boolean;
|
|
318
|
+
after: boolean;
|
|
319
|
+
}];
|
|
320
|
+
'constructor-super': "error";
|
|
321
|
+
'generator-star-spacing': ["error", {
|
|
322
|
+
before: boolean;
|
|
323
|
+
after: boolean;
|
|
324
|
+
}];
|
|
325
|
+
'no-class-assign': "error";
|
|
326
|
+
'no-confusing-arrow': ["error", {
|
|
327
|
+
allowParens: boolean;
|
|
328
|
+
}];
|
|
329
|
+
'no-const-assign': "error";
|
|
330
|
+
'no-dupe-class-members': "error";
|
|
331
|
+
'no-duplicate-imports': "off";
|
|
332
|
+
'no-new-symbol': "error";
|
|
333
|
+
'no-restricted-exports': ["error", {
|
|
334
|
+
restrictedNamedExports: string[];
|
|
335
|
+
}];
|
|
336
|
+
'no-restricted-imports': ["off", {
|
|
337
|
+
paths: never[];
|
|
338
|
+
patterns: never[];
|
|
339
|
+
}];
|
|
340
|
+
'no-this-before-super': "error";
|
|
341
|
+
'no-useless-computed-key': "error";
|
|
342
|
+
'no-useless-constructor': "error";
|
|
343
|
+
'no-useless-rename': ["error", {
|
|
344
|
+
ignoreDestructuring: boolean;
|
|
345
|
+
ignoreImport: boolean;
|
|
346
|
+
ignoreExport: boolean;
|
|
347
|
+
}];
|
|
348
|
+
'no-var': "error";
|
|
349
|
+
'object-shorthand': ["error", string, {
|
|
350
|
+
ignoreConstructors: boolean;
|
|
351
|
+
avoidQuotes: boolean;
|
|
352
|
+
}];
|
|
353
|
+
'prefer-arrow-callback': ["error", {
|
|
354
|
+
allowNamedFunctions: boolean;
|
|
355
|
+
allowUnboundThis: boolean;
|
|
356
|
+
}];
|
|
357
|
+
'prefer-const': ["error", {
|
|
358
|
+
destructuring: string;
|
|
359
|
+
ignoreReadBeforeAssign: boolean;
|
|
360
|
+
}];
|
|
361
|
+
'prefer-destructuring': ["error", {
|
|
362
|
+
VariableDeclarator: {
|
|
363
|
+
array: boolean;
|
|
364
|
+
object: boolean;
|
|
365
|
+
};
|
|
366
|
+
AssignmentExpression: {
|
|
367
|
+
array: boolean;
|
|
368
|
+
object: boolean;
|
|
369
|
+
};
|
|
370
|
+
}, {
|
|
371
|
+
enforceForRenamedProperties: boolean;
|
|
372
|
+
}];
|
|
373
|
+
'prefer-numeric-literals': "error";
|
|
374
|
+
'prefer-reflect': "off";
|
|
375
|
+
'prefer-rest-params': "error";
|
|
376
|
+
'prefer-spread': "error";
|
|
377
|
+
'prefer-template': "error";
|
|
378
|
+
'require-yield': "error";
|
|
379
|
+
'rest-spread-spacing': ["error", string];
|
|
380
|
+
'sort-imports': ["off", {
|
|
381
|
+
ignoreCase: boolean;
|
|
382
|
+
ignoreDeclarationSort: boolean;
|
|
383
|
+
ignoreMemberSort: boolean;
|
|
384
|
+
memberSyntaxSortOrder: string[];
|
|
385
|
+
}];
|
|
386
|
+
'symbol-description': "error";
|
|
387
|
+
'template-curly-spacing': "error";
|
|
388
|
+
'yield-star-spacing': ["error", string];
|
|
389
|
+
};
|
|
390
|
+
}[];
|
|
391
|
+
imports: {
|
|
392
|
+
name: string;
|
|
393
|
+
languageOptions: {
|
|
394
|
+
globals: {
|
|
395
|
+
Array: false;
|
|
396
|
+
ArrayBuffer: false;
|
|
397
|
+
Boolean: false;
|
|
398
|
+
DataView: false;
|
|
399
|
+
Date: false;
|
|
400
|
+
decodeURI: false;
|
|
401
|
+
decodeURIComponent: false;
|
|
402
|
+
encodeURI: false;
|
|
403
|
+
encodeURIComponent: false;
|
|
404
|
+
Error: false;
|
|
405
|
+
escape: false;
|
|
406
|
+
eval: false;
|
|
407
|
+
EvalError: false;
|
|
408
|
+
Float32Array: false;
|
|
409
|
+
Float64Array: false;
|
|
410
|
+
Function: false;
|
|
411
|
+
Infinity: false;
|
|
412
|
+
Int16Array: false;
|
|
413
|
+
Int32Array: false;
|
|
414
|
+
Int8Array: false;
|
|
415
|
+
Intl: false;
|
|
416
|
+
isFinite: false;
|
|
417
|
+
isNaN: false;
|
|
418
|
+
JSON: false;
|
|
419
|
+
Map: false;
|
|
420
|
+
Math: false;
|
|
421
|
+
NaN: false;
|
|
422
|
+
Number: false;
|
|
423
|
+
Object: false;
|
|
424
|
+
parseFloat: false;
|
|
425
|
+
parseInt: false;
|
|
426
|
+
Promise: false;
|
|
427
|
+
Proxy: false;
|
|
428
|
+
RangeError: false;
|
|
429
|
+
ReferenceError: false;
|
|
430
|
+
Reflect: false;
|
|
431
|
+
RegExp: false;
|
|
432
|
+
Set: false;
|
|
433
|
+
String: false;
|
|
434
|
+
Symbol: false;
|
|
435
|
+
SyntaxError: false;
|
|
436
|
+
TypeError: false;
|
|
437
|
+
Uint16Array: false;
|
|
438
|
+
Uint32Array: false;
|
|
439
|
+
Uint8Array: false;
|
|
440
|
+
Uint8ClampedArray: false;
|
|
441
|
+
undefined: false;
|
|
442
|
+
unescape: false;
|
|
443
|
+
URIError: false;
|
|
444
|
+
WeakMap: false;
|
|
445
|
+
WeakSet: false;
|
|
446
|
+
};
|
|
447
|
+
parserOptions: {
|
|
448
|
+
ecmaVersion: 6;
|
|
449
|
+
sourceType: "module";
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
plugins: {
|
|
453
|
+
import: any;
|
|
454
|
+
};
|
|
455
|
+
settings: {
|
|
456
|
+
'import/resolver': {
|
|
457
|
+
node: {
|
|
458
|
+
extensions: string[];
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
'import/extensions': string[];
|
|
462
|
+
'import/core-modules': never[];
|
|
463
|
+
'import/ignore': string[];
|
|
464
|
+
};
|
|
465
|
+
rules: {
|
|
466
|
+
'import/no-unresolved': ["error", {
|
|
467
|
+
commonjs: boolean;
|
|
468
|
+
caseSensitive: boolean;
|
|
469
|
+
}];
|
|
470
|
+
'import/named': "error";
|
|
471
|
+
'import/default': "off";
|
|
472
|
+
'import/namespace': "off";
|
|
473
|
+
'import/export': "error";
|
|
474
|
+
'import/no-named-as-default': "error";
|
|
475
|
+
'import/no-named-as-default-member': "error";
|
|
476
|
+
'import/no-deprecated': "off";
|
|
477
|
+
'import/no-extraneous-dependencies': ["error", {
|
|
478
|
+
devDependencies: string[];
|
|
479
|
+
optionalDependencies: boolean;
|
|
480
|
+
}];
|
|
481
|
+
'import/no-mutable-exports': "error";
|
|
482
|
+
'import/no-commonjs': "off";
|
|
483
|
+
'import/no-amd': "error";
|
|
484
|
+
'import/no-nodejs-modules': "off";
|
|
485
|
+
'import/first': "error";
|
|
486
|
+
'import/imports-first': "off";
|
|
487
|
+
'import/no-duplicates': "error";
|
|
488
|
+
'import/no-namespace': "off";
|
|
489
|
+
'import/extensions': ["error", string, {
|
|
490
|
+
js: string;
|
|
491
|
+
mjs: string;
|
|
492
|
+
jsx: string;
|
|
493
|
+
}];
|
|
494
|
+
'import/order': ["error", {
|
|
495
|
+
groups: string[][];
|
|
496
|
+
}];
|
|
497
|
+
'import/newline-after-import': "error";
|
|
498
|
+
'import/prefer-default-export': "error";
|
|
499
|
+
'import/no-restricted-paths': "off";
|
|
500
|
+
'import/max-dependencies': ["off", {
|
|
501
|
+
max: number;
|
|
502
|
+
}];
|
|
503
|
+
'import/no-absolute-path': "error";
|
|
504
|
+
'import/no-dynamic-require': "error";
|
|
505
|
+
'import/no-internal-modules': ["off", {
|
|
506
|
+
allow: never[];
|
|
507
|
+
}];
|
|
508
|
+
'import/unambiguous': "off";
|
|
509
|
+
'import/no-webpack-loader-syntax': "error";
|
|
510
|
+
'import/no-unassigned-import': "off";
|
|
511
|
+
'import/no-named-default': "error";
|
|
512
|
+
'import/no-anonymous-default-export': ["off", {
|
|
513
|
+
allowArray: boolean;
|
|
514
|
+
allowArrowFunction: boolean;
|
|
515
|
+
allowAnonymousClass: boolean;
|
|
516
|
+
allowAnonymousFunction: boolean;
|
|
517
|
+
allowLiteral: boolean;
|
|
518
|
+
allowObject: boolean;
|
|
519
|
+
}];
|
|
520
|
+
'import/exports-last': "off";
|
|
521
|
+
'import/group-exports': "off";
|
|
522
|
+
'import/no-default-export': "off";
|
|
523
|
+
'import/no-named-export': "off";
|
|
524
|
+
'import/no-self-import': "error";
|
|
525
|
+
'import/no-cycle': ["error", {
|
|
526
|
+
maxDepth: string;
|
|
527
|
+
}];
|
|
528
|
+
'import/no-useless-path-segments': ["error", {
|
|
529
|
+
commonjs: boolean;
|
|
530
|
+
}];
|
|
531
|
+
'import/dynamic-import-chunkname': ["off", {
|
|
532
|
+
importFunctions: never[];
|
|
533
|
+
webpackChunknameFormat: string;
|
|
534
|
+
}];
|
|
535
|
+
'import/no-relative-parent-imports': "off";
|
|
536
|
+
'import/no-unused-modules': ["off", {
|
|
537
|
+
ignoreExports: never[];
|
|
538
|
+
missingExports: boolean;
|
|
539
|
+
unusedExports: boolean;
|
|
540
|
+
}];
|
|
541
|
+
'import/no-import-module-exports': ["error", {
|
|
542
|
+
exceptions: never[];
|
|
543
|
+
}];
|
|
544
|
+
'import/no-relative-packages': "error";
|
|
545
|
+
'import/consistent-type-specifier-style': ["off", string];
|
|
546
|
+
'import/no-empty-named-blocks': "off";
|
|
547
|
+
};
|
|
548
|
+
}[];
|
|
549
|
+
node: {
|
|
550
|
+
name: string;
|
|
551
|
+
languageOptions: {
|
|
552
|
+
globals: {
|
|
553
|
+
AbortController: false;
|
|
554
|
+
AbortSignal: false;
|
|
555
|
+
atob: false;
|
|
556
|
+
Blob: false;
|
|
557
|
+
BroadcastChannel: false;
|
|
558
|
+
btoa: false;
|
|
559
|
+
Buffer: false;
|
|
560
|
+
ByteLengthQueuingStrategy: false;
|
|
561
|
+
clearImmediate: false;
|
|
562
|
+
clearInterval: false;
|
|
563
|
+
clearTimeout: false;
|
|
564
|
+
CloseEvent: false;
|
|
565
|
+
CompressionStream: false;
|
|
566
|
+
console: false;
|
|
567
|
+
CountQueuingStrategy: false;
|
|
568
|
+
crypto: false;
|
|
569
|
+
Crypto: false;
|
|
570
|
+
CryptoKey: false;
|
|
571
|
+
CustomEvent: false;
|
|
572
|
+
DecompressionStream: false;
|
|
573
|
+
DOMException: false;
|
|
574
|
+
Event: false;
|
|
575
|
+
EventTarget: false;
|
|
576
|
+
fetch: false;
|
|
577
|
+
File: false;
|
|
578
|
+
FormData: false;
|
|
579
|
+
global: false;
|
|
580
|
+
Headers: false;
|
|
581
|
+
MessageChannel: false;
|
|
582
|
+
MessageEvent: false;
|
|
583
|
+
MessagePort: false;
|
|
584
|
+
navigator: false;
|
|
585
|
+
Navigator: false;
|
|
586
|
+
performance: false;
|
|
587
|
+
Performance: false;
|
|
588
|
+
PerformanceEntry: false;
|
|
589
|
+
PerformanceMark: false;
|
|
590
|
+
PerformanceMeasure: false;
|
|
591
|
+
PerformanceObserver: false;
|
|
592
|
+
PerformanceObserverEntryList: false;
|
|
593
|
+
PerformanceResourceTiming: false;
|
|
594
|
+
process: false;
|
|
595
|
+
queueMicrotask: false;
|
|
596
|
+
ReadableByteStreamController: false;
|
|
597
|
+
ReadableStream: false;
|
|
598
|
+
ReadableStreamBYOBReader: false;
|
|
599
|
+
ReadableStreamBYOBRequest: false;
|
|
600
|
+
ReadableStreamDefaultController: false;
|
|
601
|
+
ReadableStreamDefaultReader: false;
|
|
602
|
+
Request: false;
|
|
603
|
+
Response: false;
|
|
604
|
+
setImmediate: false;
|
|
605
|
+
setInterval: false;
|
|
606
|
+
setTimeout: false;
|
|
607
|
+
structuredClone: false;
|
|
608
|
+
SubtleCrypto: false;
|
|
609
|
+
TextDecoder: false;
|
|
610
|
+
TextDecoderStream: false;
|
|
611
|
+
TextEncoder: false;
|
|
612
|
+
TextEncoderStream: false;
|
|
613
|
+
TransformStream: false;
|
|
614
|
+
TransformStreamDefaultController: false;
|
|
615
|
+
URL: false;
|
|
616
|
+
URLSearchParams: false;
|
|
617
|
+
WebAssembly: false;
|
|
618
|
+
WebSocket: false;
|
|
619
|
+
WritableStream: false;
|
|
620
|
+
WritableStreamDefaultController: false;
|
|
621
|
+
WritableStreamDefaultWriter: false;
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
rules: {
|
|
625
|
+
'callback-return': "off";
|
|
626
|
+
'global-require': "error";
|
|
627
|
+
'handle-callback-err': "off";
|
|
628
|
+
'no-buffer-constructor': "error";
|
|
629
|
+
'no-mixed-requires': ["off", boolean];
|
|
630
|
+
'no-new-require': "error";
|
|
631
|
+
'no-path-concat': "error";
|
|
632
|
+
'no-process-env': "off";
|
|
633
|
+
'no-process-exit': "off";
|
|
634
|
+
'no-restricted-modules': "off";
|
|
635
|
+
'no-sync': "off";
|
|
636
|
+
};
|
|
637
|
+
}[];
|
|
638
|
+
strict: {
|
|
639
|
+
name: string;
|
|
640
|
+
rules: {
|
|
641
|
+
strict: ["error", string];
|
|
642
|
+
};
|
|
643
|
+
}[];
|
|
644
|
+
style: {
|
|
645
|
+
name: string;
|
|
646
|
+
rules: {
|
|
647
|
+
'array-bracket-newline': ["off", string];
|
|
648
|
+
'array-element-newline': ["off", {
|
|
649
|
+
multiline: boolean;
|
|
650
|
+
minItems: number;
|
|
651
|
+
}];
|
|
652
|
+
'array-bracket-spacing': ["error", string];
|
|
653
|
+
'block-spacing': ["error", string];
|
|
654
|
+
'brace-style': ["error", string, {
|
|
655
|
+
allowSingleLine: boolean;
|
|
656
|
+
}];
|
|
657
|
+
camelcase: ["error", {
|
|
658
|
+
properties: string;
|
|
659
|
+
ignoreDestructuring: boolean;
|
|
660
|
+
}];
|
|
661
|
+
'capitalized-comments': ["off", string, {
|
|
662
|
+
line: {
|
|
663
|
+
ignorePattern: string;
|
|
664
|
+
ignoreInlineComments: boolean;
|
|
665
|
+
ignoreConsecutiveComments: boolean;
|
|
666
|
+
};
|
|
667
|
+
block: {
|
|
668
|
+
ignorePattern: string;
|
|
669
|
+
ignoreInlineComments: boolean;
|
|
670
|
+
ignoreConsecutiveComments: boolean;
|
|
671
|
+
};
|
|
672
|
+
}];
|
|
673
|
+
'comma-dangle': ["error", {
|
|
674
|
+
arrays: string;
|
|
675
|
+
objects: string;
|
|
676
|
+
imports: string;
|
|
677
|
+
exports: string;
|
|
678
|
+
functions: string;
|
|
679
|
+
}];
|
|
680
|
+
'comma-spacing': ["error", {
|
|
681
|
+
before: boolean;
|
|
682
|
+
after: boolean;
|
|
683
|
+
}];
|
|
684
|
+
'comma-style': ["error", string, {
|
|
685
|
+
exceptions: {
|
|
686
|
+
ArrayExpression: boolean;
|
|
687
|
+
ArrayPattern: boolean;
|
|
688
|
+
ArrowFunctionExpression: boolean;
|
|
689
|
+
CallExpression: boolean;
|
|
690
|
+
FunctionDeclaration: boolean;
|
|
691
|
+
FunctionExpression: boolean;
|
|
692
|
+
ImportDeclaration: boolean;
|
|
693
|
+
ObjectExpression: boolean;
|
|
694
|
+
ObjectPattern: boolean;
|
|
695
|
+
VariableDeclaration: boolean;
|
|
696
|
+
NewExpression: boolean;
|
|
697
|
+
};
|
|
698
|
+
}];
|
|
699
|
+
'computed-property-spacing': ["error", string];
|
|
700
|
+
'consistent-this': "off";
|
|
701
|
+
'eol-last': ["error", string];
|
|
702
|
+
'function-call-argument-newline': ["error", string];
|
|
703
|
+
'func-call-spacing': ["error", string];
|
|
704
|
+
'func-name-matching': ["off", string, {
|
|
705
|
+
includeCommonJSModuleExports: boolean;
|
|
706
|
+
considerPropertyDescriptor: boolean;
|
|
707
|
+
}];
|
|
708
|
+
'func-names': "warn";
|
|
709
|
+
'func-style': ["off", string];
|
|
710
|
+
'function-paren-newline': ["error", string];
|
|
711
|
+
'id-denylist': "off";
|
|
712
|
+
'id-length': "off";
|
|
713
|
+
'id-match': "off";
|
|
714
|
+
'implicit-arrow-linebreak': ["error", string];
|
|
715
|
+
indent: ["error", number, {
|
|
716
|
+
SwitchCase: number;
|
|
717
|
+
VariableDeclarator: number;
|
|
718
|
+
outerIIFEBody: number;
|
|
719
|
+
FunctionDeclaration: {
|
|
720
|
+
parameters: number;
|
|
721
|
+
body: number;
|
|
722
|
+
};
|
|
723
|
+
FunctionExpression: {
|
|
724
|
+
parameters: number;
|
|
725
|
+
body: number;
|
|
726
|
+
};
|
|
727
|
+
CallExpression: {
|
|
728
|
+
arguments: number;
|
|
729
|
+
};
|
|
730
|
+
ArrayExpression: number;
|
|
731
|
+
ObjectExpression: number;
|
|
732
|
+
ImportDeclaration: number;
|
|
733
|
+
flatTernaryExpressions: boolean;
|
|
734
|
+
ignoredNodes: string[];
|
|
735
|
+
ignoreComments: boolean;
|
|
736
|
+
}];
|
|
737
|
+
'jsx-quotes': ["off", string];
|
|
738
|
+
'key-spacing': ["error", {
|
|
739
|
+
beforeColon: boolean;
|
|
740
|
+
afterColon: boolean;
|
|
741
|
+
}];
|
|
742
|
+
'keyword-spacing': ["error", {
|
|
743
|
+
before: boolean;
|
|
744
|
+
after: boolean;
|
|
745
|
+
overrides: {
|
|
746
|
+
return: {
|
|
747
|
+
after: boolean;
|
|
748
|
+
};
|
|
749
|
+
throw: {
|
|
750
|
+
after: boolean;
|
|
751
|
+
};
|
|
752
|
+
case: {
|
|
753
|
+
after: boolean;
|
|
754
|
+
};
|
|
755
|
+
};
|
|
756
|
+
}];
|
|
757
|
+
'line-comment-position': ["off", {
|
|
758
|
+
position: string;
|
|
759
|
+
ignorePattern: string;
|
|
760
|
+
applyDefaultPatterns: boolean;
|
|
761
|
+
}];
|
|
762
|
+
'linebreak-style': ["error", string];
|
|
763
|
+
'lines-between-class-members': ["error", string, {
|
|
764
|
+
exceptAfterSingleLine: boolean;
|
|
765
|
+
}];
|
|
766
|
+
'lines-around-comment': "off";
|
|
767
|
+
'lines-around-directive': ["error", {
|
|
768
|
+
before: string;
|
|
769
|
+
after: string;
|
|
770
|
+
}];
|
|
771
|
+
'logical-assignment-operators': ["off", string, {
|
|
772
|
+
enforceForIfStatements: boolean;
|
|
773
|
+
}];
|
|
774
|
+
'max-depth': ["off", number];
|
|
775
|
+
'max-len': ["error", number, number, {
|
|
776
|
+
ignoreUrls: boolean;
|
|
777
|
+
ignoreComments: boolean;
|
|
778
|
+
ignoreRegExpLiterals: boolean;
|
|
779
|
+
ignoreStrings: boolean;
|
|
780
|
+
ignoreTemplateLiterals: boolean;
|
|
781
|
+
}];
|
|
782
|
+
'max-lines': ["off", {
|
|
783
|
+
max: number;
|
|
784
|
+
skipBlankLines: boolean;
|
|
785
|
+
skipComments: boolean;
|
|
786
|
+
}];
|
|
787
|
+
'max-lines-per-function': ["off", {
|
|
788
|
+
max: number;
|
|
789
|
+
skipBlankLines: boolean;
|
|
790
|
+
skipComments: boolean;
|
|
791
|
+
IIFEs: boolean;
|
|
792
|
+
}];
|
|
793
|
+
'max-nested-callbacks': "off";
|
|
794
|
+
'max-params': ["off", number];
|
|
795
|
+
'max-statements': ["off", number];
|
|
796
|
+
'max-statements-per-line': ["off", {
|
|
797
|
+
max: number;
|
|
798
|
+
}];
|
|
799
|
+
'multiline-comment-style': ["off", string];
|
|
800
|
+
'multiline-ternary': ["off", string];
|
|
801
|
+
'new-cap': ["error", {
|
|
802
|
+
newIsCap: boolean;
|
|
803
|
+
newIsCapExceptions: never[];
|
|
804
|
+
capIsNew: boolean;
|
|
805
|
+
capIsNewExceptions: string[];
|
|
806
|
+
}];
|
|
807
|
+
'new-parens': "error";
|
|
808
|
+
'newline-after-var': "off";
|
|
809
|
+
'newline-before-return': "off";
|
|
810
|
+
'newline-per-chained-call': ["error", {
|
|
811
|
+
ignoreChainWithDepth: number;
|
|
812
|
+
}];
|
|
813
|
+
'no-array-constructor': "error";
|
|
814
|
+
'no-bitwise': "error";
|
|
815
|
+
'no-continue': "error";
|
|
816
|
+
'no-inline-comments': "off";
|
|
817
|
+
'no-lonely-if': "error";
|
|
818
|
+
'no-mixed-operators': ["error", {
|
|
819
|
+
groups: string[][];
|
|
820
|
+
allowSamePrecedence: boolean;
|
|
821
|
+
}];
|
|
822
|
+
'no-mixed-spaces-and-tabs': "error";
|
|
823
|
+
'no-multi-assign': ["error"];
|
|
824
|
+
'no-multiple-empty-lines': ["error", {
|
|
825
|
+
max: number;
|
|
826
|
+
maxBOF: number;
|
|
827
|
+
maxEOF: number;
|
|
828
|
+
}];
|
|
829
|
+
'no-negated-condition': "off";
|
|
830
|
+
'no-nested-ternary': "error";
|
|
831
|
+
'no-new-object': "error";
|
|
832
|
+
'no-plusplus': "error";
|
|
833
|
+
'no-restricted-syntax': ["error", {
|
|
834
|
+
selector: string;
|
|
835
|
+
message: string;
|
|
836
|
+
}, {
|
|
837
|
+
selector: string;
|
|
838
|
+
message: string;
|
|
839
|
+
}, {
|
|
840
|
+
selector: string;
|
|
841
|
+
message: string;
|
|
842
|
+
}, {
|
|
843
|
+
selector: string;
|
|
844
|
+
message: string;
|
|
845
|
+
}];
|
|
846
|
+
'no-spaced-func': "off";
|
|
847
|
+
'no-tabs': "error";
|
|
848
|
+
'no-ternary': "off";
|
|
849
|
+
'no-trailing-spaces': ["error", {
|
|
850
|
+
skipBlankLines: boolean;
|
|
851
|
+
ignoreComments: boolean;
|
|
852
|
+
}];
|
|
853
|
+
'no-underscore-dangle': ["error", {
|
|
854
|
+
allow: never[];
|
|
855
|
+
allowAfterThis: boolean;
|
|
856
|
+
allowAfterSuper: boolean;
|
|
857
|
+
enforceInMethodNames: boolean;
|
|
858
|
+
}];
|
|
859
|
+
'no-unneeded-ternary': ["error", {
|
|
860
|
+
defaultAssignment: boolean;
|
|
861
|
+
}];
|
|
862
|
+
'no-whitespace-before-property': "error";
|
|
863
|
+
'nonblock-statement-body-position': ["error", string, {
|
|
864
|
+
overrides: {};
|
|
865
|
+
}];
|
|
866
|
+
'object-curly-spacing': ["error", string];
|
|
867
|
+
'object-curly-newline': ["error", {
|
|
868
|
+
ObjectExpression: {
|
|
869
|
+
minProperties: number;
|
|
870
|
+
multiline: boolean;
|
|
871
|
+
consistent: boolean;
|
|
872
|
+
};
|
|
873
|
+
ObjectPattern: {
|
|
874
|
+
minProperties: number;
|
|
875
|
+
multiline: boolean;
|
|
876
|
+
consistent: boolean;
|
|
877
|
+
};
|
|
878
|
+
ImportDeclaration: {
|
|
879
|
+
minProperties: number;
|
|
880
|
+
multiline: boolean;
|
|
881
|
+
consistent: boolean;
|
|
882
|
+
};
|
|
883
|
+
ExportDeclaration: {
|
|
884
|
+
minProperties: number;
|
|
885
|
+
multiline: boolean;
|
|
886
|
+
consistent: boolean;
|
|
887
|
+
};
|
|
888
|
+
}];
|
|
889
|
+
'object-property-newline': ["error", {
|
|
890
|
+
allowAllPropertiesOnSameLine: boolean;
|
|
891
|
+
}];
|
|
892
|
+
'one-var': ["error", string];
|
|
893
|
+
'one-var-declaration-per-line': ["error", string];
|
|
894
|
+
'operator-assignment': ["error", string];
|
|
895
|
+
'operator-linebreak': ["error", string, {
|
|
896
|
+
overrides: {
|
|
897
|
+
'=': string;
|
|
898
|
+
};
|
|
899
|
+
}];
|
|
900
|
+
'padded-blocks': ["error", {
|
|
901
|
+
blocks: string;
|
|
902
|
+
classes: string;
|
|
903
|
+
switches: string;
|
|
904
|
+
}, {
|
|
905
|
+
allowSingleLineBlocks: boolean;
|
|
906
|
+
}];
|
|
907
|
+
'padding-line-between-statements': "off";
|
|
908
|
+
'prefer-exponentiation-operator': "error";
|
|
909
|
+
'prefer-object-spread': "error";
|
|
910
|
+
'quote-props': ["error", string, {
|
|
911
|
+
keywords: boolean;
|
|
912
|
+
unnecessary: boolean;
|
|
913
|
+
numbers: boolean;
|
|
914
|
+
}];
|
|
915
|
+
quotes: ["error", string, {
|
|
916
|
+
avoidEscape: boolean;
|
|
917
|
+
}];
|
|
918
|
+
'require-jsdoc': "off";
|
|
919
|
+
semi: ["error", string];
|
|
920
|
+
'semi-spacing': ["error", {
|
|
921
|
+
before: boolean;
|
|
922
|
+
after: boolean;
|
|
923
|
+
}];
|
|
924
|
+
'semi-style': ["error", string];
|
|
925
|
+
'sort-keys': ["off", string, {
|
|
926
|
+
caseSensitive: boolean;
|
|
927
|
+
natural: boolean;
|
|
928
|
+
}];
|
|
929
|
+
'sort-vars': "off";
|
|
930
|
+
'space-before-blocks': "error";
|
|
931
|
+
'space-before-function-paren': ["error", {
|
|
932
|
+
anonymous: string;
|
|
933
|
+
named: string;
|
|
934
|
+
asyncArrow: string;
|
|
935
|
+
}];
|
|
936
|
+
'space-in-parens': ["error", string];
|
|
937
|
+
'space-infix-ops': "error";
|
|
938
|
+
'space-unary-ops': ["error", {
|
|
939
|
+
words: boolean;
|
|
940
|
+
nonwords: boolean;
|
|
941
|
+
overrides: {};
|
|
942
|
+
}];
|
|
943
|
+
'spaced-comment': ["error", string, {
|
|
944
|
+
line: {
|
|
945
|
+
exceptions: string[];
|
|
946
|
+
markers: string[];
|
|
947
|
+
};
|
|
948
|
+
block: {
|
|
949
|
+
exceptions: string[];
|
|
950
|
+
markers: string[];
|
|
951
|
+
balanced: boolean;
|
|
952
|
+
};
|
|
953
|
+
}];
|
|
954
|
+
'switch-colon-spacing': ["error", {
|
|
955
|
+
after: boolean;
|
|
956
|
+
before: boolean;
|
|
957
|
+
}];
|
|
958
|
+
'template-tag-spacing': ["error", string];
|
|
959
|
+
'unicode-bom': ["error", string];
|
|
960
|
+
'wrap-regex': "off";
|
|
961
|
+
};
|
|
962
|
+
}[];
|
|
963
|
+
variables: {
|
|
964
|
+
name: string;
|
|
965
|
+
rules: {
|
|
966
|
+
'init-declarations': "off";
|
|
967
|
+
'no-catch-shadow': "off";
|
|
968
|
+
'no-delete-var': "error";
|
|
969
|
+
'no-label-var': "error";
|
|
970
|
+
'no-restricted-globals': ["error", {
|
|
971
|
+
name: string;
|
|
972
|
+
message: string;
|
|
973
|
+
}, {
|
|
974
|
+
name: string;
|
|
975
|
+
message: string;
|
|
976
|
+
}, ...{
|
|
977
|
+
name: "length" | "find" | "name" | "location" | "stop" | "screenX" | "screenY" | "closed" | "top" | "open" | "screen" | "blur" | "close" | "focus" | "scroll" | "addEventListener" | "removeEventListener" | "scrollBy" | "scrollTo" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "event" | "external" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "locationbar" | "menubar" | "opener" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "parent" | "screenLeft" | "screenTop" | "scrollX" | "scrollY" | "scrollbars" | "self" | "status" | "statusbar" | "toolbar" | "confirm" | "moveBy" | "moveTo" | "print" | "resizeBy" | "resizeTo" | "onunload" | "defaultStatus" | "defaultstatus" | "opera";
|
|
978
|
+
message: string;
|
|
979
|
+
}[]];
|
|
980
|
+
'no-shadow': "error";
|
|
981
|
+
'no-shadow-restricted-names': "error";
|
|
982
|
+
'no-undef': "error";
|
|
983
|
+
'no-undef-init': "error";
|
|
984
|
+
'no-undefined': "off";
|
|
985
|
+
'no-unused-vars': ["error", {
|
|
986
|
+
vars: string;
|
|
987
|
+
args: string;
|
|
988
|
+
ignoreRestSiblings: boolean;
|
|
989
|
+
}];
|
|
990
|
+
'no-use-before-define': ["error", {
|
|
991
|
+
functions: boolean;
|
|
992
|
+
classes: boolean;
|
|
993
|
+
variables: boolean;
|
|
994
|
+
}];
|
|
995
|
+
};
|
|
996
|
+
}[];
|
|
997
|
+
recommended: ({
|
|
998
|
+
name: string;
|
|
999
|
+
rules: {
|
|
1000
|
+
'accessor-pairs': "off";
|
|
1001
|
+
'array-callback-return': ["error", {
|
|
1002
|
+
allowImplicit: boolean;
|
|
1003
|
+
}];
|
|
1004
|
+
'block-scoped-var': "error";
|
|
1005
|
+
complexity: ["off", number];
|
|
1006
|
+
'class-methods-use-this': ["error", {
|
|
1007
|
+
exceptMethods: never[];
|
|
1008
|
+
}];
|
|
1009
|
+
'consistent-return': "error";
|
|
1010
|
+
curly: ["error", string];
|
|
1011
|
+
'default-case': ["error", {
|
|
1012
|
+
commentPattern: string;
|
|
1013
|
+
}];
|
|
1014
|
+
'default-case-last': "error";
|
|
1015
|
+
'default-param-last': "error";
|
|
1016
|
+
'dot-notation': ["error", {
|
|
1017
|
+
allowKeywords: boolean;
|
|
1018
|
+
}];
|
|
1019
|
+
'dot-location': ["error", string];
|
|
1020
|
+
eqeqeq: ["error", string, {
|
|
1021
|
+
null: string;
|
|
1022
|
+
}];
|
|
1023
|
+
'grouped-accessor-pairs': "error";
|
|
1024
|
+
'guard-for-in': "error";
|
|
1025
|
+
'max-classes-per-file': ["error", number];
|
|
1026
|
+
'no-alert': "warn";
|
|
1027
|
+
'no-caller': "error";
|
|
1028
|
+
'no-case-declarations': "error";
|
|
1029
|
+
'no-constructor-return': "error";
|
|
1030
|
+
'no-div-regex': "off";
|
|
1031
|
+
'no-else-return': ["error", {
|
|
1032
|
+
allowElseIf: boolean;
|
|
1033
|
+
}];
|
|
1034
|
+
'no-empty-function': ["error", {
|
|
1035
|
+
allow: string[];
|
|
1036
|
+
}];
|
|
1037
|
+
'no-empty-pattern': "error";
|
|
1038
|
+
'no-empty-static-block': "off";
|
|
1039
|
+
'no-eq-null': "off";
|
|
1040
|
+
'no-eval': "error";
|
|
1041
|
+
'no-extend-native': "error";
|
|
1042
|
+
'no-extra-bind': "error";
|
|
1043
|
+
'no-extra-label': "error";
|
|
1044
|
+
'no-fallthrough': "error";
|
|
1045
|
+
'no-floating-decimal': "error";
|
|
1046
|
+
'no-global-assign': ["error", {
|
|
1047
|
+
exceptions: never[];
|
|
1048
|
+
}];
|
|
1049
|
+
'no-native-reassign': "off";
|
|
1050
|
+
'no-implicit-coercion': ["off", {
|
|
1051
|
+
boolean: boolean;
|
|
1052
|
+
number: boolean;
|
|
1053
|
+
string: boolean;
|
|
1054
|
+
allow: never[];
|
|
1055
|
+
}];
|
|
1056
|
+
'no-implicit-globals': "off";
|
|
1057
|
+
'no-implied-eval': "error";
|
|
1058
|
+
'no-invalid-this': "off";
|
|
1059
|
+
'no-iterator': "error";
|
|
1060
|
+
'no-labels': ["error", {
|
|
1061
|
+
allowLoop: boolean;
|
|
1062
|
+
allowSwitch: boolean;
|
|
1063
|
+
}];
|
|
1064
|
+
'no-lone-blocks': "error";
|
|
1065
|
+
'no-loop-func': "error";
|
|
1066
|
+
'no-magic-numbers': ["off", {
|
|
1067
|
+
ignore: never[];
|
|
1068
|
+
ignoreArrayIndexes: boolean;
|
|
1069
|
+
enforceConst: boolean;
|
|
1070
|
+
detectObjects: boolean;
|
|
1071
|
+
}];
|
|
1072
|
+
'no-multi-spaces': ["error", {
|
|
1073
|
+
ignoreEOLComments: boolean;
|
|
1074
|
+
}];
|
|
1075
|
+
'no-multi-str': "error";
|
|
1076
|
+
'no-new': "error";
|
|
1077
|
+
'no-new-func': "error";
|
|
1078
|
+
'no-new-wrappers': "error";
|
|
1079
|
+
'no-nonoctal-decimal-escape': "error";
|
|
1080
|
+
'no-object-constructor': "off";
|
|
1081
|
+
'no-octal': "error";
|
|
1082
|
+
'no-octal-escape': "error";
|
|
1083
|
+
'no-param-reassign': ["error", {
|
|
1084
|
+
props: boolean;
|
|
1085
|
+
ignorePropertyModificationsFor: string[];
|
|
1086
|
+
}];
|
|
1087
|
+
'no-proto': "error";
|
|
1088
|
+
'no-redeclare': "error";
|
|
1089
|
+
'no-restricted-properties': ["error", {
|
|
1090
|
+
object: string;
|
|
1091
|
+
property: string;
|
|
1092
|
+
message: string;
|
|
1093
|
+
}, {
|
|
1094
|
+
object: string;
|
|
1095
|
+
property: string;
|
|
1096
|
+
message: string;
|
|
1097
|
+
}, {
|
|
1098
|
+
object: string;
|
|
1099
|
+
property: string;
|
|
1100
|
+
message: string;
|
|
1101
|
+
}, {
|
|
1102
|
+
object: string;
|
|
1103
|
+
property: string;
|
|
1104
|
+
message: string;
|
|
1105
|
+
}, {
|
|
1106
|
+
object: string;
|
|
1107
|
+
property: string;
|
|
1108
|
+
message: string;
|
|
1109
|
+
}, {
|
|
1110
|
+
object: string;
|
|
1111
|
+
property: string;
|
|
1112
|
+
message: string;
|
|
1113
|
+
}, {
|
|
1114
|
+
object: string;
|
|
1115
|
+
property: string;
|
|
1116
|
+
message: string;
|
|
1117
|
+
}, {
|
|
1118
|
+
property: string;
|
|
1119
|
+
message: string;
|
|
1120
|
+
}, {
|
|
1121
|
+
property: string;
|
|
1122
|
+
message: string;
|
|
1123
|
+
}, {
|
|
1124
|
+
object: string;
|
|
1125
|
+
property: string;
|
|
1126
|
+
message: string;
|
|
1127
|
+
}];
|
|
1128
|
+
'no-return-assign': ["error", string];
|
|
1129
|
+
'no-return-await': "error";
|
|
1130
|
+
'no-script-url': "error";
|
|
1131
|
+
'no-self-assign': ["error", {
|
|
1132
|
+
props: boolean;
|
|
1133
|
+
}];
|
|
1134
|
+
'no-self-compare': "error";
|
|
1135
|
+
'no-sequences': "error";
|
|
1136
|
+
'no-throw-literal': "error";
|
|
1137
|
+
'no-unmodified-loop-condition': "off";
|
|
1138
|
+
'no-unused-expressions': ["error", {
|
|
1139
|
+
allowShortCircuit: boolean;
|
|
1140
|
+
allowTernary: boolean;
|
|
1141
|
+
allowTaggedTemplates: boolean;
|
|
1142
|
+
}];
|
|
1143
|
+
'no-unused-labels': "error";
|
|
1144
|
+
'no-useless-call': "off";
|
|
1145
|
+
'no-useless-catch': "error";
|
|
1146
|
+
'no-useless-concat': "error";
|
|
1147
|
+
'no-useless-escape': "error";
|
|
1148
|
+
'no-useless-return': "error";
|
|
1149
|
+
'no-void': "error";
|
|
1150
|
+
'no-warning-comments': ["off", {
|
|
1151
|
+
terms: string[];
|
|
1152
|
+
location: string;
|
|
1153
|
+
}];
|
|
1154
|
+
'no-with': "error";
|
|
1155
|
+
'prefer-promise-reject-errors': ["error", {
|
|
1156
|
+
allowEmptyReject: boolean;
|
|
1157
|
+
}];
|
|
1158
|
+
'prefer-named-capture-group': "off";
|
|
1159
|
+
'prefer-object-has-own': "off";
|
|
1160
|
+
'prefer-regex-literals': ["error", {
|
|
1161
|
+
disallowRedundantWrapping: boolean;
|
|
1162
|
+
}];
|
|
1163
|
+
radix: "error";
|
|
1164
|
+
'require-await': "off";
|
|
1165
|
+
'require-unicode-regexp': "off";
|
|
1166
|
+
'vars-on-top': "error";
|
|
1167
|
+
'wrap-iife': ["error", string, {
|
|
1168
|
+
functionPrototypeMethods: boolean;
|
|
1169
|
+
}];
|
|
1170
|
+
yoda: "error";
|
|
1171
|
+
};
|
|
1172
|
+
} | {
|
|
1173
|
+
name: string;
|
|
1174
|
+
rules: {
|
|
1175
|
+
'for-direction': "error";
|
|
1176
|
+
'getter-return': ["error", {
|
|
1177
|
+
allowImplicit: boolean;
|
|
1178
|
+
}];
|
|
1179
|
+
'no-async-promise-executor': "error";
|
|
1180
|
+
'no-await-in-loop': "error";
|
|
1181
|
+
'no-compare-neg-zero': "error";
|
|
1182
|
+
'no-cond-assign': ["error", string];
|
|
1183
|
+
'no-console': "warn";
|
|
1184
|
+
'no-constant-binary-expression': "off";
|
|
1185
|
+
'no-constant-condition': "warn";
|
|
1186
|
+
'no-control-regex': "error";
|
|
1187
|
+
'no-debugger': "error";
|
|
1188
|
+
'no-dupe-args': "error";
|
|
1189
|
+
'no-dupe-else-if': "error";
|
|
1190
|
+
'no-dupe-keys': "error";
|
|
1191
|
+
'no-duplicate-case': "error";
|
|
1192
|
+
'no-empty': "error";
|
|
1193
|
+
'no-empty-character-class': "error";
|
|
1194
|
+
'no-ex-assign': "error";
|
|
1195
|
+
'no-extra-boolean-cast': "error";
|
|
1196
|
+
'no-extra-parens': ["off", string, {
|
|
1197
|
+
conditionalAssign: boolean;
|
|
1198
|
+
nestedBinaryExpressions: boolean;
|
|
1199
|
+
returnAssign: boolean;
|
|
1200
|
+
ignoreJSX: string;
|
|
1201
|
+
enforceForArrowConditionals: boolean;
|
|
1202
|
+
}];
|
|
1203
|
+
'no-extra-semi': "error";
|
|
1204
|
+
'no-func-assign': "error";
|
|
1205
|
+
'no-import-assign': "error";
|
|
1206
|
+
'no-inner-declarations': "error";
|
|
1207
|
+
'no-invalid-regexp': "error";
|
|
1208
|
+
'no-irregular-whitespace': "error";
|
|
1209
|
+
'no-loss-of-precision': "error";
|
|
1210
|
+
'no-misleading-character-class': "error";
|
|
1211
|
+
'no-obj-calls': "error";
|
|
1212
|
+
'no-new-native-nonconstructor': "off";
|
|
1213
|
+
'no-promise-executor-return': "error";
|
|
1214
|
+
'no-prototype-builtins': "error";
|
|
1215
|
+
'no-regex-spaces': "error";
|
|
1216
|
+
'no-setter-return': "error";
|
|
1217
|
+
'no-sparse-arrays': "error";
|
|
1218
|
+
'no-template-curly-in-string': "error";
|
|
1219
|
+
'no-unexpected-multiline': "error";
|
|
1220
|
+
'no-unreachable': "error";
|
|
1221
|
+
'no-unreachable-loop': ["error", {
|
|
1222
|
+
ignore: never[];
|
|
1223
|
+
}];
|
|
1224
|
+
'no-unsafe-finally': "error";
|
|
1225
|
+
'no-unsafe-negation': "error";
|
|
1226
|
+
'no-unsafe-optional-chaining': ["error", {
|
|
1227
|
+
disallowArithmeticOperators: boolean;
|
|
1228
|
+
}];
|
|
1229
|
+
'no-unused-private-class-members': "off";
|
|
1230
|
+
'no-useless-backreference': "error";
|
|
1231
|
+
'no-negated-in-lhs': "off";
|
|
1232
|
+
'require-atomic-updates': "off";
|
|
1233
|
+
'use-isnan': "error";
|
|
1234
|
+
'valid-jsdoc': "off";
|
|
1235
|
+
'valid-typeof': ["error", {
|
|
1236
|
+
requireStringLiterals: boolean;
|
|
1237
|
+
}];
|
|
1238
|
+
};
|
|
1239
|
+
} | {
|
|
1240
|
+
name: string;
|
|
1241
|
+
languageOptions: {
|
|
1242
|
+
globals: {
|
|
1243
|
+
Array: false;
|
|
1244
|
+
ArrayBuffer: false;
|
|
1245
|
+
Boolean: false;
|
|
1246
|
+
DataView: false;
|
|
1247
|
+
Date: false;
|
|
1248
|
+
decodeURI: false;
|
|
1249
|
+
decodeURIComponent: false;
|
|
1250
|
+
encodeURI: false;
|
|
1251
|
+
encodeURIComponent: false;
|
|
1252
|
+
Error: false;
|
|
1253
|
+
escape: false;
|
|
1254
|
+
eval: false;
|
|
1255
|
+
EvalError: false;
|
|
1256
|
+
Float32Array: false;
|
|
1257
|
+
Float64Array: false;
|
|
1258
|
+
Function: false;
|
|
1259
|
+
Infinity: false;
|
|
1260
|
+
Int16Array: false;
|
|
1261
|
+
Int32Array: false;
|
|
1262
|
+
Int8Array: false;
|
|
1263
|
+
Intl: false;
|
|
1264
|
+
isFinite: false;
|
|
1265
|
+
isNaN: false;
|
|
1266
|
+
JSON: false;
|
|
1267
|
+
Map: false;
|
|
1268
|
+
Math: false;
|
|
1269
|
+
NaN: false;
|
|
1270
|
+
Number: false;
|
|
1271
|
+
Object: false;
|
|
1272
|
+
parseFloat: false;
|
|
1273
|
+
parseInt: false;
|
|
1274
|
+
Promise: false;
|
|
1275
|
+
Proxy: false;
|
|
1276
|
+
RangeError: false;
|
|
1277
|
+
ReferenceError: false;
|
|
1278
|
+
Reflect: false;
|
|
1279
|
+
RegExp: false;
|
|
1280
|
+
Set: false;
|
|
1281
|
+
String: false;
|
|
1282
|
+
Symbol: false;
|
|
1283
|
+
SyntaxError: false;
|
|
1284
|
+
TypeError: false;
|
|
1285
|
+
Uint16Array: false;
|
|
1286
|
+
Uint32Array: false;
|
|
1287
|
+
Uint8Array: false;
|
|
1288
|
+
Uint8ClampedArray: false;
|
|
1289
|
+
undefined: false;
|
|
1290
|
+
unescape: false;
|
|
1291
|
+
URIError: false;
|
|
1292
|
+
WeakMap: false;
|
|
1293
|
+
WeakSet: false;
|
|
1294
|
+
};
|
|
1295
|
+
parserOptions: {
|
|
1296
|
+
ecmaVersion: 6;
|
|
1297
|
+
sourceType: "module";
|
|
1298
|
+
ecmaFeatures: {
|
|
1299
|
+
generators: boolean;
|
|
1300
|
+
objectLiteralDuplicateProperties: boolean;
|
|
1301
|
+
};
|
|
1302
|
+
};
|
|
1303
|
+
};
|
|
1304
|
+
rules: {
|
|
1305
|
+
'arrow-body-style': ["error", string, {
|
|
1306
|
+
requireReturnForObjectLiteral: boolean;
|
|
1307
|
+
}];
|
|
1308
|
+
'arrow-parens': ["error", string];
|
|
1309
|
+
'arrow-spacing': ["error", {
|
|
1310
|
+
before: boolean;
|
|
1311
|
+
after: boolean;
|
|
1312
|
+
}];
|
|
1313
|
+
'constructor-super': "error";
|
|
1314
|
+
'generator-star-spacing': ["error", {
|
|
1315
|
+
before: boolean;
|
|
1316
|
+
after: boolean;
|
|
1317
|
+
}];
|
|
1318
|
+
'no-class-assign': "error";
|
|
1319
|
+
'no-confusing-arrow': ["error", {
|
|
1320
|
+
allowParens: boolean;
|
|
1321
|
+
}];
|
|
1322
|
+
'no-const-assign': "error";
|
|
1323
|
+
'no-dupe-class-members': "error";
|
|
1324
|
+
'no-duplicate-imports': "off";
|
|
1325
|
+
'no-new-symbol': "error";
|
|
1326
|
+
'no-restricted-exports': ["error", {
|
|
1327
|
+
restrictedNamedExports: string[];
|
|
1328
|
+
}];
|
|
1329
|
+
'no-restricted-imports': ["off", {
|
|
1330
|
+
paths: never[];
|
|
1331
|
+
patterns: never[];
|
|
1332
|
+
}];
|
|
1333
|
+
'no-this-before-super': "error";
|
|
1334
|
+
'no-useless-computed-key': "error";
|
|
1335
|
+
'no-useless-constructor': "error";
|
|
1336
|
+
'no-useless-rename': ["error", {
|
|
1337
|
+
ignoreDestructuring: boolean;
|
|
1338
|
+
ignoreImport: boolean;
|
|
1339
|
+
ignoreExport: boolean;
|
|
1340
|
+
}];
|
|
1341
|
+
'no-var': "error";
|
|
1342
|
+
'object-shorthand': ["error", string, {
|
|
1343
|
+
ignoreConstructors: boolean;
|
|
1344
|
+
avoidQuotes: boolean;
|
|
1345
|
+
}];
|
|
1346
|
+
'prefer-arrow-callback': ["error", {
|
|
1347
|
+
allowNamedFunctions: boolean;
|
|
1348
|
+
allowUnboundThis: boolean;
|
|
1349
|
+
}];
|
|
1350
|
+
'prefer-const': ["error", {
|
|
1351
|
+
destructuring: string;
|
|
1352
|
+
ignoreReadBeforeAssign: boolean;
|
|
1353
|
+
}];
|
|
1354
|
+
'prefer-destructuring': ["error", {
|
|
1355
|
+
VariableDeclarator: {
|
|
1356
|
+
array: boolean;
|
|
1357
|
+
object: boolean;
|
|
1358
|
+
};
|
|
1359
|
+
AssignmentExpression: {
|
|
1360
|
+
array: boolean;
|
|
1361
|
+
object: boolean;
|
|
1362
|
+
};
|
|
1363
|
+
}, {
|
|
1364
|
+
enforceForRenamedProperties: boolean;
|
|
1365
|
+
}];
|
|
1366
|
+
'prefer-numeric-literals': "error";
|
|
1367
|
+
'prefer-reflect': "off";
|
|
1368
|
+
'prefer-rest-params': "error";
|
|
1369
|
+
'prefer-spread': "error";
|
|
1370
|
+
'prefer-template': "error";
|
|
1371
|
+
'require-yield': "error";
|
|
1372
|
+
'rest-spread-spacing': ["error", string];
|
|
1373
|
+
'sort-imports': ["off", {
|
|
1374
|
+
ignoreCase: boolean;
|
|
1375
|
+
ignoreDeclarationSort: boolean;
|
|
1376
|
+
ignoreMemberSort: boolean;
|
|
1377
|
+
memberSyntaxSortOrder: string[];
|
|
1378
|
+
}];
|
|
1379
|
+
'symbol-description': "error";
|
|
1380
|
+
'template-curly-spacing': "error";
|
|
1381
|
+
'yield-star-spacing': ["error", string];
|
|
1382
|
+
};
|
|
1383
|
+
} | {
|
|
1384
|
+
name: string;
|
|
1385
|
+
languageOptions: {
|
|
1386
|
+
globals: {
|
|
1387
|
+
Array: false;
|
|
1388
|
+
ArrayBuffer: false;
|
|
1389
|
+
Boolean: false;
|
|
1390
|
+
DataView: false;
|
|
1391
|
+
Date: false;
|
|
1392
|
+
decodeURI: false;
|
|
1393
|
+
decodeURIComponent: false;
|
|
1394
|
+
encodeURI: false;
|
|
1395
|
+
encodeURIComponent: false;
|
|
1396
|
+
Error: false;
|
|
1397
|
+
escape: false;
|
|
1398
|
+
eval: false;
|
|
1399
|
+
EvalError: false;
|
|
1400
|
+
Float32Array: false;
|
|
1401
|
+
Float64Array: false;
|
|
1402
|
+
Function: false;
|
|
1403
|
+
Infinity: false;
|
|
1404
|
+
Int16Array: false;
|
|
1405
|
+
Int32Array: false;
|
|
1406
|
+
Int8Array: false;
|
|
1407
|
+
Intl: false;
|
|
1408
|
+
isFinite: false;
|
|
1409
|
+
isNaN: false;
|
|
1410
|
+
JSON: false;
|
|
1411
|
+
Map: false;
|
|
1412
|
+
Math: false;
|
|
1413
|
+
NaN: false;
|
|
1414
|
+
Number: false;
|
|
1415
|
+
Object: false;
|
|
1416
|
+
parseFloat: false;
|
|
1417
|
+
parseInt: false;
|
|
1418
|
+
Promise: false;
|
|
1419
|
+
Proxy: false;
|
|
1420
|
+
RangeError: false;
|
|
1421
|
+
ReferenceError: false;
|
|
1422
|
+
Reflect: false;
|
|
1423
|
+
RegExp: false;
|
|
1424
|
+
Set: false;
|
|
1425
|
+
String: false;
|
|
1426
|
+
Symbol: false;
|
|
1427
|
+
SyntaxError: false;
|
|
1428
|
+
TypeError: false;
|
|
1429
|
+
Uint16Array: false;
|
|
1430
|
+
Uint32Array: false;
|
|
1431
|
+
Uint8Array: false;
|
|
1432
|
+
Uint8ClampedArray: false;
|
|
1433
|
+
undefined: false;
|
|
1434
|
+
unescape: false;
|
|
1435
|
+
URIError: false;
|
|
1436
|
+
WeakMap: false;
|
|
1437
|
+
WeakSet: false;
|
|
1438
|
+
};
|
|
1439
|
+
parserOptions: {
|
|
1440
|
+
ecmaVersion: 6;
|
|
1441
|
+
sourceType: "module";
|
|
1442
|
+
};
|
|
1443
|
+
};
|
|
1444
|
+
plugins: {
|
|
1445
|
+
import: any;
|
|
1446
|
+
};
|
|
1447
|
+
settings: {
|
|
1448
|
+
'import/resolver': {
|
|
1449
|
+
node: {
|
|
1450
|
+
extensions: string[];
|
|
1451
|
+
};
|
|
1452
|
+
};
|
|
1453
|
+
'import/extensions': string[];
|
|
1454
|
+
'import/core-modules': never[];
|
|
1455
|
+
'import/ignore': string[];
|
|
1456
|
+
};
|
|
1457
|
+
rules: {
|
|
1458
|
+
'import/no-unresolved': ["error", {
|
|
1459
|
+
commonjs: boolean;
|
|
1460
|
+
caseSensitive: boolean;
|
|
1461
|
+
}];
|
|
1462
|
+
'import/named': "error";
|
|
1463
|
+
'import/default': "off";
|
|
1464
|
+
'import/namespace': "off";
|
|
1465
|
+
'import/export': "error";
|
|
1466
|
+
'import/no-named-as-default': "error";
|
|
1467
|
+
'import/no-named-as-default-member': "error";
|
|
1468
|
+
'import/no-deprecated': "off";
|
|
1469
|
+
'import/no-extraneous-dependencies': ["error", {
|
|
1470
|
+
devDependencies: string[];
|
|
1471
|
+
optionalDependencies: boolean;
|
|
1472
|
+
}];
|
|
1473
|
+
'import/no-mutable-exports': "error";
|
|
1474
|
+
'import/no-commonjs': "off";
|
|
1475
|
+
'import/no-amd': "error";
|
|
1476
|
+
'import/no-nodejs-modules': "off";
|
|
1477
|
+
'import/first': "error";
|
|
1478
|
+
'import/imports-first': "off";
|
|
1479
|
+
'import/no-duplicates': "error";
|
|
1480
|
+
'import/no-namespace': "off";
|
|
1481
|
+
'import/extensions': ["error", string, {
|
|
1482
|
+
js: string;
|
|
1483
|
+
mjs: string;
|
|
1484
|
+
jsx: string;
|
|
1485
|
+
}];
|
|
1486
|
+
'import/order': ["error", {
|
|
1487
|
+
groups: string[][];
|
|
1488
|
+
}];
|
|
1489
|
+
'import/newline-after-import': "error";
|
|
1490
|
+
'import/prefer-default-export': "error";
|
|
1491
|
+
'import/no-restricted-paths': "off";
|
|
1492
|
+
'import/max-dependencies': ["off", {
|
|
1493
|
+
max: number;
|
|
1494
|
+
}];
|
|
1495
|
+
'import/no-absolute-path': "error";
|
|
1496
|
+
'import/no-dynamic-require': "error";
|
|
1497
|
+
'import/no-internal-modules': ["off", {
|
|
1498
|
+
allow: never[];
|
|
1499
|
+
}];
|
|
1500
|
+
'import/unambiguous': "off";
|
|
1501
|
+
'import/no-webpack-loader-syntax': "error";
|
|
1502
|
+
'import/no-unassigned-import': "off";
|
|
1503
|
+
'import/no-named-default': "error";
|
|
1504
|
+
'import/no-anonymous-default-export': ["off", {
|
|
1505
|
+
allowArray: boolean;
|
|
1506
|
+
allowArrowFunction: boolean;
|
|
1507
|
+
allowAnonymousClass: boolean;
|
|
1508
|
+
allowAnonymousFunction: boolean;
|
|
1509
|
+
allowLiteral: boolean;
|
|
1510
|
+
allowObject: boolean;
|
|
1511
|
+
}];
|
|
1512
|
+
'import/exports-last': "off";
|
|
1513
|
+
'import/group-exports': "off";
|
|
1514
|
+
'import/no-default-export': "off";
|
|
1515
|
+
'import/no-named-export': "off";
|
|
1516
|
+
'import/no-self-import': "error";
|
|
1517
|
+
'import/no-cycle': ["error", {
|
|
1518
|
+
maxDepth: string;
|
|
1519
|
+
}];
|
|
1520
|
+
'import/no-useless-path-segments': ["error", {
|
|
1521
|
+
commonjs: boolean;
|
|
1522
|
+
}];
|
|
1523
|
+
'import/dynamic-import-chunkname': ["off", {
|
|
1524
|
+
importFunctions: never[];
|
|
1525
|
+
webpackChunknameFormat: string;
|
|
1526
|
+
}];
|
|
1527
|
+
'import/no-relative-parent-imports': "off";
|
|
1528
|
+
'import/no-unused-modules': ["off", {
|
|
1529
|
+
ignoreExports: never[];
|
|
1530
|
+
missingExports: boolean;
|
|
1531
|
+
unusedExports: boolean;
|
|
1532
|
+
}];
|
|
1533
|
+
'import/no-import-module-exports': ["error", {
|
|
1534
|
+
exceptions: never[];
|
|
1535
|
+
}];
|
|
1536
|
+
'import/no-relative-packages': "error";
|
|
1537
|
+
'import/consistent-type-specifier-style': ["off", string];
|
|
1538
|
+
'import/no-empty-named-blocks': "off";
|
|
1539
|
+
};
|
|
1540
|
+
} | {
|
|
1541
|
+
name: string;
|
|
1542
|
+
languageOptions: {
|
|
1543
|
+
globals: {
|
|
1544
|
+
AbortController: false;
|
|
1545
|
+
AbortSignal: false;
|
|
1546
|
+
atob: false;
|
|
1547
|
+
Blob: false;
|
|
1548
|
+
BroadcastChannel: false;
|
|
1549
|
+
btoa: false;
|
|
1550
|
+
Buffer: false;
|
|
1551
|
+
ByteLengthQueuingStrategy: false;
|
|
1552
|
+
clearImmediate: false;
|
|
1553
|
+
clearInterval: false;
|
|
1554
|
+
clearTimeout: false;
|
|
1555
|
+
CloseEvent: false;
|
|
1556
|
+
CompressionStream: false;
|
|
1557
|
+
console: false;
|
|
1558
|
+
CountQueuingStrategy: false;
|
|
1559
|
+
crypto: false;
|
|
1560
|
+
Crypto: false;
|
|
1561
|
+
CryptoKey: false;
|
|
1562
|
+
CustomEvent: false;
|
|
1563
|
+
DecompressionStream: false;
|
|
1564
|
+
DOMException: false;
|
|
1565
|
+
Event: false;
|
|
1566
|
+
EventTarget: false;
|
|
1567
|
+
fetch: false;
|
|
1568
|
+
File: false;
|
|
1569
|
+
FormData: false;
|
|
1570
|
+
global: false;
|
|
1571
|
+
Headers: false;
|
|
1572
|
+
MessageChannel: false;
|
|
1573
|
+
MessageEvent: false;
|
|
1574
|
+
MessagePort: false;
|
|
1575
|
+
navigator: false;
|
|
1576
|
+
Navigator: false;
|
|
1577
|
+
performance: false;
|
|
1578
|
+
Performance: false;
|
|
1579
|
+
PerformanceEntry: false;
|
|
1580
|
+
PerformanceMark: false;
|
|
1581
|
+
PerformanceMeasure: false;
|
|
1582
|
+
PerformanceObserver: false;
|
|
1583
|
+
PerformanceObserverEntryList: false;
|
|
1584
|
+
PerformanceResourceTiming: false;
|
|
1585
|
+
process: false;
|
|
1586
|
+
queueMicrotask: false;
|
|
1587
|
+
ReadableByteStreamController: false;
|
|
1588
|
+
ReadableStream: false;
|
|
1589
|
+
ReadableStreamBYOBReader: false;
|
|
1590
|
+
ReadableStreamBYOBRequest: false;
|
|
1591
|
+
ReadableStreamDefaultController: false;
|
|
1592
|
+
ReadableStreamDefaultReader: false;
|
|
1593
|
+
Request: false;
|
|
1594
|
+
Response: false;
|
|
1595
|
+
setImmediate: false;
|
|
1596
|
+
setInterval: false;
|
|
1597
|
+
setTimeout: false;
|
|
1598
|
+
structuredClone: false;
|
|
1599
|
+
SubtleCrypto: false;
|
|
1600
|
+
TextDecoder: false;
|
|
1601
|
+
TextDecoderStream: false;
|
|
1602
|
+
TextEncoder: false;
|
|
1603
|
+
TextEncoderStream: false;
|
|
1604
|
+
TransformStream: false;
|
|
1605
|
+
TransformStreamDefaultController: false;
|
|
1606
|
+
URL: false;
|
|
1607
|
+
URLSearchParams: false;
|
|
1608
|
+
WebAssembly: false;
|
|
1609
|
+
WebSocket: false;
|
|
1610
|
+
WritableStream: false;
|
|
1611
|
+
WritableStreamDefaultController: false;
|
|
1612
|
+
WritableStreamDefaultWriter: false;
|
|
1613
|
+
};
|
|
1614
|
+
};
|
|
1615
|
+
rules: {
|
|
1616
|
+
'callback-return': "off";
|
|
1617
|
+
'global-require': "error";
|
|
1618
|
+
'handle-callback-err': "off";
|
|
1619
|
+
'no-buffer-constructor': "error";
|
|
1620
|
+
'no-mixed-requires': ["off", boolean];
|
|
1621
|
+
'no-new-require': "error";
|
|
1622
|
+
'no-path-concat': "error";
|
|
1623
|
+
'no-process-env': "off";
|
|
1624
|
+
'no-process-exit': "off";
|
|
1625
|
+
'no-restricted-modules': "off";
|
|
1626
|
+
'no-sync': "off";
|
|
1627
|
+
};
|
|
1628
|
+
} | {
|
|
1629
|
+
name: string;
|
|
1630
|
+
rules: {
|
|
1631
|
+
strict: ["error", string];
|
|
1632
|
+
};
|
|
1633
|
+
} | {
|
|
1634
|
+
name: string;
|
|
1635
|
+
rules: {
|
|
1636
|
+
'array-bracket-newline': ["off", string];
|
|
1637
|
+
'array-element-newline': ["off", {
|
|
1638
|
+
multiline: boolean;
|
|
1639
|
+
minItems: number;
|
|
1640
|
+
}];
|
|
1641
|
+
'array-bracket-spacing': ["error", string];
|
|
1642
|
+
'block-spacing': ["error", string];
|
|
1643
|
+
'brace-style': ["error", string, {
|
|
1644
|
+
allowSingleLine: boolean;
|
|
1645
|
+
}];
|
|
1646
|
+
camelcase: ["error", {
|
|
1647
|
+
properties: string;
|
|
1648
|
+
ignoreDestructuring: boolean;
|
|
1649
|
+
}];
|
|
1650
|
+
'capitalized-comments': ["off", string, {
|
|
1651
|
+
line: {
|
|
1652
|
+
ignorePattern: string;
|
|
1653
|
+
ignoreInlineComments: boolean;
|
|
1654
|
+
ignoreConsecutiveComments: boolean;
|
|
1655
|
+
};
|
|
1656
|
+
block: {
|
|
1657
|
+
ignorePattern: string;
|
|
1658
|
+
ignoreInlineComments: boolean;
|
|
1659
|
+
ignoreConsecutiveComments: boolean;
|
|
1660
|
+
};
|
|
1661
|
+
}];
|
|
1662
|
+
'comma-dangle': ["error", {
|
|
1663
|
+
arrays: string;
|
|
1664
|
+
objects: string;
|
|
1665
|
+
imports: string;
|
|
1666
|
+
exports: string;
|
|
1667
|
+
functions: string;
|
|
1668
|
+
}];
|
|
1669
|
+
'comma-spacing': ["error", {
|
|
1670
|
+
before: boolean;
|
|
1671
|
+
after: boolean;
|
|
1672
|
+
}];
|
|
1673
|
+
'comma-style': ["error", string, {
|
|
1674
|
+
exceptions: {
|
|
1675
|
+
ArrayExpression: boolean;
|
|
1676
|
+
ArrayPattern: boolean;
|
|
1677
|
+
ArrowFunctionExpression: boolean;
|
|
1678
|
+
CallExpression: boolean;
|
|
1679
|
+
FunctionDeclaration: boolean;
|
|
1680
|
+
FunctionExpression: boolean;
|
|
1681
|
+
ImportDeclaration: boolean;
|
|
1682
|
+
ObjectExpression: boolean;
|
|
1683
|
+
ObjectPattern: boolean;
|
|
1684
|
+
VariableDeclaration: boolean;
|
|
1685
|
+
NewExpression: boolean;
|
|
1686
|
+
};
|
|
1687
|
+
}];
|
|
1688
|
+
'computed-property-spacing': ["error", string];
|
|
1689
|
+
'consistent-this': "off";
|
|
1690
|
+
'eol-last': ["error", string];
|
|
1691
|
+
'function-call-argument-newline': ["error", string];
|
|
1692
|
+
'func-call-spacing': ["error", string];
|
|
1693
|
+
'func-name-matching': ["off", string, {
|
|
1694
|
+
includeCommonJSModuleExports: boolean;
|
|
1695
|
+
considerPropertyDescriptor: boolean;
|
|
1696
|
+
}];
|
|
1697
|
+
'func-names': "warn";
|
|
1698
|
+
'func-style': ["off", string];
|
|
1699
|
+
'function-paren-newline': ["error", string];
|
|
1700
|
+
'id-denylist': "off";
|
|
1701
|
+
'id-length': "off";
|
|
1702
|
+
'id-match': "off";
|
|
1703
|
+
'implicit-arrow-linebreak': ["error", string];
|
|
1704
|
+
indent: ["error", number, {
|
|
1705
|
+
SwitchCase: number;
|
|
1706
|
+
VariableDeclarator: number;
|
|
1707
|
+
outerIIFEBody: number;
|
|
1708
|
+
FunctionDeclaration: {
|
|
1709
|
+
parameters: number;
|
|
1710
|
+
body: number;
|
|
1711
|
+
};
|
|
1712
|
+
FunctionExpression: {
|
|
1713
|
+
parameters: number;
|
|
1714
|
+
body: number;
|
|
1715
|
+
};
|
|
1716
|
+
CallExpression: {
|
|
1717
|
+
arguments: number;
|
|
1718
|
+
};
|
|
1719
|
+
ArrayExpression: number;
|
|
1720
|
+
ObjectExpression: number;
|
|
1721
|
+
ImportDeclaration: number;
|
|
1722
|
+
flatTernaryExpressions: boolean;
|
|
1723
|
+
ignoredNodes: string[];
|
|
1724
|
+
ignoreComments: boolean;
|
|
1725
|
+
}];
|
|
1726
|
+
'jsx-quotes': ["off", string];
|
|
1727
|
+
'key-spacing': ["error", {
|
|
1728
|
+
beforeColon: boolean;
|
|
1729
|
+
afterColon: boolean;
|
|
1730
|
+
}];
|
|
1731
|
+
'keyword-spacing': ["error", {
|
|
1732
|
+
before: boolean;
|
|
1733
|
+
after: boolean;
|
|
1734
|
+
overrides: {
|
|
1735
|
+
return: {
|
|
1736
|
+
after: boolean;
|
|
1737
|
+
};
|
|
1738
|
+
throw: {
|
|
1739
|
+
after: boolean;
|
|
1740
|
+
};
|
|
1741
|
+
case: {
|
|
1742
|
+
after: boolean;
|
|
1743
|
+
};
|
|
1744
|
+
};
|
|
1745
|
+
}];
|
|
1746
|
+
'line-comment-position': ["off", {
|
|
1747
|
+
position: string;
|
|
1748
|
+
ignorePattern: string;
|
|
1749
|
+
applyDefaultPatterns: boolean;
|
|
1750
|
+
}];
|
|
1751
|
+
'linebreak-style': ["error", string];
|
|
1752
|
+
'lines-between-class-members': ["error", string, {
|
|
1753
|
+
exceptAfterSingleLine: boolean;
|
|
1754
|
+
}];
|
|
1755
|
+
'lines-around-comment': "off";
|
|
1756
|
+
'lines-around-directive': ["error", {
|
|
1757
|
+
before: string;
|
|
1758
|
+
after: string;
|
|
1759
|
+
}];
|
|
1760
|
+
'logical-assignment-operators': ["off", string, {
|
|
1761
|
+
enforceForIfStatements: boolean;
|
|
1762
|
+
}];
|
|
1763
|
+
'max-depth': ["off", number];
|
|
1764
|
+
'max-len': ["error", number, number, {
|
|
1765
|
+
ignoreUrls: boolean;
|
|
1766
|
+
ignoreComments: boolean;
|
|
1767
|
+
ignoreRegExpLiterals: boolean;
|
|
1768
|
+
ignoreStrings: boolean;
|
|
1769
|
+
ignoreTemplateLiterals: boolean;
|
|
1770
|
+
}];
|
|
1771
|
+
'max-lines': ["off", {
|
|
1772
|
+
max: number;
|
|
1773
|
+
skipBlankLines: boolean;
|
|
1774
|
+
skipComments: boolean;
|
|
1775
|
+
}];
|
|
1776
|
+
'max-lines-per-function': ["off", {
|
|
1777
|
+
max: number;
|
|
1778
|
+
skipBlankLines: boolean;
|
|
1779
|
+
skipComments: boolean;
|
|
1780
|
+
IIFEs: boolean;
|
|
1781
|
+
}];
|
|
1782
|
+
'max-nested-callbacks': "off";
|
|
1783
|
+
'max-params': ["off", number];
|
|
1784
|
+
'max-statements': ["off", number];
|
|
1785
|
+
'max-statements-per-line': ["off", {
|
|
1786
|
+
max: number;
|
|
1787
|
+
}];
|
|
1788
|
+
'multiline-comment-style': ["off", string];
|
|
1789
|
+
'multiline-ternary': ["off", string];
|
|
1790
|
+
'new-cap': ["error", {
|
|
1791
|
+
newIsCap: boolean;
|
|
1792
|
+
newIsCapExceptions: never[];
|
|
1793
|
+
capIsNew: boolean;
|
|
1794
|
+
capIsNewExceptions: string[];
|
|
1795
|
+
}];
|
|
1796
|
+
'new-parens': "error";
|
|
1797
|
+
'newline-after-var': "off";
|
|
1798
|
+
'newline-before-return': "off";
|
|
1799
|
+
'newline-per-chained-call': ["error", {
|
|
1800
|
+
ignoreChainWithDepth: number;
|
|
1801
|
+
}];
|
|
1802
|
+
'no-array-constructor': "error";
|
|
1803
|
+
'no-bitwise': "error";
|
|
1804
|
+
'no-continue': "error";
|
|
1805
|
+
'no-inline-comments': "off";
|
|
1806
|
+
'no-lonely-if': "error";
|
|
1807
|
+
'no-mixed-operators': ["error", {
|
|
1808
|
+
groups: string[][];
|
|
1809
|
+
allowSamePrecedence: boolean;
|
|
1810
|
+
}];
|
|
1811
|
+
'no-mixed-spaces-and-tabs': "error";
|
|
1812
|
+
'no-multi-assign': ["error"];
|
|
1813
|
+
'no-multiple-empty-lines': ["error", {
|
|
1814
|
+
max: number;
|
|
1815
|
+
maxBOF: number;
|
|
1816
|
+
maxEOF: number;
|
|
1817
|
+
}];
|
|
1818
|
+
'no-negated-condition': "off";
|
|
1819
|
+
'no-nested-ternary': "error";
|
|
1820
|
+
'no-new-object': "error";
|
|
1821
|
+
'no-plusplus': "error";
|
|
1822
|
+
'no-restricted-syntax': ["error", {
|
|
1823
|
+
selector: string;
|
|
1824
|
+
message: string;
|
|
1825
|
+
}, {
|
|
1826
|
+
selector: string;
|
|
1827
|
+
message: string;
|
|
1828
|
+
}, {
|
|
1829
|
+
selector: string;
|
|
1830
|
+
message: string;
|
|
1831
|
+
}, {
|
|
1832
|
+
selector: string;
|
|
1833
|
+
message: string;
|
|
1834
|
+
}];
|
|
1835
|
+
'no-spaced-func': "off";
|
|
1836
|
+
'no-tabs': "error";
|
|
1837
|
+
'no-ternary': "off";
|
|
1838
|
+
'no-trailing-spaces': ["error", {
|
|
1839
|
+
skipBlankLines: boolean;
|
|
1840
|
+
ignoreComments: boolean;
|
|
1841
|
+
}];
|
|
1842
|
+
'no-underscore-dangle': ["error", {
|
|
1843
|
+
allow: never[];
|
|
1844
|
+
allowAfterThis: boolean;
|
|
1845
|
+
allowAfterSuper: boolean;
|
|
1846
|
+
enforceInMethodNames: boolean;
|
|
1847
|
+
}];
|
|
1848
|
+
'no-unneeded-ternary': ["error", {
|
|
1849
|
+
defaultAssignment: boolean;
|
|
1850
|
+
}];
|
|
1851
|
+
'no-whitespace-before-property': "error";
|
|
1852
|
+
'nonblock-statement-body-position': ["error", string, {
|
|
1853
|
+
overrides: {};
|
|
1854
|
+
}];
|
|
1855
|
+
'object-curly-spacing': ["error", string];
|
|
1856
|
+
'object-curly-newline': ["error", {
|
|
1857
|
+
ObjectExpression: {
|
|
1858
|
+
minProperties: number;
|
|
1859
|
+
multiline: boolean;
|
|
1860
|
+
consistent: boolean;
|
|
1861
|
+
};
|
|
1862
|
+
ObjectPattern: {
|
|
1863
|
+
minProperties: number;
|
|
1864
|
+
multiline: boolean;
|
|
1865
|
+
consistent: boolean;
|
|
1866
|
+
};
|
|
1867
|
+
ImportDeclaration: {
|
|
1868
|
+
minProperties: number;
|
|
1869
|
+
multiline: boolean;
|
|
1870
|
+
consistent: boolean;
|
|
1871
|
+
};
|
|
1872
|
+
ExportDeclaration: {
|
|
1873
|
+
minProperties: number;
|
|
1874
|
+
multiline: boolean;
|
|
1875
|
+
consistent: boolean;
|
|
1876
|
+
};
|
|
1877
|
+
}];
|
|
1878
|
+
'object-property-newline': ["error", {
|
|
1879
|
+
allowAllPropertiesOnSameLine: boolean;
|
|
1880
|
+
}];
|
|
1881
|
+
'one-var': ["error", string];
|
|
1882
|
+
'one-var-declaration-per-line': ["error", string];
|
|
1883
|
+
'operator-assignment': ["error", string];
|
|
1884
|
+
'operator-linebreak': ["error", string, {
|
|
1885
|
+
overrides: {
|
|
1886
|
+
'=': string;
|
|
1887
|
+
};
|
|
1888
|
+
}];
|
|
1889
|
+
'padded-blocks': ["error", {
|
|
1890
|
+
blocks: string;
|
|
1891
|
+
classes: string;
|
|
1892
|
+
switches: string;
|
|
1893
|
+
}, {
|
|
1894
|
+
allowSingleLineBlocks: boolean;
|
|
1895
|
+
}];
|
|
1896
|
+
'padding-line-between-statements': "off";
|
|
1897
|
+
'prefer-exponentiation-operator': "error";
|
|
1898
|
+
'prefer-object-spread': "error";
|
|
1899
|
+
'quote-props': ["error", string, {
|
|
1900
|
+
keywords: boolean;
|
|
1901
|
+
unnecessary: boolean;
|
|
1902
|
+
numbers: boolean;
|
|
1903
|
+
}];
|
|
1904
|
+
quotes: ["error", string, {
|
|
1905
|
+
avoidEscape: boolean;
|
|
1906
|
+
}];
|
|
1907
|
+
'require-jsdoc': "off";
|
|
1908
|
+
semi: ["error", string];
|
|
1909
|
+
'semi-spacing': ["error", {
|
|
1910
|
+
before: boolean;
|
|
1911
|
+
after: boolean;
|
|
1912
|
+
}];
|
|
1913
|
+
'semi-style': ["error", string];
|
|
1914
|
+
'sort-keys': ["off", string, {
|
|
1915
|
+
caseSensitive: boolean;
|
|
1916
|
+
natural: boolean;
|
|
1917
|
+
}];
|
|
1918
|
+
'sort-vars': "off";
|
|
1919
|
+
'space-before-blocks': "error";
|
|
1920
|
+
'space-before-function-paren': ["error", {
|
|
1921
|
+
anonymous: string;
|
|
1922
|
+
named: string;
|
|
1923
|
+
asyncArrow: string;
|
|
1924
|
+
}];
|
|
1925
|
+
'space-in-parens': ["error", string];
|
|
1926
|
+
'space-infix-ops': "error";
|
|
1927
|
+
'space-unary-ops': ["error", {
|
|
1928
|
+
words: boolean;
|
|
1929
|
+
nonwords: boolean;
|
|
1930
|
+
overrides: {};
|
|
1931
|
+
}];
|
|
1932
|
+
'spaced-comment': ["error", string, {
|
|
1933
|
+
line: {
|
|
1934
|
+
exceptions: string[];
|
|
1935
|
+
markers: string[];
|
|
1936
|
+
};
|
|
1937
|
+
block: {
|
|
1938
|
+
exceptions: string[];
|
|
1939
|
+
markers: string[];
|
|
1940
|
+
balanced: boolean;
|
|
1941
|
+
};
|
|
1942
|
+
}];
|
|
1943
|
+
'switch-colon-spacing': ["error", {
|
|
1944
|
+
after: boolean;
|
|
1945
|
+
before: boolean;
|
|
1946
|
+
}];
|
|
1947
|
+
'template-tag-spacing': ["error", string];
|
|
1948
|
+
'unicode-bom': ["error", string];
|
|
1949
|
+
'wrap-regex': "off";
|
|
1950
|
+
};
|
|
1951
|
+
} | {
|
|
1952
|
+
name: string;
|
|
1953
|
+
rules: {
|
|
1954
|
+
'init-declarations': "off";
|
|
1955
|
+
'no-catch-shadow': "off";
|
|
1956
|
+
'no-delete-var': "error";
|
|
1957
|
+
'no-label-var': "error";
|
|
1958
|
+
'no-restricted-globals': ["error", {
|
|
1959
|
+
name: string;
|
|
1960
|
+
message: string;
|
|
1961
|
+
}, {
|
|
1962
|
+
name: string;
|
|
1963
|
+
message: string;
|
|
1964
|
+
}, ...{
|
|
1965
|
+
name: "length" | "find" | "name" | "location" | "stop" | "screenX" | "screenY" | "closed" | "top" | "open" | "screen" | "blur" | "close" | "focus" | "scroll" | "addEventListener" | "removeEventListener" | "scrollBy" | "scrollTo" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "event" | "external" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "locationbar" | "menubar" | "opener" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "parent" | "screenLeft" | "screenTop" | "scrollX" | "scrollY" | "scrollbars" | "self" | "status" | "statusbar" | "toolbar" | "confirm" | "moveBy" | "moveTo" | "print" | "resizeBy" | "resizeTo" | "onunload" | "defaultStatus" | "defaultstatus" | "opera";
|
|
1966
|
+
message: string;
|
|
1967
|
+
}[]];
|
|
1968
|
+
'no-shadow': "error";
|
|
1969
|
+
'no-shadow-restricted-names': "error";
|
|
1970
|
+
'no-undef': "error";
|
|
1971
|
+
'no-undef-init': "error";
|
|
1972
|
+
'no-undefined': "off";
|
|
1973
|
+
'no-unused-vars': ["error", {
|
|
1974
|
+
vars: string;
|
|
1975
|
+
args: string;
|
|
1976
|
+
ignoreRestSiblings: boolean;
|
|
1977
|
+
}];
|
|
1978
|
+
'no-use-before-define': ["error", {
|
|
1979
|
+
functions: boolean;
|
|
1980
|
+
classes: boolean;
|
|
1981
|
+
variables: boolean;
|
|
1982
|
+
}];
|
|
1983
|
+
};
|
|
1984
|
+
} | {
|
|
1985
|
+
name: string;
|
|
1986
|
+
languageOptions: {
|
|
1987
|
+
parserOptions: {
|
|
1988
|
+
ecmaVersion: 2018;
|
|
1989
|
+
sourceType: "module";
|
|
1990
|
+
};
|
|
1991
|
+
};
|
|
1992
|
+
rules: {};
|
|
1993
|
+
})[];
|
|
1994
|
+
};
|
|
1995
|
+
export default _default;
|