eslint-config-airbnb-extended 0.1.1 → 0.2.1

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.
@@ -1,2 +1,990 @@
1
- declare const _default: any[];
1
+ import type { Linter } from 'eslint';
2
+ declare const _default: ({
3
+ name: string;
4
+ rules: {
5
+ 'array-bracket-newline': ["off", string];
6
+ 'array-element-newline': ["off", {
7
+ multiline: boolean;
8
+ minItems: number;
9
+ }];
10
+ 'array-bracket-spacing': ["error", string];
11
+ 'block-spacing': ["error", string];
12
+ 'brace-style': ["error", string, {
13
+ allowSingleLine: boolean;
14
+ }];
15
+ camelcase: ["error", {
16
+ properties: string;
17
+ ignoreDestructuring: boolean;
18
+ }];
19
+ 'capitalized-comments': ["off", string, {
20
+ line: {
21
+ ignorePattern: string;
22
+ ignoreInlineComments: boolean;
23
+ ignoreConsecutiveComments: boolean;
24
+ };
25
+ block: {
26
+ ignorePattern: string;
27
+ ignoreInlineComments: boolean;
28
+ ignoreConsecutiveComments: boolean;
29
+ };
30
+ }];
31
+ 'comma-dangle': ["error", {
32
+ arrays: string;
33
+ objects: string;
34
+ imports: string;
35
+ exports: string;
36
+ functions: string;
37
+ }];
38
+ 'comma-spacing': ["error", {
39
+ before: boolean;
40
+ after: boolean;
41
+ }];
42
+ 'comma-style': ["error", string, {
43
+ exceptions: {
44
+ ArrayExpression: boolean;
45
+ ArrayPattern: boolean;
46
+ ArrowFunctionExpression: boolean;
47
+ CallExpression: boolean;
48
+ FunctionDeclaration: boolean;
49
+ FunctionExpression: boolean;
50
+ ImportDeclaration: boolean;
51
+ ObjectExpression: boolean;
52
+ ObjectPattern: boolean;
53
+ VariableDeclaration: boolean;
54
+ NewExpression: boolean;
55
+ };
56
+ }];
57
+ 'computed-property-spacing': ["error", string];
58
+ 'consistent-this': "off";
59
+ 'eol-last': ["error", string];
60
+ 'function-call-argument-newline': ["error", string];
61
+ 'func-call-spacing': ["error", string];
62
+ 'func-name-matching': ["off", string, {
63
+ includeCommonJSModuleExports: boolean;
64
+ considerPropertyDescriptor: boolean;
65
+ }];
66
+ 'func-names': "warn";
67
+ 'func-style': ["off", string];
68
+ 'function-paren-newline': ["error", string];
69
+ 'id-denylist': "off";
70
+ 'id-length': "off";
71
+ 'id-match': "off";
72
+ 'implicit-arrow-linebreak': ["error", string];
73
+ indent: ["error", number, {
74
+ SwitchCase: number;
75
+ VariableDeclarator: number;
76
+ outerIIFEBody: number;
77
+ FunctionDeclaration: {
78
+ parameters: number;
79
+ body: number;
80
+ };
81
+ FunctionExpression: {
82
+ parameters: number;
83
+ body: number;
84
+ };
85
+ CallExpression: {
86
+ arguments: number;
87
+ };
88
+ ArrayExpression: number;
89
+ ObjectExpression: number;
90
+ ImportDeclaration: number;
91
+ flatTernaryExpressions: boolean;
92
+ ignoredNodes: string[];
93
+ ignoreComments: boolean;
94
+ }];
95
+ 'jsx-quotes': ["off", string];
96
+ 'key-spacing': ["error", {
97
+ beforeColon: boolean;
98
+ afterColon: boolean;
99
+ }];
100
+ 'keyword-spacing': ["error", {
101
+ before: boolean;
102
+ after: boolean;
103
+ overrides: {
104
+ return: {
105
+ after: boolean;
106
+ };
107
+ throw: {
108
+ after: boolean;
109
+ };
110
+ case: {
111
+ after: boolean;
112
+ };
113
+ };
114
+ }];
115
+ 'line-comment-position': ["off", {
116
+ position: string;
117
+ ignorePattern: string;
118
+ applyDefaultPatterns: boolean;
119
+ }];
120
+ 'linebreak-style': ["error", string];
121
+ 'lines-between-class-members': ["error", string, {
122
+ exceptAfterSingleLine: boolean;
123
+ }];
124
+ 'lines-around-comment': "off";
125
+ 'lines-around-directive': ["error", {
126
+ before: string;
127
+ after: string;
128
+ }];
129
+ 'logical-assignment-operators': ["off", string, {
130
+ enforceForIfStatements: boolean;
131
+ }];
132
+ 'max-depth': ["off", number];
133
+ 'max-len': ["error", number, number, {
134
+ ignoreUrls: boolean;
135
+ ignoreComments: boolean;
136
+ ignoreRegExpLiterals: boolean;
137
+ ignoreStrings: boolean;
138
+ ignoreTemplateLiterals: boolean;
139
+ }];
140
+ 'max-lines': ["off", {
141
+ max: number;
142
+ skipBlankLines: boolean;
143
+ skipComments: boolean;
144
+ }];
145
+ 'max-lines-per-function': ["off", {
146
+ max: number;
147
+ skipBlankLines: boolean;
148
+ skipComments: boolean;
149
+ IIFEs: boolean;
150
+ }];
151
+ 'max-nested-callbacks': "off";
152
+ 'max-params': ["off", number];
153
+ 'max-statements': ["off", number];
154
+ 'max-statements-per-line': ["off", {
155
+ max: number;
156
+ }];
157
+ 'multiline-comment-style': ["off", string];
158
+ 'multiline-ternary': ["off", string];
159
+ 'new-cap': ["error", {
160
+ newIsCap: boolean;
161
+ newIsCapExceptions: never[];
162
+ capIsNew: boolean;
163
+ capIsNewExceptions: string[];
164
+ }];
165
+ 'new-parens': "error";
166
+ 'newline-after-var': "off";
167
+ 'newline-before-return': "off";
168
+ 'newline-per-chained-call': ["error", {
169
+ ignoreChainWithDepth: number;
170
+ }];
171
+ 'no-array-constructor': "error";
172
+ 'no-bitwise': "error";
173
+ 'no-continue': "error";
174
+ 'no-inline-comments': "off";
175
+ 'no-lonely-if': "error";
176
+ 'no-mixed-operators': ["error", {
177
+ groups: string[][];
178
+ allowSamePrecedence: boolean;
179
+ }];
180
+ 'no-mixed-spaces-and-tabs': "error";
181
+ 'no-multi-assign': ["error"];
182
+ 'no-multiple-empty-lines': ["error", {
183
+ max: number;
184
+ maxBOF: number;
185
+ maxEOF: number;
186
+ }];
187
+ 'no-negated-condition': "off";
188
+ 'no-nested-ternary': "error";
189
+ 'no-new-object': "error";
190
+ 'no-plusplus': "error";
191
+ 'no-restricted-syntax': ["error", {
192
+ selector: string;
193
+ message: string;
194
+ }, {
195
+ selector: string;
196
+ message: string;
197
+ }, {
198
+ selector: string;
199
+ message: string;
200
+ }, {
201
+ selector: string;
202
+ message: string;
203
+ }];
204
+ 'no-spaced-func': "off";
205
+ 'no-tabs': "error";
206
+ 'no-ternary': "off";
207
+ 'no-trailing-spaces': ["error", {
208
+ skipBlankLines: boolean;
209
+ ignoreComments: boolean;
210
+ }];
211
+ 'no-underscore-dangle': ["error", {
212
+ allow: never[];
213
+ allowAfterThis: boolean;
214
+ allowAfterSuper: boolean;
215
+ enforceInMethodNames: boolean;
216
+ }];
217
+ 'no-unneeded-ternary': ["error", {
218
+ defaultAssignment: boolean;
219
+ }];
220
+ 'no-whitespace-before-property': "error";
221
+ 'nonblock-statement-body-position': ["error", string, {
222
+ overrides: {};
223
+ }];
224
+ 'object-curly-spacing': ["error", string];
225
+ 'object-curly-newline': ["error", {
226
+ ObjectExpression: {
227
+ minProperties: number;
228
+ multiline: boolean;
229
+ consistent: boolean;
230
+ };
231
+ ObjectPattern: {
232
+ minProperties: number;
233
+ multiline: boolean;
234
+ consistent: boolean;
235
+ };
236
+ ImportDeclaration: {
237
+ minProperties: number;
238
+ multiline: boolean;
239
+ consistent: boolean;
240
+ };
241
+ ExportDeclaration: {
242
+ minProperties: number;
243
+ multiline: boolean;
244
+ consistent: boolean;
245
+ };
246
+ }];
247
+ 'object-property-newline': ["error", {
248
+ allowAllPropertiesOnSameLine: boolean;
249
+ }];
250
+ 'one-var': ["error", string];
251
+ 'one-var-declaration-per-line': ["error", string];
252
+ 'operator-assignment': ["error", string];
253
+ 'operator-linebreak': ["error", string, {
254
+ overrides: {
255
+ '=': string;
256
+ };
257
+ }];
258
+ 'padded-blocks': ["error", {
259
+ blocks: string;
260
+ classes: string;
261
+ switches: string;
262
+ }, {
263
+ allowSingleLineBlocks: boolean;
264
+ }];
265
+ 'padding-line-between-statements': "off";
266
+ 'prefer-exponentiation-operator': "error";
267
+ 'prefer-object-spread': "error";
268
+ 'quote-props': ["error", string, {
269
+ keywords: boolean;
270
+ unnecessary: boolean;
271
+ numbers: boolean;
272
+ }];
273
+ quotes: ["error", string, {
274
+ avoidEscape: boolean;
275
+ }];
276
+ 'require-jsdoc': "off";
277
+ semi: ["error", string];
278
+ 'semi-spacing': ["error", {
279
+ before: boolean;
280
+ after: boolean;
281
+ }];
282
+ 'semi-style': ["error", string];
283
+ 'sort-keys': ["off", string, {
284
+ caseSensitive: boolean;
285
+ natural: boolean;
286
+ }];
287
+ 'sort-vars': "off";
288
+ 'space-before-blocks': "error";
289
+ 'space-before-function-paren': ["error", {
290
+ anonymous: string;
291
+ named: string;
292
+ asyncArrow: string;
293
+ }];
294
+ 'space-in-parens': ["error", string];
295
+ 'space-infix-ops': "error";
296
+ 'space-unary-ops': ["error", {
297
+ words: boolean;
298
+ nonwords: boolean;
299
+ overrides: {};
300
+ }];
301
+ 'spaced-comment': ["error", string, {
302
+ line: {
303
+ exceptions: string[];
304
+ markers: string[];
305
+ };
306
+ block: {
307
+ exceptions: string[];
308
+ markers: string[];
309
+ balanced: boolean;
310
+ };
311
+ }];
312
+ 'switch-colon-spacing': ["error", {
313
+ after: boolean;
314
+ before: boolean;
315
+ }];
316
+ 'template-tag-spacing': ["error", string];
317
+ 'unicode-bom': ["error", string];
318
+ 'wrap-regex': "off";
319
+ };
320
+ } | {
321
+ name: string;
322
+ rules: {
323
+ 'accessor-pairs': "off";
324
+ 'array-callback-return': ["error", {
325
+ allowImplicit: boolean;
326
+ }];
327
+ 'block-scoped-var': "error";
328
+ complexity: ["off", number];
329
+ 'class-methods-use-this': ["error", {
330
+ exceptMethods: never[];
331
+ }];
332
+ 'consistent-return': "error";
333
+ curly: ["error", string];
334
+ 'default-case': ["error", {
335
+ commentPattern: string;
336
+ }];
337
+ 'default-case-last': "error";
338
+ 'default-param-last': "error";
339
+ 'dot-notation': ["error", {
340
+ allowKeywords: boolean;
341
+ }];
342
+ 'dot-location': ["error", string];
343
+ eqeqeq: ["error", string, {
344
+ null: string;
345
+ }];
346
+ 'grouped-accessor-pairs': "error";
347
+ 'guard-for-in': "error";
348
+ 'max-classes-per-file': ["error", number];
349
+ 'no-alert': "warn";
350
+ 'no-caller': "error";
351
+ 'no-case-declarations': "error";
352
+ 'no-constructor-return': "error";
353
+ 'no-div-regex': "off";
354
+ 'no-else-return': ["error", {
355
+ allowElseIf: boolean;
356
+ }];
357
+ 'no-empty-function': ["error", {
358
+ allow: string[];
359
+ }];
360
+ 'no-empty-pattern': "error";
361
+ 'no-empty-static-block': "off";
362
+ 'no-eq-null': "off";
363
+ 'no-eval': "error";
364
+ 'no-extend-native': "error";
365
+ 'no-extra-bind': "error";
366
+ 'no-extra-label': "error";
367
+ 'no-fallthrough': "error";
368
+ 'no-floating-decimal': "error";
369
+ 'no-global-assign': ["error", {
370
+ exceptions: never[];
371
+ }];
372
+ 'no-native-reassign': "off";
373
+ 'no-implicit-coercion': ["off", {
374
+ boolean: boolean;
375
+ number: boolean;
376
+ string: boolean;
377
+ allow: never[];
378
+ }];
379
+ 'no-implicit-globals': "off";
380
+ 'no-implied-eval': "error";
381
+ 'no-invalid-this': "off";
382
+ 'no-iterator': "error";
383
+ 'no-labels': ["error", {
384
+ allowLoop: boolean;
385
+ allowSwitch: boolean;
386
+ }];
387
+ 'no-lone-blocks': "error";
388
+ 'no-loop-func': "error";
389
+ 'no-magic-numbers': ["off", {
390
+ ignore: never[];
391
+ ignoreArrayIndexes: boolean;
392
+ enforceConst: boolean;
393
+ detectObjects: boolean;
394
+ }];
395
+ 'no-multi-spaces': ["error", {
396
+ ignoreEOLComments: boolean;
397
+ }];
398
+ 'no-multi-str': "error";
399
+ 'no-new': "error";
400
+ 'no-new-func': "error";
401
+ 'no-new-wrappers': "error";
402
+ 'no-nonoctal-decimal-escape': "error";
403
+ 'no-object-constructor': "off";
404
+ 'no-octal': "error";
405
+ 'no-octal-escape': "error";
406
+ 'no-param-reassign': ["error", {
407
+ props: boolean;
408
+ ignorePropertyModificationsFor: string[];
409
+ }];
410
+ 'no-proto': "error";
411
+ 'no-redeclare': "error";
412
+ 'no-restricted-properties': ["error", {
413
+ object: string;
414
+ property: string;
415
+ message: string;
416
+ }, {
417
+ object: string;
418
+ property: string;
419
+ message: string;
420
+ }, {
421
+ object: string;
422
+ property: string;
423
+ message: string;
424
+ }, {
425
+ object: string;
426
+ property: string;
427
+ message: string;
428
+ }, {
429
+ object: string;
430
+ property: string;
431
+ message: string;
432
+ }, {
433
+ object: string;
434
+ property: string;
435
+ message: string;
436
+ }, {
437
+ object: string;
438
+ property: string;
439
+ message: string;
440
+ }, {
441
+ property: string;
442
+ message: string;
443
+ }, {
444
+ property: string;
445
+ message: string;
446
+ }, {
447
+ object: string;
448
+ property: string;
449
+ message: string;
450
+ }];
451
+ 'no-return-assign': ["error", string];
452
+ 'no-return-await': "error";
453
+ 'no-script-url': "error";
454
+ 'no-self-assign': ["error", {
455
+ props: boolean;
456
+ }];
457
+ 'no-self-compare': "error";
458
+ 'no-sequences': "error";
459
+ 'no-throw-literal': "error";
460
+ 'no-unmodified-loop-condition': "off";
461
+ 'no-unused-expressions': ["error", {
462
+ allowShortCircuit: boolean;
463
+ allowTernary: boolean;
464
+ allowTaggedTemplates: boolean;
465
+ }];
466
+ 'no-unused-labels': "error";
467
+ 'no-useless-call': "off";
468
+ 'no-useless-catch': "error";
469
+ 'no-useless-concat': "error";
470
+ 'no-useless-escape': "error";
471
+ 'no-useless-return': "error";
472
+ 'no-void': "error";
473
+ 'no-warning-comments': ["off", {
474
+ terms: string[];
475
+ location: string;
476
+ }];
477
+ 'no-with': "error";
478
+ 'prefer-promise-reject-errors': ["error", {
479
+ allowEmptyReject: boolean;
480
+ }];
481
+ 'prefer-named-capture-group': "off";
482
+ 'prefer-object-has-own': "off";
483
+ 'prefer-regex-literals': ["error", {
484
+ disallowRedundantWrapping: boolean;
485
+ }];
486
+ radix: "error";
487
+ 'require-await': "off";
488
+ 'require-unicode-regexp': "off";
489
+ 'vars-on-top': "error";
490
+ 'wrap-iife': ["error", string, {
491
+ functionPrototypeMethods: boolean;
492
+ }];
493
+ yoda: "error";
494
+ };
495
+ } | {
496
+ name: string;
497
+ languageOptions: {
498
+ globals: {
499
+ Array: false;
500
+ ArrayBuffer: false;
501
+ Boolean: false;
502
+ DataView: false;
503
+ Date: false;
504
+ decodeURI: false;
505
+ decodeURIComponent: false;
506
+ encodeURI: false;
507
+ encodeURIComponent: false;
508
+ Error: false;
509
+ escape: false;
510
+ eval: false;
511
+ EvalError: false;
512
+ Float32Array: false;
513
+ Float64Array: false;
514
+ Function: false;
515
+ Infinity: false;
516
+ Int16Array: false;
517
+ Int32Array: false;
518
+ Int8Array: false;
519
+ Intl: false;
520
+ isFinite: false;
521
+ isNaN: false;
522
+ JSON: false;
523
+ Map: false;
524
+ Math: false;
525
+ NaN: false;
526
+ Number: false;
527
+ Object: false;
528
+ parseFloat: false;
529
+ parseInt: false;
530
+ Promise: false;
531
+ Proxy: false;
532
+ RangeError: false;
533
+ ReferenceError: false;
534
+ Reflect: false;
535
+ RegExp: false;
536
+ Set: false;
537
+ String: false;
538
+ Symbol: false;
539
+ SyntaxError: false;
540
+ TypeError: false;
541
+ Uint16Array: false;
542
+ Uint32Array: false;
543
+ Uint8Array: false;
544
+ Uint8ClampedArray: false;
545
+ undefined: false;
546
+ unescape: false;
547
+ URIError: false;
548
+ WeakMap: false;
549
+ WeakSet: false;
550
+ };
551
+ parserOptions: {
552
+ ecmaVersion: 6;
553
+ sourceType: "module";
554
+ ecmaFeatures: {
555
+ generators: boolean;
556
+ objectLiteralDuplicateProperties: boolean;
557
+ };
558
+ };
559
+ };
560
+ rules: {
561
+ 'arrow-body-style': ["error", string, {
562
+ requireReturnForObjectLiteral: boolean;
563
+ }];
564
+ 'arrow-parens': ["error", string];
565
+ 'arrow-spacing': ["error", {
566
+ before: boolean;
567
+ after: boolean;
568
+ }];
569
+ 'constructor-super': "error";
570
+ 'generator-star-spacing': ["error", {
571
+ before: boolean;
572
+ after: boolean;
573
+ }];
574
+ 'no-class-assign': "error";
575
+ 'no-confusing-arrow': ["error", {
576
+ allowParens: boolean;
577
+ }];
578
+ 'no-const-assign': "error";
579
+ 'no-dupe-class-members': "error";
580
+ 'no-duplicate-imports': "off";
581
+ 'no-new-symbol': "error";
582
+ 'no-restricted-exports': ["error", {
583
+ restrictedNamedExports: string[];
584
+ }];
585
+ 'no-restricted-imports': ["off", {
586
+ paths: never[];
587
+ patterns: never[];
588
+ }];
589
+ 'no-this-before-super': "error";
590
+ 'no-useless-computed-key': "error";
591
+ 'no-useless-constructor': "error";
592
+ 'no-useless-rename': ["error", {
593
+ ignoreDestructuring: boolean;
594
+ ignoreImport: boolean;
595
+ ignoreExport: boolean;
596
+ }];
597
+ 'no-var': "error";
598
+ 'object-shorthand': ["error", string, {
599
+ ignoreConstructors: boolean;
600
+ avoidQuotes: boolean;
601
+ }];
602
+ 'prefer-arrow-callback': ["error", {
603
+ allowNamedFunctions: boolean;
604
+ allowUnboundThis: boolean;
605
+ }];
606
+ 'prefer-const': ["error", {
607
+ destructuring: string;
608
+ ignoreReadBeforeAssign: boolean;
609
+ }];
610
+ 'prefer-destructuring': ["error", {
611
+ VariableDeclarator: {
612
+ array: boolean;
613
+ object: boolean;
614
+ };
615
+ AssignmentExpression: {
616
+ array: boolean;
617
+ object: boolean;
618
+ };
619
+ }, {
620
+ enforceForRenamedProperties: boolean;
621
+ }];
622
+ 'prefer-numeric-literals': "error";
623
+ 'prefer-reflect': "off";
624
+ 'prefer-rest-params': "error";
625
+ 'prefer-spread': "error";
626
+ 'prefer-template': "error";
627
+ 'require-yield': "error";
628
+ 'rest-spread-spacing': ["error", string];
629
+ 'sort-imports': ["off", {
630
+ ignoreCase: boolean;
631
+ ignoreDeclarationSort: boolean;
632
+ ignoreMemberSort: boolean;
633
+ memberSyntaxSortOrder: string[];
634
+ }];
635
+ 'symbol-description': "error";
636
+ 'template-curly-spacing': "error";
637
+ 'yield-star-spacing': ["error", string];
638
+ };
639
+ } | {
640
+ name: string;
641
+ rules: {
642
+ 'for-direction': "error";
643
+ 'getter-return': ["error", {
644
+ allowImplicit: boolean;
645
+ }];
646
+ 'no-async-promise-executor': "error";
647
+ 'no-await-in-loop': "error";
648
+ 'no-compare-neg-zero': "error";
649
+ 'no-cond-assign': ["error", string];
650
+ 'no-console': "warn";
651
+ 'no-constant-binary-expression': "off";
652
+ 'no-constant-condition': "warn";
653
+ 'no-control-regex': "error";
654
+ 'no-debugger': "error";
655
+ 'no-dupe-args': "error";
656
+ 'no-dupe-else-if': "error";
657
+ 'no-dupe-keys': "error";
658
+ 'no-duplicate-case': "error";
659
+ 'no-empty': "error";
660
+ 'no-empty-character-class': "error";
661
+ 'no-ex-assign': "error";
662
+ 'no-extra-boolean-cast': "error";
663
+ 'no-extra-parens': ["off", string, {
664
+ conditionalAssign: boolean;
665
+ nestedBinaryExpressions: boolean;
666
+ returnAssign: boolean;
667
+ ignoreJSX: string;
668
+ enforceForArrowConditionals: boolean;
669
+ }];
670
+ 'no-extra-semi': "error";
671
+ 'no-func-assign': "error";
672
+ 'no-import-assign': "error";
673
+ 'no-inner-declarations': "error";
674
+ 'no-invalid-regexp': "error";
675
+ 'no-irregular-whitespace': "error";
676
+ 'no-loss-of-precision': "error";
677
+ 'no-misleading-character-class': "error";
678
+ 'no-obj-calls': "error";
679
+ 'no-new-native-nonconstructor': "off";
680
+ 'no-promise-executor-return': "error";
681
+ 'no-prototype-builtins': "error";
682
+ 'no-regex-spaces': "error";
683
+ 'no-setter-return': "error";
684
+ 'no-sparse-arrays': "error";
685
+ 'no-template-curly-in-string': "error";
686
+ 'no-unexpected-multiline': "error";
687
+ 'no-unreachable': "error";
688
+ 'no-unreachable-loop': ["error", {
689
+ ignore: never[];
690
+ }];
691
+ 'no-unsafe-finally': "error";
692
+ 'no-unsafe-negation': "error";
693
+ 'no-unsafe-optional-chaining': ["error", {
694
+ disallowArithmeticOperators: boolean;
695
+ }];
696
+ 'no-unused-private-class-members': "off";
697
+ 'no-useless-backreference': "error";
698
+ 'no-negated-in-lhs': "off";
699
+ 'require-atomic-updates': "off";
700
+ 'use-isnan': "error";
701
+ 'valid-jsdoc': "off";
702
+ 'valid-typeof': ["error", {
703
+ requireStringLiterals: boolean;
704
+ }];
705
+ };
706
+ } | {
707
+ name: string;
708
+ rules: {
709
+ 'init-declarations': "off";
710
+ 'no-catch-shadow': "off";
711
+ 'no-delete-var': "error";
712
+ 'no-label-var': "error";
713
+ 'no-restricted-globals': ["error", {
714
+ name: string;
715
+ message: string;
716
+ }, {
717
+ name: string;
718
+ message: string;
719
+ }, ...{
720
+ name: "self" | "location" | "length" | "find" | "addEventListener" | "blur" | "close" | "closed" | "confirm" | "defaultStatus" | "defaultstatus" | "event" | "external" | "focus" | "frameElement" | "frames" | "history" | "innerHeight" | "innerWidth" | "locationbar" | "menubar" | "moveBy" | "moveTo" | "name" | "onblur" | "onerror" | "onfocus" | "onload" | "onresize" | "onunload" | "open" | "opener" | "opera" | "outerHeight" | "outerWidth" | "pageXOffset" | "pageYOffset" | "parent" | "print" | "removeEventListener" | "resizeBy" | "resizeTo" | "screen" | "screenLeft" | "screenTop" | "screenX" | "screenY" | "scroll" | "scrollbars" | "scrollBy" | "scrollTo" | "scrollX" | "scrollY" | "status" | "statusbar" | "stop" | "toolbar" | "top";
721
+ message: string;
722
+ }[]];
723
+ 'no-shadow': "error";
724
+ 'no-shadow-restricted-names': "error";
725
+ 'no-undef': "error";
726
+ 'no-undef-init': "error";
727
+ 'no-undefined': "off";
728
+ 'no-unused-vars': ["error", {
729
+ vars: string;
730
+ args: string;
731
+ ignoreRestSiblings: boolean;
732
+ }];
733
+ 'no-use-before-define': ["error", {
734
+ functions: boolean;
735
+ classes: boolean;
736
+ variables: boolean;
737
+ }];
738
+ };
739
+ } | {
740
+ name: string;
741
+ languageOptions: {
742
+ globals: {
743
+ Array: false;
744
+ ArrayBuffer: false;
745
+ Boolean: false;
746
+ DataView: false;
747
+ Date: false;
748
+ decodeURI: false;
749
+ decodeURIComponent: false;
750
+ encodeURI: false;
751
+ encodeURIComponent: false;
752
+ Error: false;
753
+ escape: false;
754
+ eval: false;
755
+ EvalError: false;
756
+ Float32Array: false;
757
+ Float64Array: false;
758
+ Function: false;
759
+ Infinity: false;
760
+ Int16Array: false;
761
+ Int32Array: false;
762
+ Int8Array: false;
763
+ Intl: false;
764
+ isFinite: false;
765
+ isNaN: false;
766
+ JSON: false;
767
+ Map: false;
768
+ Math: false;
769
+ NaN: false;
770
+ Number: false;
771
+ Object: false;
772
+ parseFloat: false;
773
+ parseInt: false;
774
+ Promise: false;
775
+ Proxy: false;
776
+ RangeError: false;
777
+ ReferenceError: false;
778
+ Reflect: false;
779
+ RegExp: false;
780
+ Set: false;
781
+ String: false;
782
+ Symbol: false;
783
+ SyntaxError: false;
784
+ TypeError: false;
785
+ Uint16Array: false;
786
+ Uint32Array: false;
787
+ Uint8Array: false;
788
+ Uint8ClampedArray: false;
789
+ undefined: false;
790
+ unescape: false;
791
+ URIError: false;
792
+ WeakMap: false;
793
+ WeakSet: false;
794
+ };
795
+ parserOptions: {
796
+ ecmaVersion: 6;
797
+ sourceType: "module";
798
+ };
799
+ };
800
+ settings: {
801
+ 'import-x/resolver': {
802
+ node: {
803
+ extensions: string[];
804
+ };
805
+ };
806
+ 'import-x/extensions': string[];
807
+ 'import-x/core-modules': never[];
808
+ 'import-x/ignore': string[];
809
+ };
810
+ rules: {
811
+ 'import-x/consistent-type-specifier-style': "off";
812
+ 'import-x/default': "error";
813
+ 'import-x/dynamic-import-chunkname': "off";
814
+ 'import-x/export': "error";
815
+ 'import-x/exports-last': "off";
816
+ 'import-x/extensions': ["error", string, {
817
+ [k: string]: string;
818
+ }];
819
+ 'import-x/first': "error";
820
+ 'import-x/group-exports': "off";
821
+ 'import-x/imports-first': "off";
822
+ 'import-x/max-dependencies': "off";
823
+ 'import-x/named': "error";
824
+ 'import-x/namespaces': "error";
825
+ 'import-x/newline-after-import': "error";
826
+ 'import-x/no-absolute-path': "error";
827
+ 'import-x/no-amd': "error";
828
+ 'import-x/no-anonymous-default-export': "off";
829
+ 'import-x/no-commonjs': "off";
830
+ 'import-x/no-cycle': ["error", {
831
+ maxDepth: string;
832
+ }];
833
+ 'import-x/no-default-export': "off";
834
+ 'import-x/no-deprecated': "off";
835
+ 'import-x/no-duplicates': "error";
836
+ 'import-x/no-dynamic-require': "error";
837
+ 'import-x/no-empty-named-blocks': "error";
838
+ 'import-x/no-extraneous-dependencies': ["error", {
839
+ devDependencies: string[];
840
+ optionalDependencies: boolean;
841
+ peerDependencies: boolean;
842
+ bundledDependencies: boolean;
843
+ }];
844
+ 'import-x/no-import-module-exports': ["error", {
845
+ exceptions: never[];
846
+ }];
847
+ 'import-x/no-internal-modules': "off";
848
+ 'import-x/no-mutable-exports': "error";
849
+ 'import-x/no-named-as-default-member': "error";
850
+ 'import-x/no-named-as-default': "error";
851
+ 'import-x/no-named-default': "error";
852
+ 'import-x/no-named-export': "off";
853
+ 'import-x/no-namespace': "off";
854
+ 'import-x/no-nodejs-modules': "off";
855
+ 'import-x/no-relative-packages': "error";
856
+ 'import-x/no-relative-parent-imports': "off";
857
+ 'import-x/no-rename-default': "warn";
858
+ 'import-x/no-restricted-paths': "off";
859
+ 'import-x/no-self-import': "error";
860
+ 'import-x/no-unassigned-import': "off";
861
+ 'import-x/no-unresolved': ["error", {
862
+ commonjs: boolean;
863
+ caseSensitive: boolean;
864
+ }];
865
+ 'import-x/no-unused-modules': ["off", {
866
+ ignoreExports: never[];
867
+ missingExports: boolean;
868
+ unusedExports: boolean;
869
+ }];
870
+ 'import-x/no-useless-path-segments': ["error", {
871
+ noUselessIndex: boolean;
872
+ commonjs: boolean;
873
+ }];
874
+ 'import-x/no-webpack-loader-syntax': "error";
875
+ 'import-x/order': ["error", {
876
+ groups: string[][];
877
+ }];
878
+ 'import-x/prefer-default-export': "error";
879
+ 'import-x/unambiguous': "off";
880
+ };
881
+ files?: Array<string | string[]>;
882
+ ignores?: string[];
883
+ language?: string;
884
+ linterOptions?: Linter.LinterOptions;
885
+ processor?: string | Linter.Processor;
886
+ plugins?: Record<string, import("eslint").ESLint.Plugin>;
887
+ } | {
888
+ name: string;
889
+ languageOptions: {
890
+ globals: {
891
+ AbortController: false;
892
+ AbortSignal: false;
893
+ atob: false;
894
+ Blob: false;
895
+ BroadcastChannel: false;
896
+ btoa: false;
897
+ Buffer: false;
898
+ ByteLengthQueuingStrategy: false;
899
+ clearImmediate: false;
900
+ clearInterval: false;
901
+ clearTimeout: false;
902
+ CloseEvent: false;
903
+ CompressionStream: false;
904
+ console: false;
905
+ CountQueuingStrategy: false;
906
+ crypto: false;
907
+ Crypto: false;
908
+ CryptoKey: false;
909
+ CustomEvent: false;
910
+ DecompressionStream: false;
911
+ DOMException: false;
912
+ Event: false;
913
+ EventTarget: false;
914
+ fetch: false;
915
+ File: false;
916
+ FormData: false;
917
+ global: false;
918
+ Headers: false;
919
+ MessageChannel: false;
920
+ MessageEvent: false;
921
+ MessagePort: false;
922
+ navigator: false;
923
+ Navigator: false;
924
+ performance: false;
925
+ Performance: false;
926
+ PerformanceEntry: false;
927
+ PerformanceMark: false;
928
+ PerformanceMeasure: false;
929
+ PerformanceObserver: false;
930
+ PerformanceObserverEntryList: false;
931
+ PerformanceResourceTiming: false;
932
+ process: false;
933
+ queueMicrotask: false;
934
+ ReadableByteStreamController: false;
935
+ ReadableStream: false;
936
+ ReadableStreamBYOBReader: false;
937
+ ReadableStreamBYOBRequest: false;
938
+ ReadableStreamDefaultController: false;
939
+ ReadableStreamDefaultReader: false;
940
+ Request: false;
941
+ Response: false;
942
+ setImmediate: false;
943
+ setInterval: false;
944
+ setTimeout: false;
945
+ structuredClone: false;
946
+ SubtleCrypto: false;
947
+ TextDecoder: false;
948
+ TextDecoderStream: false;
949
+ TextEncoder: false;
950
+ TextEncoderStream: false;
951
+ TransformStream: false;
952
+ TransformStreamDefaultController: false;
953
+ URL: false;
954
+ URLSearchParams: false;
955
+ WebAssembly: false;
956
+ WebSocket: false;
957
+ WritableStream: false;
958
+ WritableStreamDefaultController: false;
959
+ WritableStreamDefaultWriter: false;
960
+ };
961
+ };
962
+ rules: {
963
+ 'callback-return': "off";
964
+ 'global-require': "error";
965
+ 'handle-callback-err': "off";
966
+ 'no-buffer-constructor': "error";
967
+ 'no-mixed-requires': ["off", boolean];
968
+ 'no-new-require': "error";
969
+ 'no-path-concat': "error";
970
+ 'no-process-env': "off";
971
+ 'no-process-exit': "off";
972
+ 'no-restricted-modules': "off";
973
+ 'no-sync': "off";
974
+ };
975
+ } | {
976
+ name: string;
977
+ rules: {
978
+ strict: ["error", string];
979
+ };
980
+ } | {
981
+ name: string;
982
+ languageOptions: {
983
+ parserOptions: {
984
+ ecmaVersion: 2018;
985
+ sourceType: "module";
986
+ };
987
+ };
988
+ rules: {};
989
+ })[];
2
990
  export default _default;