@oxlint-types/define-config 0.0.0 → 0.0.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.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,2549 @@
1
- import { OxlintConfig } from "oxlint";
1
+ import { AllowWarnDeny, OxlintConfig as OxlintConfig$1, OxlintOverride as OxlintOverride$1 } from "oxlint";
2
2
 
3
+ //#region src/plugins/eslint.generated.d.ts
4
+ interface EslintRuleOptionsByName {
5
+ 'eslint/accessor-pairs': {
6
+ setWithoutGet?: boolean;
7
+ getWithoutSet?: boolean;
8
+ enforceForClassMembers?: boolean;
9
+ enforceForTSTypes?: boolean;
10
+ };
11
+ 'eslint/array-callback-return': {
12
+ checkForEach?: boolean;
13
+ allowImplicit?: boolean;
14
+ allowVoid?: boolean;
15
+ };
16
+ 'eslint/arrow-body-style': readonly ['as-needed' | 'always' | 'never', {
17
+ requireReturnForObjectLiteral?: boolean;
18
+ }];
19
+ 'eslint/block-scoped-var': never;
20
+ 'eslint/capitalized-comments': readonly ['Always' | 'Never', {
21
+ base?: {
22
+ ignorePattern?: string;
23
+ ignoreInlineComments?: boolean;
24
+ ignoreConsecutiveComments?: boolean;
25
+ };
26
+ line?: {
27
+ ignorePattern?: string;
28
+ ignoreInlineComments?: boolean;
29
+ ignoreConsecutiveComments?: boolean;
30
+ };
31
+ block?: {
32
+ ignorePattern?: string;
33
+ ignoreInlineComments?: boolean;
34
+ ignoreConsecutiveComments?: boolean;
35
+ };
36
+ }];
37
+ 'eslint/class-methods-use-this': {
38
+ exceptMethods?: readonly {
39
+ name?: string;
40
+ private?: boolean;
41
+ }[];
42
+ enforceForClassFields?: boolean;
43
+ ignoreOverrideMethods?: boolean;
44
+ ignoreClassesWithImplements?: 'all' | 'public-fields';
45
+ };
46
+ 'eslint/complexity': {
47
+ max?: number;
48
+ variant?: 'classic' | 'modified';
49
+ };
50
+ 'eslint/constructor-super': never;
51
+ 'eslint/curly': readonly ['all' | 'multi' | 'multi-line' | 'multi-or-nest', 'consistent'];
52
+ 'eslint/default-case': {
53
+ commentPattern?: string;
54
+ };
55
+ 'eslint/default-case-last': never;
56
+ 'eslint/default-param-last': never;
57
+ 'eslint/eqeqeq': readonly ['always' | 'smart', {
58
+ null?: 'always' | 'never' | 'ignore';
59
+ }];
60
+ 'eslint/for-direction': never;
61
+ 'eslint/func-name-matching': readonly ['always' | 'never', {
62
+ considerPropertyDescriptor?: boolean;
63
+ includeCommonJSModuleExports?: boolean;
64
+ }];
65
+ 'eslint/func-names': readonly ['always' | 'as-needed' | 'never', {
66
+ generators?: 'always' | 'as-needed' | 'never';
67
+ }];
68
+ 'eslint/func-style': readonly ['expression' | 'declaration', {
69
+ allowArrowFunctions?: boolean;
70
+ allowTypeAnnotation?: boolean;
71
+ overrides?: {
72
+ namedExports?: 'ignore' | 'expression' | 'declaration';
73
+ };
74
+ }];
75
+ 'eslint/getter-return': {
76
+ allowImplicit?: boolean;
77
+ };
78
+ 'eslint/grouped-accessor-pairs': readonly ['anyOrder' | 'getBeforeSet' | 'setBeforeGet', {
79
+ enforceForTSTypes?: boolean;
80
+ }];
81
+ 'eslint/guard-for-in': never;
82
+ 'eslint/id-length': {
83
+ exceptionPatterns?: readonly string[];
84
+ exceptions?: readonly string[];
85
+ max?: number;
86
+ min?: number;
87
+ checkGeneric?: boolean;
88
+ properties?: 'Always' | 'Never';
89
+ };
90
+ 'eslint/init-declarations': readonly ['always' | 'never', {
91
+ ignoreForLoopInit?: boolean;
92
+ }];
93
+ 'eslint/logical-assignment-operators': readonly ['always' | 'never', {
94
+ enforceForIfStatements?: boolean;
95
+ }];
96
+ 'eslint/max-classes-per-file': {
97
+ max?: number;
98
+ ignoreExpressions?: boolean;
99
+ };
100
+ 'eslint/max-depth': {
101
+ max?: number;
102
+ };
103
+ 'eslint/max-lines': {
104
+ max?: number;
105
+ skipBlankLines?: boolean;
106
+ skipComments?: boolean;
107
+ };
108
+ 'eslint/max-lines-per-function': {
109
+ max?: number;
110
+ skipComments?: boolean;
111
+ skipBlankLines?: boolean;
112
+ IIFEs?: boolean;
113
+ };
114
+ 'eslint/max-nested-callbacks': {
115
+ max?: number;
116
+ };
117
+ 'eslint/max-params': {
118
+ max?: number;
119
+ countThis?: 'always' | 'never' | 'except-void';
120
+ countVoidThis?: boolean;
121
+ };
122
+ 'eslint/max-statements': {
123
+ max?: number;
124
+ ignoreTopLevelFunctions?: boolean;
125
+ };
126
+ 'eslint/new-cap': {
127
+ newIsCap?: boolean;
128
+ capIsNew?: boolean;
129
+ newIsCapExceptions?: readonly string[];
130
+ newIsCapExceptionPattern?: string;
131
+ capIsNewExceptions?: readonly string[];
132
+ capIsNewExceptionPattern?: string;
133
+ properties?: boolean;
134
+ };
135
+ 'eslint/no-alert': never;
136
+ 'eslint/no-array-constructor': never;
137
+ 'eslint/no-async-promise-executor': never;
138
+ 'eslint/no-await-in-loop': never;
139
+ 'eslint/no-bitwise': {
140
+ allow?: readonly string[];
141
+ int32Hint?: boolean;
142
+ };
143
+ 'eslint/no-caller': never;
144
+ 'eslint/no-case-declarations': never;
145
+ 'eslint/no-class-assign': never;
146
+ 'eslint/no-compare-neg-zero': never;
147
+ 'eslint/no-cond-assign': 'except-parens' | 'always';
148
+ 'eslint/no-console': {
149
+ allow?: readonly string[];
150
+ };
151
+ 'eslint/no-const-assign': never;
152
+ 'eslint/no-constant-binary-expression': never;
153
+ 'eslint/no-constant-condition': {
154
+ checkLoops?: 'all' | 'allExceptWhileTrue' | 'none';
155
+ };
156
+ 'eslint/no-constructor-return': never;
157
+ 'eslint/no-continue': never;
158
+ 'eslint/no-control-regex': never;
159
+ 'eslint/no-debugger': never;
160
+ 'eslint/no-delete-var': never;
161
+ 'eslint/no-div-regex': never;
162
+ 'eslint/no-dupe-class-members': never;
163
+ 'eslint/no-dupe-else-if': never;
164
+ 'eslint/no-dupe-keys': never;
165
+ 'eslint/no-duplicate-case': never;
166
+ 'eslint/no-duplicate-imports': {
167
+ includeExports?: boolean;
168
+ allowSeparateTypeImports?: boolean;
169
+ };
170
+ 'eslint/no-else-return': {
171
+ allowElseIf?: boolean;
172
+ };
173
+ 'eslint/no-empty': {
174
+ allowEmptyCatch?: boolean;
175
+ };
176
+ 'eslint/no-empty-character-class': never;
177
+ 'eslint/no-empty-function': {
178
+ allow?: readonly ('functions' | 'arrowFunctions' | 'generatorFunctions' | 'methods' | 'generatorMethods' | 'getters' | 'setters' | 'constructors' | 'asyncFunctions' | 'asyncMethods' | 'privateConstructors' | 'protectedConstructors' | 'decoratedFunctions' | 'overrideMethods')[];
179
+ };
180
+ 'eslint/no-empty-pattern': {
181
+ allowObjectPatternsAsParameters?: boolean;
182
+ };
183
+ 'eslint/no-empty-static-block': never;
184
+ 'eslint/no-eq-null': never;
185
+ 'eslint/no-eval': {
186
+ allowIndirect?: boolean;
187
+ };
188
+ 'eslint/no-ex-assign': never;
189
+ 'eslint/no-extend-native': {
190
+ exceptions?: readonly string[];
191
+ };
192
+ 'eslint/no-extra-bind': never;
193
+ 'eslint/no-extra-boolean-cast': {
194
+ enforceForInnerExpressions?: boolean;
195
+ };
196
+ 'eslint/no-extra-label': never;
197
+ 'eslint/no-fallthrough': {
198
+ commentPattern?: string;
199
+ allowEmptyCase?: boolean;
200
+ reportUnusedFallthroughComment?: boolean;
201
+ };
202
+ 'eslint/no-func-assign': never;
203
+ 'eslint/no-global-assign': {
204
+ exceptions?: readonly string[];
205
+ };
206
+ 'eslint/no-implicit-coercion': {
207
+ boolean?: boolean;
208
+ number?: boolean;
209
+ string?: boolean;
210
+ disallowTemplateShorthand?: boolean;
211
+ allow?: never;
212
+ };
213
+ 'eslint/no-import-assign': never;
214
+ 'eslint/no-inline-comments': {
215
+ ignorePattern?: string;
216
+ };
217
+ 'eslint/no-inner-declarations': readonly ['Functions' | 'Both', {
218
+ blockScopedFunctions?: 'Allow' | 'Disallow';
219
+ }];
220
+ 'eslint/no-invalid-regexp': {
221
+ allowConstructorFlags?: readonly unknown[];
222
+ };
223
+ 'eslint/no-irregular-whitespace': {
224
+ skipStrings?: boolean;
225
+ skipComments?: boolean;
226
+ skipRegExps?: boolean;
227
+ skipTemplates?: boolean;
228
+ skipJSXText?: boolean;
229
+ };
230
+ 'eslint/no-iterator': never;
231
+ 'eslint/no-label-var': never;
232
+ 'eslint/no-labels': {
233
+ allowLoop?: boolean;
234
+ allowSwitch?: boolean;
235
+ };
236
+ 'eslint/no-lone-blocks': never;
237
+ 'eslint/no-lonely-if': never;
238
+ 'eslint/no-loop-func': never;
239
+ 'eslint/no-loss-of-precision': never;
240
+ 'eslint/no-magic-numbers': {
241
+ ignore?: readonly unknown[];
242
+ ignoreArrayIndexes?: boolean;
243
+ ignoreDefaultValues?: boolean;
244
+ ignoreClassFieldInitialValues?: boolean;
245
+ enforceConst?: boolean;
246
+ detectObjects?: boolean;
247
+ ignoreEnums?: boolean;
248
+ ignoreNumericLiteralTypes?: boolean;
249
+ ignoreReadonlyClassProperties?: boolean;
250
+ ignoreTypeIndexes?: boolean;
251
+ };
252
+ 'eslint/no-misleading-character-class': {
253
+ allowEscape?: boolean;
254
+ };
255
+ 'eslint/no-multi-assign': {
256
+ ignoreNonDeclaration?: boolean;
257
+ };
258
+ 'eslint/no-multi-str': never;
259
+ 'eslint/no-negated-condition': never;
260
+ 'eslint/no-nested-ternary': never;
261
+ 'eslint/no-new': never;
262
+ 'eslint/no-new-func': never;
263
+ 'eslint/no-new-native-nonconstructor': never;
264
+ 'eslint/no-new-wrappers': never;
265
+ 'eslint/no-nonoctal-decimal-escape': never;
266
+ 'eslint/no-obj-calls': never;
267
+ 'eslint/no-object-constructor': never;
268
+ 'eslint/no-param-reassign': {
269
+ props?: boolean;
270
+ ignorePropertyModificationsFor?: unknown;
271
+ ignorePropertyModificationsForRegex?: readonly string[];
272
+ };
273
+ 'eslint/no-plusplus': {
274
+ allowForLoopAfterthoughts?: boolean;
275
+ };
276
+ 'eslint/no-promise-executor-return': {
277
+ allowVoid?: boolean;
278
+ };
279
+ 'eslint/no-proto': never;
280
+ 'eslint/no-prototype-builtins': never;
281
+ 'eslint/no-redeclare': {
282
+ builtinGlobals?: boolean;
283
+ };
284
+ 'eslint/no-regex-spaces': never;
285
+ 'eslint/no-restricted-exports': {
286
+ restrictedNamedExports?: unknown;
287
+ restrictedNamedExportsPattern?: string;
288
+ restrictDefaultExports?: {
289
+ defaultFrom?: boolean;
290
+ direct?: boolean;
291
+ named?: boolean;
292
+ namedFrom?: boolean;
293
+ namespaceFrom?: boolean;
294
+ };
295
+ hasDefaultRestrictedNamedExport?: boolean;
296
+ };
297
+ 'eslint/no-restricted-globals': {
298
+ restrictedGlobals?: unknown;
299
+ };
300
+ 'eslint/no-restricted-imports': unknown;
301
+ 'eslint/no-restricted-properties': readonly {
302
+ object?: string;
303
+ property?: string;
304
+ message?: string;
305
+ allowObjects?: readonly string[];
306
+ allowProperties?: readonly string[];
307
+ }[];
308
+ 'eslint/no-return-assign': 'always' | 'except-parens';
309
+ 'eslint/no-script-url': never;
310
+ 'eslint/no-self-assign': {
311
+ props?: boolean;
312
+ };
313
+ 'eslint/no-self-compare': never;
314
+ 'eslint/no-sequences': {
315
+ allowInParentheses?: boolean;
316
+ };
317
+ 'eslint/no-setter-return': never;
318
+ 'eslint/no-shadow': {
319
+ hoist?: 'all' | 'functions' | 'functions-and-types' | 'never' | 'types';
320
+ allow?: readonly string[];
321
+ ignoreTypeValueShadow?: boolean;
322
+ ignoreFunctionTypeParameterNameValueShadow?: boolean;
323
+ builtinGlobals?: boolean;
324
+ ignoreOnInitialization?: boolean;
325
+ };
326
+ 'eslint/no-shadow-restricted-names': {
327
+ reportGlobalThis?: boolean;
328
+ };
329
+ 'eslint/no-sparse-arrays': never;
330
+ 'eslint/no-template-curly-in-string': never;
331
+ 'eslint/no-ternary': never;
332
+ 'eslint/no-this-before-super': never;
333
+ 'eslint/no-throw-literal': never;
334
+ 'eslint/no-unassigned-vars': never;
335
+ 'eslint/no-undef': {
336
+ typeof?: boolean;
337
+ };
338
+ 'eslint/no-undefined': never;
339
+ 'eslint/no-underscore-dangle': {
340
+ allowAfterSuper?: boolean;
341
+ allowAfterThisConstructor?: boolean;
342
+ allow?: readonly string[];
343
+ allowAfterThis?: boolean;
344
+ allowInArrayDestructuring?: boolean;
345
+ allowInObjectDestructuring?: boolean;
346
+ allowFunctionParams?: boolean;
347
+ enforceInClassFields?: boolean;
348
+ enforceInMethodNames?: boolean;
349
+ };
350
+ 'eslint/no-unexpected-multiline': never;
351
+ 'eslint/no-unmodified-loop-condition': never;
352
+ 'eslint/no-unneeded-ternary': {
353
+ defaultAssignment?: boolean;
354
+ };
355
+ 'eslint/no-unreachable': never;
356
+ 'eslint/no-unsafe-finally': never;
357
+ 'eslint/no-unsafe-negation': {
358
+ enforceForOrderingRelations?: boolean;
359
+ };
360
+ 'eslint/no-unsafe-optional-chaining': {
361
+ disallowArithmeticOperators?: boolean;
362
+ };
363
+ 'eslint/no-unused-expressions': {
364
+ allowShortCircuit?: boolean;
365
+ allowTernary?: boolean;
366
+ allowTaggedTemplates?: boolean;
367
+ enforceForJSX?: boolean;
368
+ };
369
+ 'eslint/no-unused-labels': never;
370
+ 'eslint/no-unused-private-class-members': never;
371
+ 'eslint/no-unused-vars': {
372
+ vars?: 'all' | 'local';
373
+ varsIgnorePattern?: 'Default' | 'None';
374
+ args?: 'after-used' | 'all' | 'none';
375
+ argsIgnorePattern?: 'Default' | 'None';
376
+ ignoreRestSiblings?: boolean;
377
+ caughtErrors?: boolean;
378
+ caughtErrorsIgnorePattern?: 'Default' | 'None';
379
+ destructuredArrayIgnorePattern?: 'Default' | 'None';
380
+ ignoreClassWithStaticInitBlock?: boolean;
381
+ ignoreUsingDeclarations?: boolean;
382
+ reportUsedIgnorePattern?: boolean;
383
+ reportVarsOnlyUsedAsTypes?: boolean;
384
+ fix?: {
385
+ imports?: 'off' | 'suggestion' | 'fix' | 'safe-fix';
386
+ variables?: 'off' | 'suggestion' | 'fix' | 'safe-fix';
387
+ };
388
+ };
389
+ 'eslint/no-use-before-define': {
390
+ allowNamedExports?: boolean;
391
+ classes?: boolean;
392
+ enums?: boolean;
393
+ functions?: boolean;
394
+ ignoreTypeReferences?: boolean;
395
+ typedefs?: boolean;
396
+ variables?: boolean;
397
+ };
398
+ 'eslint/no-useless-assignment': never;
399
+ 'eslint/no-useless-backreference': never;
400
+ 'eslint/no-useless-call': never;
401
+ 'eslint/no-useless-catch': never;
402
+ 'eslint/no-useless-computed-key': {
403
+ enforceForClassMembers?: boolean;
404
+ };
405
+ 'eslint/no-useless-concat': never;
406
+ 'eslint/no-useless-constructor': never;
407
+ 'eslint/no-useless-escape': {
408
+ allowRegexCharacters?: readonly unknown[];
409
+ };
410
+ 'eslint/no-useless-rename': {
411
+ ignoreDestructuring?: boolean;
412
+ ignoreImport?: boolean;
413
+ ignoreExport?: boolean;
414
+ };
415
+ 'eslint/no-useless-return': never;
416
+ 'eslint/no-var': never;
417
+ 'eslint/no-void': {
418
+ allowAsStatement?: boolean;
419
+ };
420
+ 'eslint/no-warning-comments': unknown;
421
+ 'eslint/no-with': never;
422
+ 'eslint/object-shorthand': readonly [('always' | 'methods' | 'properties' | 'consistent' | 'consistent-as-needed' | 'never'), {
423
+ avoidQuotes?: boolean;
424
+ ignoreConstructors?: boolean;
425
+ avoidExplicitReturnArrows?: boolean;
426
+ methodsIgnorePattern?: string;
427
+ }];
428
+ 'eslint/operator-assignment': 'always' | 'never';
429
+ 'eslint/prefer-const': {
430
+ destructuring?: 'any' | 'all';
431
+ ignoreReadBeforeAssign?: boolean;
432
+ };
433
+ 'eslint/prefer-destructuring': {
434
+ VariableDeclarator?: {
435
+ array?: boolean;
436
+ object?: boolean;
437
+ };
438
+ AssignmentExpression?: {
439
+ array?: boolean;
440
+ object?: boolean;
441
+ };
442
+ enforceForRenamedProperties?: boolean;
443
+ };
444
+ 'eslint/prefer-exponentiation-operator': never;
445
+ 'eslint/prefer-numeric-literals': never;
446
+ 'eslint/prefer-object-has-own': never;
447
+ 'eslint/prefer-object-spread': never;
448
+ 'eslint/prefer-promise-reject-errors': {
449
+ allowEmptyReject?: boolean;
450
+ };
451
+ 'eslint/prefer-rest-params': never;
452
+ 'eslint/prefer-spread': never;
453
+ 'eslint/prefer-template': never;
454
+ 'eslint/preserve-caught-error': {
455
+ requireCatchParameter?: boolean;
456
+ };
457
+ 'eslint/radix': 'always' | 'as-needed';
458
+ 'eslint/require-await': never;
459
+ 'eslint/require-unicode-regexp': {
460
+ requireFlag?: 'u' | 'v';
461
+ };
462
+ 'eslint/require-yield': never;
463
+ 'eslint/sort-imports': {
464
+ ignoreCase?: boolean;
465
+ ignoreDeclarationSort?: boolean;
466
+ ignoreMemberSort?: boolean;
467
+ allowSeparatedGroups?: boolean;
468
+ memberSyntaxSortOrder?: readonly ('None' | 'All' | 'Multiple' | 'Single')[];
469
+ };
470
+ 'eslint/sort-keys': readonly ['Desc' | 'Asc', {
471
+ caseSensitive?: boolean;
472
+ natural?: boolean;
473
+ minKeys?: number;
474
+ allowLineSeparatedGroups?: boolean;
475
+ }];
476
+ 'eslint/sort-vars': {
477
+ ignoreCase?: boolean;
478
+ };
479
+ 'eslint/symbol-description': never;
480
+ 'eslint/unicode-bom': 'always' | 'never';
481
+ 'eslint/use-isnan': {
482
+ enforceForSwitchCase?: boolean;
483
+ enforceForIndexOf?: boolean;
484
+ };
485
+ 'eslint/valid-typeof': {
486
+ requireStringLiterals?: boolean;
487
+ };
488
+ 'eslint/vars-on-top': never;
489
+ 'eslint/yoda': readonly ['never' | 'always', {
490
+ exceptRange?: boolean;
491
+ onlyEquality?: boolean;
492
+ }];
493
+ }
494
+ //#endregion
495
+ //#region src/plugins/import.generated.d.ts
496
+ interface ImportRuleOptionsByName {
497
+ 'import/consistent-type-specifier-style': 'prefer-top-level' | 'prefer-inline';
498
+ 'import/default': never;
499
+ 'import/export': never;
500
+ 'import/exports-last': never;
501
+ 'import/extensions': {
502
+ ignorePackages?: boolean;
503
+ requireExtension?: unknown;
504
+ checkTypeImports?: boolean;
505
+ extensions?: unknown;
506
+ pathGroupOverrides?: readonly {
507
+ pattern?: string;
508
+ action?: 'Enforce' | 'Ignore';
509
+ }[];
510
+ };
511
+ 'import/first': 'absolute-first' | 'disable-absolute-first';
512
+ 'import/group-exports': never;
513
+ 'import/max-dependencies': {
514
+ max?: number;
515
+ ignoreTypeImports?: boolean;
516
+ };
517
+ 'import/named': never;
518
+ 'import/namespace': {
519
+ allowComputed?: boolean;
520
+ };
521
+ 'import/no-absolute-path': {
522
+ esmodule?: boolean;
523
+ commonjs?: boolean;
524
+ amd?: boolean;
525
+ };
526
+ 'import/no-amd': never;
527
+ 'import/no-anonymous-default-export': {
528
+ allowArray?: boolean;
529
+ allowArrowFunction?: boolean;
530
+ allowAnonymousClass?: boolean;
531
+ allowAnonymousFunction?: boolean;
532
+ allowCallExpression?: boolean;
533
+ allowNew?: boolean;
534
+ allowLiteral?: boolean;
535
+ allowObject?: boolean;
536
+ };
537
+ 'import/no-commonjs': {
538
+ allowPrimitiveModules?: boolean;
539
+ allowRequire?: boolean;
540
+ allowConditionalRequire?: boolean;
541
+ };
542
+ 'import/no-cycle': {
543
+ maxDepth?: number;
544
+ ignoreTypes?: boolean;
545
+ ignoreExternal?: boolean;
546
+ allowUnsafeDynamicCyclicDependency?: boolean;
547
+ };
548
+ 'import/no-default-export': never;
549
+ 'import/no-duplicates': {
550
+ preferInline?: boolean;
551
+ considerQueryString?: boolean;
552
+ };
553
+ 'import/no-dynamic-require': {
554
+ esmodule?: boolean;
555
+ };
556
+ 'import/no-empty-named-blocks': never;
557
+ 'import/no-mutable-exports': never;
558
+ 'import/no-named-as-default': never;
559
+ 'import/no-named-as-default-member': never;
560
+ 'import/no-named-default': never;
561
+ 'import/no-named-export': never;
562
+ 'import/no-namespace': {
563
+ ignore?: readonly string[];
564
+ };
565
+ 'import/no-nodejs-modules': {
566
+ allow?: unknown;
567
+ };
568
+ 'import/no-relative-parent-imports': never;
569
+ 'import/no-self-import': never;
570
+ 'import/no-unassigned-import': {
571
+ allow?: readonly string[];
572
+ };
573
+ 'import/no-webpack-loader-syntax': never;
574
+ 'import/prefer-default-export': {
575
+ target?: 'single' | 'any';
576
+ };
577
+ 'import/unambiguous': never;
578
+ }
579
+ //#endregion
580
+ //#region src/plugins/jest.generated.d.ts
581
+ interface JestRuleOptionsByName {
582
+ 'jest/consistent-test-it': unknown;
583
+ 'jest/expect-expect': unknown;
584
+ 'jest/max-expects': unknown;
585
+ 'jest/max-nested-describe': unknown;
586
+ 'jest/no-alias-methods': never;
587
+ 'jest/no-commented-out-tests': never;
588
+ 'jest/no-conditional-expect': never;
589
+ 'jest/no-conditional-in-test': never;
590
+ 'jest/no-confusing-set-timeout': never;
591
+ 'jest/no-deprecated-functions': {
592
+ jest?: {
593
+ version?: string;
594
+ };
595
+ };
596
+ 'jest/no-disabled-tests': never;
597
+ 'jest/no-done-callback': never;
598
+ 'jest/no-duplicate-hooks': never;
599
+ 'jest/no-export': never;
600
+ 'jest/no-focused-tests': never;
601
+ 'jest/no-hooks': unknown;
602
+ 'jest/no-identical-title': never;
603
+ 'jest/no-interpolation-in-snapshots': never;
604
+ 'jest/no-jasmine-globals': never;
605
+ 'jest/no-large-snapshots': unknown;
606
+ 'jest/no-mocks-import': never;
607
+ 'jest/no-restricted-jest-methods': unknown;
608
+ 'jest/no-restricted-matchers': unknown;
609
+ 'jest/no-standalone-expect': unknown;
610
+ 'jest/no-test-prefixes': never;
611
+ 'jest/no-test-return-statement': never;
612
+ 'jest/no-unneeded-async-expect-function': never;
613
+ 'jest/no-untyped-mock-factory': never;
614
+ 'jest/padding-around-after-all-blocks': never;
615
+ 'jest/padding-around-test-blocks': never;
616
+ 'jest/prefer-called-with': never;
617
+ 'jest/prefer-comparison-matcher': never;
618
+ 'jest/prefer-each': never;
619
+ 'jest/prefer-ending-with-an-expect': {
620
+ additionalTestBlockFunctions?: readonly string[];
621
+ assertFunctionNames?: readonly string[];
622
+ };
623
+ 'jest/prefer-equality-matcher': never;
624
+ 'jest/prefer-expect-assertions': unknown;
625
+ 'jest/prefer-expect-resolves': never;
626
+ 'jest/prefer-hooks-in-order': never;
627
+ 'jest/prefer-hooks-on-top': never;
628
+ 'jest/prefer-importing-jest-globals': {
629
+ types?: readonly ('hook' | 'describe' | 'test' | 'expect' | 'jest' | 'unknown')[];
630
+ };
631
+ 'jest/prefer-jest-mocked': never;
632
+ 'jest/prefer-lowercase-title': unknown;
633
+ 'jest/prefer-mock-promise-shorthand': never;
634
+ 'jest/prefer-mock-return-shorthand': never;
635
+ 'jest/prefer-snapshot-hint': unknown;
636
+ 'jest/prefer-spy-on': never;
637
+ 'jest/prefer-strict-equal': never;
638
+ 'jest/prefer-to-be': never;
639
+ 'jest/prefer-to-contain': never;
640
+ 'jest/prefer-to-have-been-called': never;
641
+ 'jest/prefer-to-have-been-called-times': never;
642
+ 'jest/prefer-to-have-length': never;
643
+ 'jest/prefer-todo': never;
644
+ 'jest/require-hook': unknown;
645
+ 'jest/require-to-throw-message': never;
646
+ 'jest/require-top-level-describe': unknown;
647
+ 'jest/valid-describe-callback': never;
648
+ 'jest/valid-expect': unknown;
649
+ 'jest/valid-expect-in-promise': never;
650
+ 'jest/valid-title': unknown;
651
+ }
652
+ //#endregion
653
+ //#region src/plugins/jsdoc.generated.d.ts
654
+ interface JsdocRuleOptionsByName {
655
+ 'jsdoc/check-access': never;
656
+ 'jsdoc/check-property-names': never;
657
+ 'jsdoc/check-tag-names': {
658
+ definedTags?: readonly string[];
659
+ jsxTags?: boolean;
660
+ typed?: boolean;
661
+ };
662
+ 'jsdoc/empty-tags': {
663
+ tags?: readonly string[];
664
+ };
665
+ 'jsdoc/implements-on-classes': never;
666
+ 'jsdoc/no-defaults': {
667
+ noOptionalParamNames?: boolean;
668
+ };
669
+ 'jsdoc/require-param': {
670
+ exemptedBy?: readonly string[];
671
+ checkConstructors?: boolean;
672
+ checkGetters?: boolean;
673
+ checkSetters?: boolean;
674
+ checkDestructuredRoots?: boolean;
675
+ checkDestructured?: boolean;
676
+ checkRestProperty?: boolean;
677
+ checkTypesPattern?: string;
678
+ };
679
+ 'jsdoc/require-param-description': never;
680
+ 'jsdoc/require-param-name': never;
681
+ 'jsdoc/require-param-type': never;
682
+ 'jsdoc/require-property': never;
683
+ 'jsdoc/require-property-description': never;
684
+ 'jsdoc/require-property-name': never;
685
+ 'jsdoc/require-property-type': never;
686
+ 'jsdoc/require-returns': {
687
+ exemptedBy?: readonly string[];
688
+ checkConstructors?: boolean;
689
+ checkGetters?: boolean;
690
+ forceRequireReturn?: boolean;
691
+ forceReturnsWithAsync?: boolean;
692
+ };
693
+ 'jsdoc/require-returns-description': never;
694
+ 'jsdoc/require-returns-type': never;
695
+ 'jsdoc/require-yields': {
696
+ exemptedBy?: readonly string[];
697
+ forceRequireYields?: boolean;
698
+ withGeneratorTag?: boolean;
699
+ };
700
+ }
701
+ //#endregion
702
+ //#region src/plugins/jsx-a11y.generated.d.ts
703
+ interface JsxA11yRuleOptionsByName {
704
+ 'jsx-a11y/alt-text': {
705
+ img?: readonly string[];
706
+ object?: readonly string[];
707
+ area?: readonly string[];
708
+ 'input[type="image"]'?: readonly string[];
709
+ };
710
+ 'jsx-a11y/anchor-ambiguous-text': {
711
+ words?: readonly string[];
712
+ };
713
+ 'jsx-a11y/anchor-has-content': never;
714
+ 'jsx-a11y/anchor-is-valid': {
715
+ validHrefs?: readonly string[];
716
+ };
717
+ 'jsx-a11y/aria-activedescendant-has-tabindex': never;
718
+ 'jsx-a11y/aria-props': never;
719
+ 'jsx-a11y/aria-proptypes': never;
720
+ 'jsx-a11y/aria-role': {
721
+ ignoreNonDOM?: boolean;
722
+ allowedInvalidRoles?: readonly string[];
723
+ };
724
+ 'jsx-a11y/aria-unsupported-elements': never;
725
+ 'jsx-a11y/autocomplete-valid': {
726
+ inputComponents?: unknown;
727
+ };
728
+ 'jsx-a11y/click-events-have-key-events': never;
729
+ 'jsx-a11y/heading-has-content': {
730
+ components?: readonly string[];
731
+ };
732
+ 'jsx-a11y/html-has-lang': never;
733
+ 'jsx-a11y/iframe-has-title': never;
734
+ 'jsx-a11y/img-redundant-alt': {
735
+ components?: readonly string[];
736
+ words?: unknown;
737
+ };
738
+ 'jsx-a11y/interactive-supports-focus': {
739
+ tabbable?: readonly string[];
740
+ };
741
+ 'jsx-a11y/label-has-associated-control': {
742
+ depth?: number;
743
+ assert?: 'htmlFor' | 'nesting' | 'both' | 'either';
744
+ labelComponents?: readonly string[];
745
+ labelAttributes?: readonly string[];
746
+ controlComponents?: readonly string[];
747
+ };
748
+ 'jsx-a11y/lang': never;
749
+ 'jsx-a11y/media-has-caption': {
750
+ audio?: readonly string[];
751
+ track?: unknown;
752
+ };
753
+ 'jsx-a11y/mouse-events-have-key-events': {
754
+ hoverInHandlers?: readonly string[];
755
+ hoverOutHandlers?: readonly string[];
756
+ };
757
+ 'jsx-a11y/no-access-key': never;
758
+ 'jsx-a11y/no-aria-hidden-on-focusable': never;
759
+ 'jsx-a11y/no-autofocus': {
760
+ ignoreNonDOM?: boolean;
761
+ };
762
+ 'jsx-a11y/no-distracting-elements': {
763
+ elements?: readonly ('Marquee' | 'Blink')[];
764
+ };
765
+ 'jsx-a11y/no-noninteractive-tabindex': {
766
+ tags?: readonly string[];
767
+ roles?: readonly string[];
768
+ allowExpressionValues?: boolean;
769
+ };
770
+ 'jsx-a11y/no-redundant-roles': never;
771
+ 'jsx-a11y/no-static-element-interactions': {
772
+ handlers?: readonly string[];
773
+ allowExpressionValues?: boolean;
774
+ };
775
+ 'jsx-a11y/prefer-tag-over-role': never;
776
+ 'jsx-a11y/role-has-required-aria-props': never;
777
+ 'jsx-a11y/role-supports-aria-props': never;
778
+ 'jsx-a11y/scope': never;
779
+ 'jsx-a11y/tabindex-no-positive': never;
780
+ }
781
+ //#endregion
782
+ //#region src/plugins/nextjs.generated.d.ts
783
+ interface NextjsRuleOptionsByName {
784
+ 'nextjs/google-font-display': never;
785
+ 'nextjs/google-font-preconnect': never;
786
+ 'nextjs/inline-script-id': never;
787
+ 'nextjs/next-script-for-ga': never;
788
+ 'nextjs/no-assign-module-variable': never;
789
+ 'nextjs/no-async-client-component': never;
790
+ 'nextjs/no-before-interactive-script-outside-document': never;
791
+ 'nextjs/no-css-tags': never;
792
+ 'nextjs/no-document-import-in-page': never;
793
+ 'nextjs/no-duplicate-head': never;
794
+ 'nextjs/no-head-element': never;
795
+ 'nextjs/no-head-import-in-document': never;
796
+ 'nextjs/no-html-link-for-pages': never;
797
+ 'nextjs/no-img-element': never;
798
+ 'nextjs/no-page-custom-font': never;
799
+ 'nextjs/no-script-component-in-head': never;
800
+ 'nextjs/no-styled-jsx-in-document': never;
801
+ 'nextjs/no-sync-scripts': never;
802
+ 'nextjs/no-title-in-document-head': never;
803
+ 'nextjs/no-typos': never;
804
+ 'nextjs/no-unwanted-polyfillio': never;
805
+ }
806
+ //#endregion
807
+ //#region src/plugins/node.generated.d.ts
808
+ interface NodeRuleOptionsByName {
809
+ 'node/global-require': never;
810
+ 'node/handle-callback-err': string;
811
+ 'node/no-exports-assign': never;
812
+ 'node/no-new-require': never;
813
+ 'node/no-path-concat': never;
814
+ 'node/no-process-env': {
815
+ allowedVariables?: unknown;
816
+ };
817
+ }
818
+ //#endregion
819
+ //#region src/plugins/oxc.generated.d.ts
820
+ interface OxcRuleOptionsByName {
821
+ 'oxc/approx-constant': never;
822
+ 'oxc/bad-array-method-on-arguments': never;
823
+ 'oxc/bad-bitwise-operator': never;
824
+ 'oxc/bad-char-at-comparison': never;
825
+ 'oxc/bad-comparison-sequence': never;
826
+ 'oxc/bad-min-max-func': never;
827
+ 'oxc/bad-object-literal-comparison': never;
828
+ 'oxc/bad-replace-all-arg': never;
829
+ 'oxc/branches-sharing-code': never;
830
+ 'oxc/const-comparisons': never;
831
+ 'oxc/double-comparisons': never;
832
+ 'oxc/erasing-op': never;
833
+ 'oxc/misrefactored-assign-op': never;
834
+ 'oxc/missing-throw': never;
835
+ 'oxc/no-accumulating-spread': never;
836
+ 'oxc/no-async-await': never;
837
+ 'oxc/no-async-endpoint-handlers': {
838
+ allowedNames?: readonly string[];
839
+ };
840
+ 'oxc/no-barrel-file': {
841
+ threshold?: number;
842
+ };
843
+ 'oxc/no-const-enum': never;
844
+ 'oxc/no-map-spread': {
845
+ ignoreRereads?: boolean;
846
+ ignoreArgs?: boolean;
847
+ };
848
+ 'oxc/no-optional-chaining': {
849
+ message?: string;
850
+ };
851
+ 'oxc/no-rest-spread-properties': {
852
+ objectSpreadMessage?: string;
853
+ objectRestMessage?: string;
854
+ };
855
+ 'oxc/no-this-in-exported-function': never;
856
+ 'oxc/number-arg-out-of-range': never;
857
+ 'oxc/only-used-in-recursion': never;
858
+ 'oxc/uninvoked-array-callback': never;
859
+ }
860
+ //#endregion
861
+ //#region src/plugins/promise.generated.d.ts
862
+ interface PromiseRuleOptionsByName {
863
+ 'promise/always-return': {
864
+ ignoreLastCallback?: boolean;
865
+ ignoreAssignmentVariable?: unknown;
866
+ };
867
+ 'promise/avoid-new': never;
868
+ 'promise/catch-or-return': {
869
+ allowFinally?: boolean;
870
+ allowThen?: boolean;
871
+ terminationMethod?: readonly string[];
872
+ };
873
+ 'promise/no-callback-in-promise': {
874
+ callbacks?: readonly string[];
875
+ exceptions?: readonly string[];
876
+ timeoutsErr?: boolean;
877
+ };
878
+ 'promise/no-multiple-resolved': never;
879
+ 'promise/no-nesting': never;
880
+ 'promise/no-new-statics': never;
881
+ 'promise/no-promise-in-callback': never;
882
+ 'promise/no-return-in-finally': never;
883
+ 'promise/no-return-wrap': {
884
+ allowReject?: boolean;
885
+ };
886
+ 'promise/param-names': {
887
+ resolvePattern?: string;
888
+ rejectPattern?: string;
889
+ };
890
+ 'promise/prefer-await-to-callbacks': never;
891
+ 'promise/prefer-await-to-then': {
892
+ strict?: boolean;
893
+ };
894
+ 'promise/prefer-catch': never;
895
+ 'promise/spec-only': {
896
+ allowedMethods?: unknown;
897
+ };
898
+ 'promise/valid-params': never;
899
+ }
900
+ //#endregion
901
+ //#region src/plugins/react-perf.generated.d.ts
902
+ interface ReactPerfRuleOptionsByName {
903
+ 'react-perf/jsx-no-jsx-as-prop': never;
904
+ 'react-perf/jsx-no-new-array-as-prop': never;
905
+ 'react-perf/jsx-no-new-function-as-prop': never;
906
+ 'react-perf/jsx-no-new-object-as-prop': never;
907
+ }
908
+ //#endregion
909
+ //#region src/plugins/react.generated.d.ts
910
+ interface ReactRuleOptionsByName {
911
+ 'react/button-has-type': {
912
+ button?: boolean;
913
+ submit?: boolean;
914
+ reset?: boolean;
915
+ };
916
+ 'react/checked-requires-onchange-or-readonly': {
917
+ ignoreMissingProperties?: boolean;
918
+ ignoreExclusiveCheckedAttribute?: boolean;
919
+ };
920
+ 'react/display-name': {
921
+ ignoreTranspilerName?: boolean;
922
+ checkContextObjects?: boolean;
923
+ };
924
+ 'react/exhaustive-deps': {
925
+ additionalHooks?: string;
926
+ };
927
+ 'react/forbid-component-props': {
928
+ forbid?: readonly unknown[];
929
+ };
930
+ 'react/forbid-dom-props': {
931
+ forbid?: readonly unknown[];
932
+ };
933
+ 'react/forbid-elements': {
934
+ forbid?: readonly unknown[];
935
+ };
936
+ 'react/forward-ref-uses-ref': never;
937
+ 'react/hook-use-state': {
938
+ allowDestructuredState?: boolean;
939
+ };
940
+ 'react/iframe-missing-sandbox': never;
941
+ 'react/jsx-boolean-value': readonly ['always' | 'never', {
942
+ always?: unknown;
943
+ never?: unknown;
944
+ assumeUndefinedIsFalse?: boolean;
945
+ }];
946
+ 'react/jsx-curly-brace-presence': {
947
+ props?: 'always' | 'never' | 'ignore';
948
+ children?: 'always' | 'never' | 'ignore';
949
+ propElementValues?: 'always' | 'never' | 'ignore';
950
+ };
951
+ 'react/jsx-filename-extension': {
952
+ allow?: 'always' | 'as-needed';
953
+ extensions?: readonly string[];
954
+ ignoreFilesWithoutCode?: boolean;
955
+ };
956
+ 'react/jsx-fragments': 'syntax' | 'element';
957
+ 'react/jsx-handler-names': {
958
+ checkInlineFunctions?: boolean;
959
+ checkLocalVariables?: boolean;
960
+ eventHandlerPropPrefixes?: string;
961
+ eventHandlerPrefixes?: string;
962
+ ignoreComponentNames?: readonly string[];
963
+ eventHandlerRegex?: string;
964
+ eventHandlerPropRegex?: string;
965
+ };
966
+ 'react/jsx-key': {
967
+ checkKeyMustBeforeSpread?: boolean;
968
+ warnOnDuplicates?: boolean;
969
+ checkFragmentShorthand?: boolean;
970
+ };
971
+ 'react/jsx-max-depth': {
972
+ max?: number;
973
+ };
974
+ 'react/jsx-no-comment-textnodes': never;
975
+ 'react/jsx-no-constructed-context-values': never;
976
+ 'react/jsx-no-duplicate-props': never;
977
+ 'react/jsx-no-script-url': {
978
+ includeFromSettings?: boolean;
979
+ components?: unknown;
980
+ };
981
+ 'react/jsx-no-target-blank': {
982
+ enforceDynamicLinks?: 'always' | 'never';
983
+ warnOnSpreadAttributes?: boolean;
984
+ allowReferrer?: boolean;
985
+ links?: boolean;
986
+ forms?: boolean;
987
+ };
988
+ 'react/jsx-no-undef': never;
989
+ 'react/jsx-no-useless-fragment': {
990
+ allowExpressions?: boolean;
991
+ };
992
+ 'react/jsx-pascal-case': {
993
+ allowAllCaps?: boolean;
994
+ allowNamespace?: boolean;
995
+ allowLeadingUnderscore?: boolean;
996
+ ignore?: readonly string[];
997
+ };
998
+ 'react/jsx-props-no-spread-multi': never;
999
+ 'react/jsx-props-no-spreading': {
1000
+ html?: 'ignore' | 'enforce';
1001
+ custom?: 'ignore' | 'enforce';
1002
+ explicitSpread?: 'ignore' | 'enforce';
1003
+ exceptions?: readonly string[];
1004
+ };
1005
+ 'react/no-array-index-key': never;
1006
+ 'react/no-children-prop': never;
1007
+ 'react/no-clone-element': never;
1008
+ 'react/no-danger': never;
1009
+ 'react/no-danger-with-children': never;
1010
+ 'react/no-did-mount-set-state': 'allowed' | 'disallow-in-func';
1011
+ 'react/no-did-update-set-state': 'allowed' | 'disallow-in-func';
1012
+ 'react/no-direct-mutation-state': never;
1013
+ 'react/no-find-dom-node': never;
1014
+ 'react/no-is-mounted': never;
1015
+ 'react/no-multi-comp': {
1016
+ ignoreStateless?: boolean;
1017
+ };
1018
+ 'react/no-namespace': never;
1019
+ 'react/no-react-children': never;
1020
+ 'react/no-redundant-should-component-update': never;
1021
+ 'react/no-render-return-value': never;
1022
+ 'react/no-set-state': never;
1023
+ 'react/no-string-refs': {
1024
+ noTemplateLiterals?: boolean;
1025
+ };
1026
+ 'react/no-this-in-sfc': never;
1027
+ 'react/no-unescaped-entities': never;
1028
+ 'react/no-unknown-property': {
1029
+ ignore?: unknown;
1030
+ };
1031
+ 'react/no-unsafe': {
1032
+ checkAliases?: boolean;
1033
+ };
1034
+ 'react/no-will-update-set-state': 'allowed' | 'disallow-in-func';
1035
+ 'react/only-export-components': {
1036
+ allowExportNames?: unknown;
1037
+ allowConstantExport?: boolean;
1038
+ customHOCs?: readonly string[];
1039
+ checkJS?: boolean;
1040
+ };
1041
+ 'react/prefer-es6-class': 'always' | 'never';
1042
+ 'react/prefer-function-component': {
1043
+ allowErrorBoundary?: boolean;
1044
+ allowJsxUtilityClass?: boolean;
1045
+ };
1046
+ 'react/react-in-jsx-scope': never;
1047
+ 'react/require-render-return': never;
1048
+ 'react/rules-of-hooks': never;
1049
+ 'react/self-closing-comp': {
1050
+ component?: boolean;
1051
+ html?: boolean;
1052
+ };
1053
+ 'react/state-in-constructor': 'always' | 'never';
1054
+ 'react/style-prop-object': {
1055
+ allow?: readonly string[];
1056
+ };
1057
+ 'react/void-dom-elements-no-children': never;
1058
+ }
1059
+ //#endregion
1060
+ //#region src/plugins/typescript.generated.d.ts
1061
+ interface TypescriptRuleOptionsByName {
1062
+ 'typescript/adjacent-overload-signatures': never;
1063
+ 'typescript/array-type': {
1064
+ default?: 'array' | 'array-simple' | 'generic';
1065
+ readonly?: 'array' | 'array-simple' | 'generic';
1066
+ };
1067
+ 'typescript/await-thenable': never;
1068
+ 'typescript/ban-ts-comment': {
1069
+ ts_expect_error?: 'allow-with-description';
1070
+ ts_ignore?: 'allow-with-description';
1071
+ ts_nocheck?: 'allow-with-description';
1072
+ ts_check?: 'allow-with-description';
1073
+ minimumDescriptionLength?: number;
1074
+ };
1075
+ 'typescript/ban-tslint-comment': never;
1076
+ 'typescript/ban-types': never;
1077
+ 'typescript/class-literal-property-style': 'Fields' | 'Getters';
1078
+ 'typescript/consistent-generic-constructors': {
1079
+ option?: 'constructor' | 'type-annotation';
1080
+ };
1081
+ 'typescript/consistent-indexed-object-style': 'record' | 'index-signature';
1082
+ 'typescript/consistent-return': {
1083
+ treatUndefinedAsUnspecified?: boolean;
1084
+ };
1085
+ 'typescript/consistent-type-assertions': {
1086
+ assertionStyle?: 'as' | 'angle-bracket' | 'never';
1087
+ objectLiteralTypeAssertions?: 'allow' | 'allow-as-parameter' | 'never';
1088
+ arrayLiteralTypeAssertions?: 'allow' | 'allow-as-parameter' | 'never';
1089
+ };
1090
+ 'typescript/consistent-type-definitions': 'interface' | 'type';
1091
+ 'typescript/consistent-type-exports': {
1092
+ fixMixedExportsWithInlineTypeSpecifier?: boolean;
1093
+ };
1094
+ 'typescript/consistent-type-imports': {
1095
+ disallowTypeAnnotations?: boolean;
1096
+ fixStyle?: 'separate-type-imports' | 'inline-type-imports';
1097
+ prefer?: 'type-imports' | 'no-type-imports';
1098
+ };
1099
+ 'typescript/dot-notation': {
1100
+ allowIndexSignaturePropertyAccess?: boolean;
1101
+ allowKeywords?: boolean;
1102
+ allowPattern?: string;
1103
+ allowPrivateClassPropertyAccess?: boolean;
1104
+ allowProtectedClassPropertyAccess?: boolean;
1105
+ };
1106
+ 'typescript/explicit-function-return-type': {
1107
+ allowExpressions?: boolean;
1108
+ allowTypedFunctionExpressions?: boolean;
1109
+ allowDirectConstAssertionInArrowFunctions?: boolean;
1110
+ allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean;
1111
+ allowFunctionsWithoutTypeParameters?: boolean;
1112
+ allowedNames?: unknown;
1113
+ allowHigherOrderFunctions?: boolean;
1114
+ allowIIFEs?: boolean;
1115
+ };
1116
+ 'typescript/explicit-member-accessibility': {
1117
+ accessibility?: 'explicit' | 'no-public' | 'off';
1118
+ overrides?: {
1119
+ accessors?: 'explicit' | 'no-public' | 'off';
1120
+ constructors?: 'explicit' | 'no-public' | 'off';
1121
+ methods?: 'explicit' | 'no-public' | 'off';
1122
+ parameterProperties?: 'explicit' | 'no-public' | 'off';
1123
+ properties?: 'explicit' | 'no-public' | 'off';
1124
+ };
1125
+ ignoredMethodNames?: readonly string[];
1126
+ };
1127
+ 'typescript/explicit-module-boundary-types': {
1128
+ allowArgumentsExplicitlyTypedAsAny?: boolean;
1129
+ allowDirectConstAssertionInArrowFunctions?: boolean;
1130
+ allowedNames?: readonly string[];
1131
+ allowHigherOrderFunctions?: boolean;
1132
+ allowOverloadFunctions?: boolean;
1133
+ allowTypedFunctionExpressions?: boolean;
1134
+ };
1135
+ 'typescript/no-array-delete': never;
1136
+ 'typescript/no-base-to-string': {
1137
+ checkUnknown?: boolean;
1138
+ ignoredTypeNames?: readonly string[];
1139
+ };
1140
+ 'typescript/no-confusing-non-null-assertion': never;
1141
+ 'typescript/no-confusing-void-expression': {
1142
+ ignoreArrowShorthand?: boolean;
1143
+ ignoreVoidOperator?: boolean;
1144
+ ignoreVoidReturningFunctions?: boolean;
1145
+ };
1146
+ 'typescript/no-deprecated': {
1147
+ allow?: readonly unknown[];
1148
+ };
1149
+ 'typescript/no-duplicate-enum-values': never;
1150
+ 'typescript/no-duplicate-type-constituents': {
1151
+ ignoreIntersections?: boolean;
1152
+ ignoreUnions?: boolean;
1153
+ };
1154
+ 'typescript/no-dynamic-delete': never;
1155
+ 'typescript/no-empty-interface': never;
1156
+ 'typescript/no-empty-object-type': {
1157
+ allowInterfaces?: 'never' | 'always' | 'with-single-extends';
1158
+ allowObjectTypes?: 'never' | 'always';
1159
+ allowWithName?: string;
1160
+ };
1161
+ 'typescript/no-explicit-any': {
1162
+ fixToUnknown?: boolean;
1163
+ ignoreRestArgs?: boolean;
1164
+ };
1165
+ 'typescript/no-extra-non-null-assertion': never;
1166
+ 'typescript/no-extraneous-class': {
1167
+ allowConstructorOnly?: boolean;
1168
+ allowEmpty?: boolean;
1169
+ allowStaticOnly?: boolean;
1170
+ allowWithDecorator?: boolean;
1171
+ };
1172
+ 'typescript/no-floating-promises': {
1173
+ allowForKnownSafeCalls?: readonly unknown[];
1174
+ allowForKnownSafePromises?: readonly unknown[];
1175
+ checkThenables?: boolean;
1176
+ ignoreIIFE?: boolean;
1177
+ ignoreVoid?: boolean;
1178
+ };
1179
+ 'typescript/no-for-in-array': never;
1180
+ 'typescript/no-implied-eval': never;
1181
+ 'typescript/no-import-type-side-effects': never;
1182
+ 'typescript/no-inferrable-types': {
1183
+ ignoreParameters?: boolean;
1184
+ ignoreProperties?: boolean;
1185
+ };
1186
+ 'typescript/no-invalid-void-type': {
1187
+ allowAsThisParameter?: boolean;
1188
+ allowInGenericTypeArguments?: unknown;
1189
+ };
1190
+ 'typescript/no-meaningless-void-operator': {
1191
+ checkNever?: boolean;
1192
+ };
1193
+ 'typescript/no-misused-new': never;
1194
+ 'typescript/no-misused-promises': {
1195
+ checksConditionals?: boolean;
1196
+ checksSpreads?: boolean;
1197
+ checksVoidReturn?: unknown;
1198
+ };
1199
+ 'typescript/no-misused-spread': {
1200
+ allow?: readonly unknown[];
1201
+ };
1202
+ 'typescript/no-mixed-enums': never;
1203
+ 'typescript/no-namespace': {
1204
+ allowDeclarations?: boolean;
1205
+ allowDefinitionFiles?: boolean;
1206
+ };
1207
+ 'typescript/no-non-null-asserted-nullish-coalescing': never;
1208
+ 'typescript/no-non-null-asserted-optional-chain': never;
1209
+ 'typescript/no-non-null-assertion': never;
1210
+ 'typescript/no-redundant-type-constituents': never;
1211
+ 'typescript/no-require-imports': {
1212
+ allow?: readonly string[];
1213
+ allowAsImport?: boolean;
1214
+ };
1215
+ 'typescript/no-restricted-types': {
1216
+ types?: unknown;
1217
+ };
1218
+ 'typescript/no-this-alias': {
1219
+ allowDestructuring?: boolean;
1220
+ };
1221
+ 'typescript/no-unnecessary-boolean-literal-compare': {
1222
+ allowComparingNullableBooleansToFalse?: boolean;
1223
+ allowComparingNullableBooleansToTrue?: boolean;
1224
+ };
1225
+ 'typescript/no-unnecessary-condition': {
1226
+ allowConstantLoopConditions?: unknown;
1227
+ checkTypePredicates?: boolean;
1228
+ };
1229
+ 'typescript/no-unnecessary-parameter-property-assignment': never;
1230
+ 'typescript/no-unnecessary-qualifier': never;
1231
+ 'typescript/no-unnecessary-template-expression': never;
1232
+ 'typescript/no-unnecessary-type-arguments': never;
1233
+ 'typescript/no-unnecessary-type-assertion': {
1234
+ checkLiteralConstAssertions?: boolean;
1235
+ typesToIgnore?: readonly string[];
1236
+ };
1237
+ 'typescript/no-unnecessary-type-constraint': never;
1238
+ 'typescript/no-unnecessary-type-conversion': never;
1239
+ 'typescript/no-unnecessary-type-parameters': never;
1240
+ 'typescript/no-unsafe-argument': never;
1241
+ 'typescript/no-unsafe-assignment': never;
1242
+ 'typescript/no-unsafe-call': never;
1243
+ 'typescript/no-unsafe-declaration-merging': never;
1244
+ 'typescript/no-unsafe-enum-comparison': never;
1245
+ 'typescript/no-unsafe-function-type': never;
1246
+ 'typescript/no-unsafe-member-access': {
1247
+ allowOptionalChaining?: boolean;
1248
+ };
1249
+ 'typescript/no-unsafe-return': never;
1250
+ 'typescript/no-unsafe-type-assertion': never;
1251
+ 'typescript/no-unsafe-unary-minus': never;
1252
+ 'typescript/no-useless-default-assignment': never;
1253
+ 'typescript/no-useless-empty-export': never;
1254
+ 'typescript/no-var-requires': never;
1255
+ 'typescript/no-wrapper-object-types': never;
1256
+ 'typescript/non-nullable-type-assertion-style': never;
1257
+ 'typescript/only-throw-error': {
1258
+ allow?: readonly unknown[];
1259
+ allowRethrowing?: boolean;
1260
+ allowThrowingAny?: boolean;
1261
+ allowThrowingUnknown?: boolean;
1262
+ };
1263
+ 'typescript/parameter-properties': {
1264
+ allow?: readonly ('private' | 'private readonly' | 'protected' | 'protected readonly' | 'public' | 'public readonly' | 'readonly')[];
1265
+ prefer?: 'class-property' | 'parameter-property';
1266
+ };
1267
+ 'typescript/prefer-as-const': never;
1268
+ 'typescript/prefer-enum-initializers': never;
1269
+ 'typescript/prefer-find': never;
1270
+ 'typescript/prefer-for-of': never;
1271
+ 'typescript/prefer-function-type': never;
1272
+ 'typescript/prefer-includes': never;
1273
+ 'typescript/prefer-literal-enum-member': {
1274
+ allowBitwiseExpressions?: boolean;
1275
+ };
1276
+ 'typescript/prefer-namespace-keyword': never;
1277
+ 'typescript/prefer-nullish-coalescing': {
1278
+ ignoreBooleanCoercion?: boolean;
1279
+ ignoreConditionalTests?: boolean;
1280
+ ignoreIfStatements?: boolean;
1281
+ ignoreMixedLogicalExpressions?: boolean;
1282
+ ignoreTernaryTests?: boolean;
1283
+ ignorePrimitives?: unknown;
1284
+ };
1285
+ 'typescript/prefer-optional-chain': {
1286
+ allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean;
1287
+ checkAny?: boolean;
1288
+ checkBigInt?: boolean;
1289
+ checkBoolean?: boolean;
1290
+ checkNumber?: boolean;
1291
+ checkString?: boolean;
1292
+ checkUnknown?: boolean;
1293
+ requireNullish?: boolean;
1294
+ };
1295
+ 'typescript/prefer-promise-reject-errors': {
1296
+ allow?: readonly unknown[];
1297
+ allowEmptyReject?: boolean;
1298
+ allowThrowingAny?: boolean;
1299
+ allowThrowingUnknown?: boolean;
1300
+ };
1301
+ 'typescript/prefer-readonly': {
1302
+ onlyInlineLambdas?: boolean;
1303
+ };
1304
+ 'typescript/prefer-readonly-parameter-types': {
1305
+ allow?: readonly unknown[];
1306
+ checkParameterProperties?: boolean;
1307
+ ignoreInferredTypes?: boolean;
1308
+ treatMethodsAsReadonly?: boolean;
1309
+ };
1310
+ 'typescript/prefer-reduce-type-parameter': never;
1311
+ 'typescript/prefer-regexp-exec': never;
1312
+ 'typescript/prefer-return-this-type': never;
1313
+ 'typescript/prefer-string-starts-ends-with': {
1314
+ allowSingleElementEquality?: 'always' | 'never';
1315
+ };
1316
+ 'typescript/prefer-ts-expect-error': never;
1317
+ 'typescript/promise-function-async': {
1318
+ allowAny?: boolean;
1319
+ allowedPromiseNames?: readonly string[];
1320
+ checkArrowFunctions?: boolean;
1321
+ checkFunctionDeclarations?: boolean;
1322
+ checkFunctionExpressions?: boolean;
1323
+ checkMethodDeclarations?: boolean;
1324
+ };
1325
+ 'typescript/related-getter-setter-pairs': never;
1326
+ 'typescript/require-array-sort-compare': {
1327
+ ignoreStringArrays?: boolean;
1328
+ };
1329
+ 'typescript/require-await': never;
1330
+ 'typescript/restrict-plus-operands': {
1331
+ allowAny?: boolean;
1332
+ allowBoolean?: boolean;
1333
+ allowNullish?: boolean;
1334
+ allowNumberAndString?: boolean;
1335
+ allowRegExp?: boolean;
1336
+ skipCompoundAssignments?: boolean;
1337
+ };
1338
+ 'typescript/restrict-template-expressions': {
1339
+ allowAny?: boolean;
1340
+ allowArray?: boolean;
1341
+ allowBoolean?: boolean;
1342
+ allowNullish?: boolean;
1343
+ allowNumber?: boolean;
1344
+ allowRegExp?: boolean;
1345
+ allowNever?: boolean;
1346
+ allow?: readonly unknown[];
1347
+ };
1348
+ 'typescript/return-await': 'in-try-catch' | 'always' | 'error-handling-correctness-only' | 'never';
1349
+ 'typescript/strict-boolean-expressions': {
1350
+ allowAny?: boolean;
1351
+ allowNullableBoolean?: boolean;
1352
+ allowNullableNumber?: boolean;
1353
+ allowNullableString?: boolean;
1354
+ allowNullableEnum?: boolean;
1355
+ allowNullableObject?: boolean;
1356
+ allowString?: boolean;
1357
+ allowNumber?: boolean;
1358
+ };
1359
+ 'typescript/strict-void-return': {
1360
+ allowReturnAny?: boolean;
1361
+ };
1362
+ 'typescript/switch-exhaustiveness-check': {
1363
+ allowDefaultCaseForExhaustiveSwitch?: boolean;
1364
+ considerDefaultExhaustiveForUnions?: boolean;
1365
+ defaultCaseCommentPattern?: string;
1366
+ requireDefaultForNonUnion?: boolean;
1367
+ };
1368
+ 'typescript/triple-slash-reference': {
1369
+ lib?: 'always' | 'never';
1370
+ path?: 'always' | 'never';
1371
+ types?: 'always' | 'never' | 'prefer-import';
1372
+ };
1373
+ 'typescript/unbound-method': {
1374
+ ignoreStatic?: boolean;
1375
+ };
1376
+ 'typescript/unified-signatures': {
1377
+ ignoreDifferentlyNamedParameters?: boolean;
1378
+ ignoreOverloadsWithDifferentJSDoc?: boolean;
1379
+ };
1380
+ 'typescript/use-unknown-in-catch-callback-variable': never;
1381
+ }
1382
+ //#endregion
1383
+ //#region src/plugins/unicorn.generated.d.ts
1384
+ interface UnicornRuleOptionsByName {
1385
+ 'unicorn/catch-error-name': {
1386
+ ignore?: readonly string[];
1387
+ name?: string;
1388
+ };
1389
+ 'unicorn/consistent-assert': never;
1390
+ 'unicorn/consistent-date-clone': never;
1391
+ 'unicorn/consistent-empty-array-spread': never;
1392
+ 'unicorn/consistent-existence-index-check': never;
1393
+ 'unicorn/consistent-function-scoping': {
1394
+ checkArrowFunctions?: boolean;
1395
+ };
1396
+ 'unicorn/consistent-template-literal-escape': never;
1397
+ 'unicorn/custom-error-definition': never;
1398
+ 'unicorn/empty-brace-spaces': never;
1399
+ 'unicorn/error-message': never;
1400
+ 'unicorn/escape-case': never;
1401
+ 'unicorn/explicit-length-check': {
1402
+ 'non-zero'?: 'greater-than' | 'not-equal';
1403
+ };
1404
+ 'unicorn/filename-case': {
1405
+ cases?: {
1406
+ kebabCase?: boolean;
1407
+ camelCase?: boolean;
1408
+ snakeCase?: boolean;
1409
+ pascalCase?: boolean;
1410
+ };
1411
+ case?: 'kebabCase' | 'camelCase' | 'snakeCase' | 'pascalCase';
1412
+ ignore?: string;
1413
+ multipleFileExtensions?: boolean;
1414
+ };
1415
+ 'unicorn/new-for-builtins': never;
1416
+ 'unicorn/no-abusive-eslint-disable': never;
1417
+ 'unicorn/no-accessor-recursion': never;
1418
+ 'unicorn/no-anonymous-default-export': never;
1419
+ 'unicorn/no-array-callback-reference': never;
1420
+ 'unicorn/no-array-for-each': never;
1421
+ 'unicorn/no-array-method-this-argument': never;
1422
+ 'unicorn/no-array-reduce': {
1423
+ allowSimpleOperations?: boolean;
1424
+ };
1425
+ 'unicorn/no-array-reverse': {
1426
+ allowExpressionStatement?: boolean;
1427
+ };
1428
+ 'unicorn/no-array-sort': {
1429
+ allowExpressionStatement?: boolean;
1430
+ };
1431
+ 'unicorn/no-await-expression-member': never;
1432
+ 'unicorn/no-await-in-promise-methods': never;
1433
+ 'unicorn/no-console-spaces': never;
1434
+ 'unicorn/no-document-cookie': never;
1435
+ 'unicorn/no-empty-file': never;
1436
+ 'unicorn/no-hex-escape': never;
1437
+ 'unicorn/no-immediate-mutation': never;
1438
+ 'unicorn/no-instanceof-array': never;
1439
+ 'unicorn/no-instanceof-builtins': {
1440
+ include?: readonly string[];
1441
+ exclude?: readonly string[];
1442
+ useErrorIsError?: boolean;
1443
+ strategy?: 'strict' | 'loose';
1444
+ };
1445
+ 'unicorn/no-invalid-fetch-options': never;
1446
+ 'unicorn/no-invalid-remove-event-listener': never;
1447
+ 'unicorn/no-length-as-slice-end': never;
1448
+ 'unicorn/no-lonely-if': never;
1449
+ 'unicorn/no-magic-array-flat-depth': never;
1450
+ 'unicorn/no-negated-condition': never;
1451
+ 'unicorn/no-negation-in-equality-check': never;
1452
+ 'unicorn/no-nested-ternary': never;
1453
+ 'unicorn/no-new-array': never;
1454
+ 'unicorn/no-new-buffer': never;
1455
+ 'unicorn/no-null': {
1456
+ checkStrictEquality?: boolean;
1457
+ };
1458
+ 'unicorn/no-object-as-default-parameter': never;
1459
+ 'unicorn/no-process-exit': never;
1460
+ 'unicorn/no-single-promise-in-promise-methods': never;
1461
+ 'unicorn/no-static-only-class': never;
1462
+ 'unicorn/no-thenable': never;
1463
+ 'unicorn/no-this-assignment': never;
1464
+ 'unicorn/no-typeof-undefined': {
1465
+ checkGlobalVariables?: boolean;
1466
+ };
1467
+ 'unicorn/no-unnecessary-array-flat-depth': never;
1468
+ 'unicorn/no-unnecessary-array-splice-count': never;
1469
+ 'unicorn/no-unnecessary-await': never;
1470
+ 'unicorn/no-unnecessary-slice-end': never;
1471
+ 'unicorn/no-unreadable-array-destructuring': never;
1472
+ 'unicorn/no-unreadable-iife': never;
1473
+ 'unicorn/no-useless-collection-argument': never;
1474
+ 'unicorn/no-useless-error-capture-stack-trace': never;
1475
+ 'unicorn/no-useless-fallback-in-spread': never;
1476
+ 'unicorn/no-useless-iterator-to-array': never;
1477
+ 'unicorn/no-useless-length-check': never;
1478
+ 'unicorn/no-useless-promise-resolve-reject': {
1479
+ allowReject?: boolean;
1480
+ };
1481
+ 'unicorn/no-useless-spread': never;
1482
+ 'unicorn/no-useless-switch-case': never;
1483
+ 'unicorn/no-useless-undefined': {
1484
+ checkArguments?: boolean;
1485
+ checkArrowFunctionBody?: boolean;
1486
+ };
1487
+ 'unicorn/no-zero-fractions': never;
1488
+ 'unicorn/number-literal-case': never;
1489
+ 'unicorn/numeric-separators-style': {
1490
+ onlyIfContainsSeparator?: boolean;
1491
+ hexadecimal?: {
1492
+ groupLength?: number;
1493
+ minimumDigits?: number;
1494
+ };
1495
+ binary?: {
1496
+ groupLength?: number;
1497
+ minimumDigits?: number;
1498
+ };
1499
+ octal?: {
1500
+ groupLength?: number;
1501
+ minimumDigits?: number;
1502
+ };
1503
+ number?: {
1504
+ groupLength?: number;
1505
+ minimumDigits?: number;
1506
+ };
1507
+ };
1508
+ 'unicorn/prefer-add-event-listener': never;
1509
+ 'unicorn/prefer-array-find': never;
1510
+ 'unicorn/prefer-array-flat': never;
1511
+ 'unicorn/prefer-array-flat-map': never;
1512
+ 'unicorn/prefer-array-index-of': never;
1513
+ 'unicorn/prefer-array-some': never;
1514
+ 'unicorn/prefer-at': {
1515
+ checkAllIndexAccess?: boolean;
1516
+ getLastElementFunctions?: readonly string[];
1517
+ };
1518
+ 'unicorn/prefer-bigint-literals': never;
1519
+ 'unicorn/prefer-blob-reading-methods': never;
1520
+ 'unicorn/prefer-class-fields': never;
1521
+ 'unicorn/prefer-classlist-toggle': never;
1522
+ 'unicorn/prefer-code-point': never;
1523
+ 'unicorn/prefer-date-now': never;
1524
+ 'unicorn/prefer-default-parameters': never;
1525
+ 'unicorn/prefer-dom-node-append': never;
1526
+ 'unicorn/prefer-dom-node-dataset': never;
1527
+ 'unicorn/prefer-dom-node-remove': never;
1528
+ 'unicorn/prefer-dom-node-text-content': never;
1529
+ 'unicorn/prefer-event-target': never;
1530
+ 'unicorn/prefer-global-this': never;
1531
+ 'unicorn/prefer-import-meta-properties': never;
1532
+ 'unicorn/prefer-includes': never;
1533
+ 'unicorn/prefer-keyboard-event-key': never;
1534
+ 'unicorn/prefer-logical-operator-over-ternary': never;
1535
+ 'unicorn/prefer-math-min-max': never;
1536
+ 'unicorn/prefer-math-trunc': never;
1537
+ 'unicorn/prefer-modern-dom-apis': never;
1538
+ 'unicorn/prefer-modern-math-apis': never;
1539
+ 'unicorn/prefer-module': never;
1540
+ 'unicorn/prefer-native-coercion-functions': never;
1541
+ 'unicorn/prefer-negative-index': never;
1542
+ 'unicorn/prefer-node-protocol': never;
1543
+ 'unicorn/prefer-number-properties': {
1544
+ checkInfinity?: boolean;
1545
+ checkNaN?: boolean;
1546
+ };
1547
+ 'unicorn/prefer-object-from-entries': {
1548
+ functions?: readonly string[];
1549
+ };
1550
+ 'unicorn/prefer-optional-catch-binding': never;
1551
+ 'unicorn/prefer-prototype-methods': never;
1552
+ 'unicorn/prefer-query-selector': never;
1553
+ 'unicorn/prefer-reflect-apply': never;
1554
+ 'unicorn/prefer-regexp-test': never;
1555
+ 'unicorn/prefer-response-static-json': never;
1556
+ 'unicorn/prefer-set-has': never;
1557
+ 'unicorn/prefer-set-size': never;
1558
+ 'unicorn/prefer-spread': never;
1559
+ 'unicorn/prefer-string-raw': never;
1560
+ 'unicorn/prefer-string-replace-all': never;
1561
+ 'unicorn/prefer-string-slice': never;
1562
+ 'unicorn/prefer-string-starts-ends-with': never;
1563
+ 'unicorn/prefer-string-trim-start-end': never;
1564
+ 'unicorn/prefer-structured-clone': {
1565
+ functions?: readonly string[];
1566
+ };
1567
+ 'unicorn/prefer-ternary': 'always' | 'only-single-line';
1568
+ 'unicorn/prefer-top-level-await': never;
1569
+ 'unicorn/prefer-type-error': never;
1570
+ 'unicorn/relative-url-style': 'never' | 'always';
1571
+ 'unicorn/require-array-join-separator': never;
1572
+ 'unicorn/require-module-attributes': never;
1573
+ 'unicorn/require-module-specifiers': never;
1574
+ 'unicorn/require-number-to-fixed-digits-argument': never;
1575
+ 'unicorn/require-post-message-target-origin': never;
1576
+ 'unicorn/switch-case-braces': 'always' | 'avoid';
1577
+ 'unicorn/switch-case-break-position': never;
1578
+ 'unicorn/text-encoding-identifier-case': {
1579
+ withDash?: boolean;
1580
+ };
1581
+ 'unicorn/throw-new-error': never;
1582
+ }
1583
+ //#endregion
1584
+ //#region src/plugins/vitest.generated.d.ts
1585
+ interface VitestRuleOptionsByName {
1586
+ 'vitest/consistent-each-for': {
1587
+ describe?: 'For' | 'Each';
1588
+ suite?: 'For' | 'Each';
1589
+ test?: 'For' | 'Each';
1590
+ it?: 'For' | 'Each';
1591
+ };
1592
+ 'vitest/consistent-test-filename': {
1593
+ allTestPattern?: unknown;
1594
+ pattern?: unknown;
1595
+ };
1596
+ 'vitest/consistent-test-it': unknown;
1597
+ 'vitest/consistent-vitest-vi': {
1598
+ fn?: 'Vi' | 'Vitest';
1599
+ };
1600
+ 'vitest/expect-expect': unknown;
1601
+ 'vitest/hoisted-apis-on-top': never;
1602
+ 'vitest/max-expects': unknown;
1603
+ 'vitest/max-nested-describe': unknown;
1604
+ 'vitest/no-alias-methods': never;
1605
+ 'vitest/no-commented-out-tests': never;
1606
+ 'vitest/no-conditional-expect': never;
1607
+ 'vitest/no-conditional-in-test': never;
1608
+ 'vitest/no-conditional-tests': never;
1609
+ 'vitest/no-disabled-tests': never;
1610
+ 'vitest/no-duplicate-hooks': never;
1611
+ 'vitest/no-focused-tests': never;
1612
+ 'vitest/no-hooks': unknown;
1613
+ 'vitest/no-identical-title': never;
1614
+ 'vitest/no-import-node-test': never;
1615
+ 'vitest/no-importing-vitest-globals': never;
1616
+ 'vitest/no-interpolation-in-snapshots': never;
1617
+ 'vitest/no-large-snapshots': unknown;
1618
+ 'vitest/no-mocks-import': never;
1619
+ 'vitest/no-restricted-matchers': unknown;
1620
+ 'vitest/no-restricted-vi-methods': unknown;
1621
+ 'vitest/no-standalone-expect': unknown;
1622
+ 'vitest/no-test-prefixes': never;
1623
+ 'vitest/no-test-return-statement': never;
1624
+ 'vitest/no-unneeded-async-expect-function': never;
1625
+ 'vitest/prefer-called-exactly-once-with': never;
1626
+ 'vitest/prefer-called-once': never;
1627
+ 'vitest/prefer-called-times': never;
1628
+ 'vitest/prefer-called-with': never;
1629
+ 'vitest/prefer-comparison-matcher': never;
1630
+ 'vitest/prefer-describe-function-title': never;
1631
+ 'vitest/prefer-each': never;
1632
+ 'vitest/prefer-equality-matcher': never;
1633
+ 'vitest/prefer-expect-assertions': unknown;
1634
+ 'vitest/prefer-expect-resolves': never;
1635
+ 'vitest/prefer-expect-type-of': never;
1636
+ 'vitest/prefer-hooks-in-order': never;
1637
+ 'vitest/prefer-hooks-on-top': never;
1638
+ 'vitest/prefer-import-in-mock': {
1639
+ fixable?: boolean;
1640
+ };
1641
+ 'vitest/prefer-importing-vitest-globals': never;
1642
+ 'vitest/prefer-lowercase-title': unknown;
1643
+ 'vitest/prefer-mock-promise-shorthand': never;
1644
+ 'vitest/prefer-mock-return-shorthand': never;
1645
+ 'vitest/prefer-snapshot-hint': unknown;
1646
+ 'vitest/prefer-spy-on': never;
1647
+ 'vitest/prefer-strict-boolean-matchers': never;
1648
+ 'vitest/prefer-strict-equal': never;
1649
+ 'vitest/prefer-to-be': never;
1650
+ 'vitest/prefer-to-be-falsy': never;
1651
+ 'vitest/prefer-to-be-object': never;
1652
+ 'vitest/prefer-to-be-truthy': never;
1653
+ 'vitest/prefer-to-contain': never;
1654
+ 'vitest/prefer-to-have-been-called-times': never;
1655
+ 'vitest/prefer-to-have-length': never;
1656
+ 'vitest/prefer-todo': never;
1657
+ 'vitest/require-awaited-expect-poll': never;
1658
+ 'vitest/require-hook': unknown;
1659
+ 'vitest/require-local-test-context-for-concurrent-snapshots': never;
1660
+ 'vitest/require-mock-type-parameters': {
1661
+ checkImportFunctions?: boolean;
1662
+ };
1663
+ 'vitest/require-test-timeout': never;
1664
+ 'vitest/require-to-throw-message': never;
1665
+ 'vitest/require-top-level-describe': unknown;
1666
+ 'vitest/valid-describe-callback': never;
1667
+ 'vitest/valid-expect': unknown;
1668
+ 'vitest/valid-expect-in-promise': never;
1669
+ 'vitest/valid-title': unknown;
1670
+ 'vitest/warn-todo': never;
1671
+ }
1672
+ //#endregion
1673
+ //#region src/plugins/vue.generated.d.ts
1674
+ interface VueRuleOptionsByName {
1675
+ 'vue/define-emits-declaration': 'type-based' | 'type-literal' | 'runtime';
1676
+ 'vue/define-props-declaration': 'type-based' | 'runtime';
1677
+ 'vue/define-props-destructuring': {
1678
+ destructure?: 'always' | 'never';
1679
+ };
1680
+ 'vue/max-props': {
1681
+ maxProps?: number;
1682
+ };
1683
+ 'vue/no-arrow-functions-in-watch': never;
1684
+ 'vue/no-deprecated-data-object-declaration': never;
1685
+ 'vue/no-deprecated-delete-set': never;
1686
+ 'vue/no-deprecated-destroyed-lifecycle': never;
1687
+ 'vue/no-deprecated-events-api': never;
1688
+ 'vue/no-deprecated-model-definition': {
1689
+ allowVue3Compat?: boolean;
1690
+ };
1691
+ 'vue/no-deprecated-vue-config-keycodes': never;
1692
+ 'vue/no-export-in-script-setup': never;
1693
+ 'vue/no-import-compiler-macros': never;
1694
+ 'vue/no-lifecycle-after-await': never;
1695
+ 'vue/no-multiple-slot-args': never;
1696
+ 'vue/no-required-prop-with-default': never;
1697
+ 'vue/no-this-in-before-route-enter': never;
1698
+ 'vue/prefer-import-from-vue': never;
1699
+ 'vue/require-default-export': never;
1700
+ 'vue/require-typed-ref': never;
1701
+ 'vue/return-in-computed-property': {
1702
+ treatUndefinedAsUnspecified?: boolean;
1703
+ };
1704
+ 'vue/valid-define-emits': never;
1705
+ 'vue/valid-define-props': never;
1706
+ }
1707
+ //#endregion
1708
+ //#region src/plugins/index.generated.d.ts
1709
+ declare const BUILTIN_PLUGIN_NAMES: readonly ['eslint', 'import', 'jest', 'jsdoc', 'jsx-a11y', 'nextjs', 'node', 'oxc', 'promise', 'react', 'react-perf', 'typescript', 'unicorn', 'vitest', 'vue'];
1710
+ declare const BUILTIN_RULE_NAMES: readonly ['@typescript-eslint/adjacent-overload-signatures', '@typescript-eslint/array-type', '@typescript-eslint/await-thenable', '@typescript-eslint/ban-ts-comment', '@typescript-eslint/ban-tslint-comment', '@typescript-eslint/ban-types', '@typescript-eslint/class-literal-property-style', '@typescript-eslint/consistent-generic-constructors', '@typescript-eslint/consistent-indexed-object-style', '@typescript-eslint/consistent-return', '@typescript-eslint/consistent-type-assertions', '@typescript-eslint/consistent-type-definitions', '@typescript-eslint/consistent-type-exports', '@typescript-eslint/consistent-type-imports', '@typescript-eslint/dot-notation', '@typescript-eslint/explicit-function-return-type', '@typescript-eslint/explicit-member-accessibility', '@typescript-eslint/explicit-module-boundary-types', '@typescript-eslint/no-array-delete', '@typescript-eslint/no-base-to-string', '@typescript-eslint/no-confusing-non-null-assertion', '@typescript-eslint/no-confusing-void-expression', '@typescript-eslint/no-deprecated', '@typescript-eslint/no-duplicate-enum-values', '@typescript-eslint/no-duplicate-type-constituents', '@typescript-eslint/no-dynamic-delete', '@typescript-eslint/no-empty-interface', '@typescript-eslint/no-empty-object-type', '@typescript-eslint/no-explicit-any', '@typescript-eslint/no-extra-non-null-assertion', '@typescript-eslint/no-extraneous-class', '@typescript-eslint/no-floating-promises', '@typescript-eslint/no-for-in-array', '@typescript-eslint/no-implied-eval', '@typescript-eslint/no-import-type-side-effects', '@typescript-eslint/no-inferrable-types', '@typescript-eslint/no-invalid-void-type', '@typescript-eslint/no-meaningless-void-operator', '@typescript-eslint/no-misused-new', '@typescript-eslint/no-misused-promises', '@typescript-eslint/no-misused-spread', '@typescript-eslint/no-mixed-enums', '@typescript-eslint/no-namespace', '@typescript-eslint/no-non-null-asserted-nullish-coalescing', '@typescript-eslint/no-non-null-asserted-optional-chain', '@typescript-eslint/no-non-null-assertion', '@typescript-eslint/no-redundant-type-constituents', '@typescript-eslint/no-require-imports', '@typescript-eslint/no-restricted-types', '@typescript-eslint/no-this-alias', '@typescript-eslint/no-unnecessary-boolean-literal-compare', '@typescript-eslint/no-unnecessary-condition', '@typescript-eslint/no-unnecessary-parameter-property-assignment', '@typescript-eslint/no-unnecessary-qualifier', '@typescript-eslint/no-unnecessary-template-expression', '@typescript-eslint/no-unnecessary-type-arguments', '@typescript-eslint/no-unnecessary-type-assertion', '@typescript-eslint/no-unnecessary-type-constraint', '@typescript-eslint/no-unnecessary-type-conversion', '@typescript-eslint/no-unnecessary-type-parameters', '@typescript-eslint/no-unsafe-argument', '@typescript-eslint/no-unsafe-assignment', '@typescript-eslint/no-unsafe-call', '@typescript-eslint/no-unsafe-declaration-merging', '@typescript-eslint/no-unsafe-enum-comparison', '@typescript-eslint/no-unsafe-function-type', '@typescript-eslint/no-unsafe-member-access', '@typescript-eslint/no-unsafe-return', '@typescript-eslint/no-unsafe-type-assertion', '@typescript-eslint/no-unsafe-unary-minus', '@typescript-eslint/no-useless-default-assignment', '@typescript-eslint/no-useless-empty-export', '@typescript-eslint/no-var-requires', '@typescript-eslint/no-wrapper-object-types', '@typescript-eslint/non-nullable-type-assertion-style', '@typescript-eslint/only-throw-error', '@typescript-eslint/parameter-properties', '@typescript-eslint/prefer-as-const', '@typescript-eslint/prefer-enum-initializers', '@typescript-eslint/prefer-find', '@typescript-eslint/prefer-for-of', '@typescript-eslint/prefer-function-type', '@typescript-eslint/prefer-includes', '@typescript-eslint/prefer-literal-enum-member', '@typescript-eslint/prefer-namespace-keyword', '@typescript-eslint/prefer-nullish-coalescing', '@typescript-eslint/prefer-optional-chain', '@typescript-eslint/prefer-promise-reject-errors', '@typescript-eslint/prefer-readonly', '@typescript-eslint/prefer-readonly-parameter-types', '@typescript-eslint/prefer-reduce-type-parameter', '@typescript-eslint/prefer-regexp-exec', '@typescript-eslint/prefer-return-this-type', '@typescript-eslint/prefer-string-starts-ends-with', '@typescript-eslint/prefer-ts-expect-error', '@typescript-eslint/promise-function-async', '@typescript-eslint/related-getter-setter-pairs', '@typescript-eslint/require-array-sort-compare', '@typescript-eslint/require-await', '@typescript-eslint/restrict-plus-operands', '@typescript-eslint/restrict-template-expressions', '@typescript-eslint/return-await', '@typescript-eslint/strict-boolean-expressions', '@typescript-eslint/strict-void-return', '@typescript-eslint/switch-exhaustiveness-check', '@typescript-eslint/triple-slash-reference', '@typescript-eslint/unbound-method', '@typescript-eslint/unified-signatures', '@typescript-eslint/use-unknown-in-catch-callback-variable', 'accessor-pairs', 'array-callback-return', 'arrow-body-style', 'block-scoped-var', 'capitalized-comments', 'class-methods-use-this', 'complexity', 'constructor-super', 'curly', 'default-case', 'default-case-last', 'default-param-last', 'eqeqeq', 'eslint/accessor-pairs', 'eslint/array-callback-return', 'eslint/arrow-body-style', 'eslint/block-scoped-var', 'eslint/capitalized-comments', 'eslint/class-methods-use-this', 'eslint/complexity', 'eslint/constructor-super', 'eslint/curly', 'eslint/default-case', 'eslint/default-case-last', 'eslint/default-param-last', 'eslint/eqeqeq', 'eslint/for-direction', 'eslint/func-name-matching', 'eslint/func-names', 'eslint/func-style', 'eslint/getter-return', 'eslint/grouped-accessor-pairs', 'eslint/guard-for-in', 'eslint/id-length', 'eslint/init-declarations', 'eslint/logical-assignment-operators', 'eslint/max-classes-per-file', 'eslint/max-depth', 'eslint/max-lines', 'eslint/max-lines-per-function', 'eslint/max-nested-callbacks', 'eslint/max-params', 'eslint/max-statements', 'eslint/new-cap', 'eslint/no-alert', 'eslint/no-array-constructor', 'eslint/no-async-promise-executor', 'eslint/no-await-in-loop', 'eslint/no-bitwise', 'eslint/no-caller', 'eslint/no-case-declarations', 'eslint/no-class-assign', 'eslint/no-compare-neg-zero', 'eslint/no-cond-assign', 'eslint/no-console', 'eslint/no-const-assign', 'eslint/no-constant-binary-expression', 'eslint/no-constant-condition', 'eslint/no-constructor-return', 'eslint/no-continue', 'eslint/no-control-regex', 'eslint/no-debugger', 'eslint/no-delete-var', 'eslint/no-div-regex', 'eslint/no-dupe-class-members', 'eslint/no-dupe-else-if', 'eslint/no-dupe-keys', 'eslint/no-duplicate-case', 'eslint/no-duplicate-imports', 'eslint/no-else-return', 'eslint/no-empty', 'eslint/no-empty-character-class', 'eslint/no-empty-function', 'eslint/no-empty-pattern', 'eslint/no-empty-static-block', 'eslint/no-eq-null', 'eslint/no-eval', 'eslint/no-ex-assign', 'eslint/no-extend-native', 'eslint/no-extra-bind', 'eslint/no-extra-boolean-cast', 'eslint/no-extra-label', 'eslint/no-fallthrough', 'eslint/no-func-assign', 'eslint/no-global-assign', 'eslint/no-implicit-coercion', 'eslint/no-import-assign', 'eslint/no-inline-comments', 'eslint/no-inner-declarations', 'eslint/no-invalid-regexp', 'eslint/no-irregular-whitespace', 'eslint/no-iterator', 'eslint/no-label-var', 'eslint/no-labels', 'eslint/no-lone-blocks', 'eslint/no-lonely-if', 'eslint/no-loop-func', 'eslint/no-loss-of-precision', 'eslint/no-magic-numbers', 'eslint/no-misleading-character-class', 'eslint/no-multi-assign', 'eslint/no-multi-str', 'eslint/no-negated-condition', 'eslint/no-nested-ternary', 'eslint/no-new', 'eslint/no-new-func', 'eslint/no-new-native-nonconstructor', 'eslint/no-new-wrappers', 'eslint/no-nonoctal-decimal-escape', 'eslint/no-obj-calls', 'eslint/no-object-constructor', 'eslint/no-param-reassign', 'eslint/no-plusplus', 'eslint/no-promise-executor-return', 'eslint/no-proto', 'eslint/no-prototype-builtins', 'eslint/no-redeclare', 'eslint/no-regex-spaces', 'eslint/no-restricted-exports', 'eslint/no-restricted-globals', 'eslint/no-restricted-imports', 'eslint/no-restricted-properties', 'eslint/no-return-assign', 'eslint/no-script-url', 'eslint/no-self-assign', 'eslint/no-self-compare', 'eslint/no-sequences', 'eslint/no-setter-return', 'eslint/no-shadow', 'eslint/no-shadow-restricted-names', 'eslint/no-sparse-arrays', 'eslint/no-template-curly-in-string', 'eslint/no-ternary', 'eslint/no-this-before-super', 'eslint/no-throw-literal', 'eslint/no-unassigned-vars', 'eslint/no-undef', 'eslint/no-undefined', 'eslint/no-underscore-dangle', 'eslint/no-unexpected-multiline', 'eslint/no-unmodified-loop-condition', 'eslint/no-unneeded-ternary', 'eslint/no-unreachable', 'eslint/no-unsafe-finally', 'eslint/no-unsafe-negation', 'eslint/no-unsafe-optional-chaining', 'eslint/no-unused-expressions', 'eslint/no-unused-labels', 'eslint/no-unused-private-class-members', 'eslint/no-unused-vars', 'eslint/no-use-before-define', 'eslint/no-useless-assignment', 'eslint/no-useless-backreference', 'eslint/no-useless-call', 'eslint/no-useless-catch', 'eslint/no-useless-computed-key', 'eslint/no-useless-concat', 'eslint/no-useless-constructor', 'eslint/no-useless-escape', 'eslint/no-useless-rename', 'eslint/no-useless-return', 'eslint/no-var', 'eslint/no-void', 'eslint/no-warning-comments', 'eslint/no-with', 'eslint/object-shorthand', 'eslint/operator-assignment', 'eslint/prefer-const', 'eslint/prefer-destructuring', 'eslint/prefer-exponentiation-operator', 'eslint/prefer-numeric-literals', 'eslint/prefer-object-has-own', 'eslint/prefer-object-spread', 'eslint/prefer-promise-reject-errors', 'eslint/prefer-rest-params', 'eslint/prefer-spread', 'eslint/prefer-template', 'eslint/preserve-caught-error', 'eslint/radix', 'eslint/require-await', 'eslint/require-unicode-regexp', 'eslint/require-yield', 'eslint/sort-imports', 'eslint/sort-keys', 'eslint/sort-vars', 'eslint/symbol-description', 'eslint/unicode-bom', 'eslint/use-isnan', 'eslint/valid-typeof', 'eslint/vars-on-top', 'eslint/yoda', 'for-direction', 'func-name-matching', 'func-names', 'func-style', 'getter-return', 'grouped-accessor-pairs', 'guard-for-in', 'id-length', 'import/consistent-type-specifier-style', 'import/default', 'import/export', 'import/exports-last', 'import/extensions', 'import/first', 'import/group-exports', 'import/max-dependencies', 'import/named', 'import/namespace', 'import/no-absolute-path', 'import/no-amd', 'import/no-anonymous-default-export', 'import/no-commonjs', 'import/no-cycle', 'import/no-default-export', 'import/no-duplicates', 'import/no-dynamic-require', 'import/no-empty-named-blocks', 'import/no-mutable-exports', 'import/no-named-as-default', 'import/no-named-as-default-member', 'import/no-named-default', 'import/no-named-export', 'import/no-namespace', 'import/no-nodejs-modules', 'import/no-relative-parent-imports', 'import/no-self-import', 'import/no-unassigned-import', 'import/no-webpack-loader-syntax', 'import/prefer-default-export', 'import/unambiguous', 'init-declarations', 'jest/consistent-test-it', 'jest/expect-expect', 'jest/max-expects', 'jest/max-nested-describe', 'jest/no-alias-methods', 'jest/no-commented-out-tests', 'jest/no-conditional-expect', 'jest/no-conditional-in-test', 'jest/no-confusing-set-timeout', 'jest/no-deprecated-functions', 'jest/no-disabled-tests', 'jest/no-done-callback', 'jest/no-duplicate-hooks', 'jest/no-export', 'jest/no-focused-tests', 'jest/no-hooks', 'jest/no-identical-title', 'jest/no-interpolation-in-snapshots', 'jest/no-jasmine-globals', 'jest/no-large-snapshots', 'jest/no-mocks-import', 'jest/no-restricted-jest-methods', 'jest/no-restricted-matchers', 'jest/no-standalone-expect', 'jest/no-test-prefixes', 'jest/no-test-return-statement', 'jest/no-unneeded-async-expect-function', 'jest/no-untyped-mock-factory', 'jest/padding-around-after-all-blocks', 'jest/padding-around-test-blocks', 'jest/prefer-called-with', 'jest/prefer-comparison-matcher', 'jest/prefer-each', 'jest/prefer-ending-with-an-expect', 'jest/prefer-equality-matcher', 'jest/prefer-expect-assertions', 'jest/prefer-expect-resolves', 'jest/prefer-hooks-in-order', 'jest/prefer-hooks-on-top', 'jest/prefer-importing-jest-globals', 'jest/prefer-jest-mocked', 'jest/prefer-lowercase-title', 'jest/prefer-mock-promise-shorthand', 'jest/prefer-mock-return-shorthand', 'jest/prefer-snapshot-hint', 'jest/prefer-spy-on', 'jest/prefer-strict-equal', 'jest/prefer-to-be', 'jest/prefer-to-contain', 'jest/prefer-to-have-been-called', 'jest/prefer-to-have-been-called-times', 'jest/prefer-to-have-length', 'jest/prefer-todo', 'jest/require-hook', 'jest/require-to-throw-message', 'jest/require-top-level-describe', 'jest/valid-describe-callback', 'jest/valid-expect', 'jest/valid-expect-in-promise', 'jest/valid-title', 'jsdoc/check-access', 'jsdoc/check-property-names', 'jsdoc/check-tag-names', 'jsdoc/empty-tags', 'jsdoc/implements-on-classes', 'jsdoc/no-defaults', 'jsdoc/require-param', 'jsdoc/require-param-description', 'jsdoc/require-param-name', 'jsdoc/require-param-type', 'jsdoc/require-property', 'jsdoc/require-property-description', 'jsdoc/require-property-name', 'jsdoc/require-property-type', 'jsdoc/require-returns', 'jsdoc/require-returns-description', 'jsdoc/require-returns-type', 'jsdoc/require-yields', 'jsx-a11y/alt-text', 'jsx-a11y/anchor-ambiguous-text', 'jsx-a11y/anchor-has-content', 'jsx-a11y/anchor-is-valid', 'jsx-a11y/aria-activedescendant-has-tabindex', 'jsx-a11y/aria-props', 'jsx-a11y/aria-proptypes', 'jsx-a11y/aria-role', 'jsx-a11y/aria-unsupported-elements', 'jsx-a11y/autocomplete-valid', 'jsx-a11y/click-events-have-key-events', 'jsx-a11y/heading-has-content', 'jsx-a11y/html-has-lang', 'jsx-a11y/iframe-has-title', 'jsx-a11y/img-redundant-alt', 'jsx-a11y/interactive-supports-focus', 'jsx-a11y/label-has-associated-control', 'jsx-a11y/lang', 'jsx-a11y/media-has-caption', 'jsx-a11y/mouse-events-have-key-events', 'jsx-a11y/no-access-key', 'jsx-a11y/no-aria-hidden-on-focusable', 'jsx-a11y/no-autofocus', 'jsx-a11y/no-distracting-elements', 'jsx-a11y/no-noninteractive-tabindex', 'jsx-a11y/no-redundant-roles', 'jsx-a11y/no-static-element-interactions', 'jsx-a11y/prefer-tag-over-role', 'jsx-a11y/role-has-required-aria-props', 'jsx-a11y/role-supports-aria-props', 'jsx-a11y/scope', 'jsx-a11y/tabindex-no-positive', 'logical-assignment-operators', 'max-classes-per-file', 'max-depth', 'max-lines', 'max-lines-per-function', 'max-nested-callbacks', 'max-params', 'max-statements', 'new-cap', 'nextjs/google-font-display', 'nextjs/google-font-preconnect', 'nextjs/inline-script-id', 'nextjs/next-script-for-ga', 'nextjs/no-assign-module-variable', 'nextjs/no-async-client-component', 'nextjs/no-before-interactive-script-outside-document', 'nextjs/no-css-tags', 'nextjs/no-document-import-in-page', 'nextjs/no-duplicate-head', 'nextjs/no-head-element', 'nextjs/no-head-import-in-document', 'nextjs/no-html-link-for-pages', 'nextjs/no-img-element', 'nextjs/no-page-custom-font', 'nextjs/no-script-component-in-head', 'nextjs/no-styled-jsx-in-document', 'nextjs/no-sync-scripts', 'nextjs/no-title-in-document-head', 'nextjs/no-typos', 'nextjs/no-unwanted-polyfillio', 'no-alert', 'no-array-constructor', 'no-async-promise-executor', 'no-await-in-loop', 'no-bitwise', 'no-caller', 'no-case-declarations', 'no-class-assign', 'no-compare-neg-zero', 'no-cond-assign', 'no-console', 'no-const-assign', 'no-constant-binary-expression', 'no-constant-condition', 'no-constructor-return', 'no-continue', 'no-control-regex', 'no-debugger', 'no-delete-var', 'no-div-regex', 'no-dupe-class-members', 'no-dupe-else-if', 'no-dupe-keys', 'no-duplicate-case', 'no-duplicate-imports', 'no-else-return', 'no-empty', 'no-empty-character-class', 'no-empty-function', 'no-empty-pattern', 'no-empty-static-block', 'no-eq-null', 'no-eval', 'no-ex-assign', 'no-extend-native', 'no-extra-bind', 'no-extra-boolean-cast', 'no-extra-label', 'no-fallthrough', 'no-func-assign', 'no-global-assign', 'no-implicit-coercion', 'no-import-assign', 'no-inline-comments', 'no-inner-declarations', 'no-invalid-regexp', 'no-irregular-whitespace', 'no-iterator', 'no-label-var', 'no-labels', 'no-lone-blocks', 'no-lonely-if', 'no-loop-func', 'no-loss-of-precision', 'no-magic-numbers', 'no-misleading-character-class', 'no-multi-assign', 'no-multi-str', 'no-negated-condition', 'no-nested-ternary', 'no-new', 'no-new-func', 'no-new-native-nonconstructor', 'no-new-wrappers', 'no-nonoctal-decimal-escape', 'no-obj-calls', 'no-object-constructor', 'no-param-reassign', 'no-plusplus', 'no-promise-executor-return', 'no-proto', 'no-prototype-builtins', 'no-redeclare', 'no-regex-spaces', 'no-restricted-exports', 'no-restricted-globals', 'no-restricted-imports', 'no-restricted-properties', 'no-return-assign', 'no-script-url', 'no-self-assign', 'no-self-compare', 'no-sequences', 'no-setter-return', 'no-shadow', 'no-shadow-restricted-names', 'no-sparse-arrays', 'no-template-curly-in-string', 'no-ternary', 'no-this-before-super', 'no-throw-literal', 'no-unassigned-vars', 'no-undef', 'no-undefined', 'no-underscore-dangle', 'no-unexpected-multiline', 'no-unmodified-loop-condition', 'no-unneeded-ternary', 'no-unreachable', 'no-unsafe-finally', 'no-unsafe-negation', 'no-unsafe-optional-chaining', 'no-unused-expressions', 'no-unused-labels', 'no-unused-private-class-members', 'no-unused-vars', 'no-use-before-define', 'no-useless-assignment', 'no-useless-backreference', 'no-useless-call', 'no-useless-catch', 'no-useless-computed-key', 'no-useless-concat', 'no-useless-constructor', 'no-useless-escape', 'no-useless-rename', 'no-useless-return', 'no-var', 'no-void', 'no-warning-comments', 'no-with', 'node/global-require', 'node/handle-callback-err', 'node/no-exports-assign', 'node/no-new-require', 'node/no-path-concat', 'node/no-process-env', 'object-shorthand', 'operator-assignment', 'oxc/approx-constant', 'oxc/bad-array-method-on-arguments', 'oxc/bad-bitwise-operator', 'oxc/bad-char-at-comparison', 'oxc/bad-comparison-sequence', 'oxc/bad-min-max-func', 'oxc/bad-object-literal-comparison', 'oxc/bad-replace-all-arg', 'oxc/branches-sharing-code', 'oxc/const-comparisons', 'oxc/double-comparisons', 'oxc/erasing-op', 'oxc/misrefactored-assign-op', 'oxc/missing-throw', 'oxc/no-accumulating-spread', 'oxc/no-async-await', 'oxc/no-async-endpoint-handlers', 'oxc/no-barrel-file', 'oxc/no-const-enum', 'oxc/no-map-spread', 'oxc/no-optional-chaining', 'oxc/no-rest-spread-properties', 'oxc/no-this-in-exported-function', 'oxc/number-arg-out-of-range', 'oxc/only-used-in-recursion', 'oxc/uninvoked-array-callback', 'prefer-const', 'prefer-destructuring', 'prefer-exponentiation-operator', 'prefer-numeric-literals', 'prefer-object-has-own', 'prefer-object-spread', 'prefer-promise-reject-errors', 'prefer-rest-params', 'prefer-spread', 'prefer-template', 'preserve-caught-error', 'promise/always-return', 'promise/avoid-new', 'promise/catch-or-return', 'promise/no-callback-in-promise', 'promise/no-multiple-resolved', 'promise/no-nesting', 'promise/no-new-statics', 'promise/no-promise-in-callback', 'promise/no-return-in-finally', 'promise/no-return-wrap', 'promise/param-names', 'promise/prefer-await-to-callbacks', 'promise/prefer-await-to-then', 'promise/prefer-catch', 'promise/spec-only', 'promise/valid-params', 'radix', 'react-perf/jsx-no-jsx-as-prop', 'react-perf/jsx-no-new-array-as-prop', 'react-perf/jsx-no-new-function-as-prop', 'react-perf/jsx-no-new-object-as-prop', 'react/button-has-type', 'react/checked-requires-onchange-or-readonly', 'react/display-name', 'react/exhaustive-deps', 'react/forbid-component-props', 'react/forbid-dom-props', 'react/forbid-elements', 'react/forward-ref-uses-ref', 'react/hook-use-state', 'react/iframe-missing-sandbox', 'react/jsx-boolean-value', 'react/jsx-curly-brace-presence', 'react/jsx-filename-extension', 'react/jsx-fragments', 'react/jsx-handler-names', 'react/jsx-key', 'react/jsx-max-depth', 'react/jsx-no-comment-textnodes', 'react/jsx-no-constructed-context-values', 'react/jsx-no-duplicate-props', 'react/jsx-no-script-url', 'react/jsx-no-target-blank', 'react/jsx-no-undef', 'react/jsx-no-useless-fragment', 'react/jsx-pascal-case', 'react/jsx-props-no-spread-multi', 'react/jsx-props-no-spreading', 'react/no-array-index-key', 'react/no-children-prop', 'react/no-clone-element', 'react/no-danger', 'react/no-danger-with-children', 'react/no-did-mount-set-state', 'react/no-did-update-set-state', 'react/no-direct-mutation-state', 'react/no-find-dom-node', 'react/no-is-mounted', 'react/no-multi-comp', 'react/no-namespace', 'react/no-react-children', 'react/no-redundant-should-component-update', 'react/no-render-return-value', 'react/no-set-state', 'react/no-string-refs', 'react/no-this-in-sfc', 'react/no-unescaped-entities', 'react/no-unknown-property', 'react/no-unsafe', 'react/no-will-update-set-state', 'react/only-export-components', 'react/prefer-es6-class', 'react/prefer-function-component', 'react/react-in-jsx-scope', 'react/require-render-return', 'react/rules-of-hooks', 'react/self-closing-comp', 'react/state-in-constructor', 'react/style-prop-object', 'react/void-dom-elements-no-children', 'require-await', 'require-unicode-regexp', 'require-yield', 'sort-imports', 'sort-keys', 'sort-vars', 'symbol-description', 'typescript/adjacent-overload-signatures', 'typescript/array-type', 'typescript/await-thenable', 'typescript/ban-ts-comment', 'typescript/ban-tslint-comment', 'typescript/ban-types', 'typescript/class-literal-property-style', 'typescript/consistent-generic-constructors', 'typescript/consistent-indexed-object-style', 'typescript/consistent-return', 'typescript/consistent-type-assertions', 'typescript/consistent-type-definitions', 'typescript/consistent-type-exports', 'typescript/consistent-type-imports', 'typescript/dot-notation', 'typescript/explicit-function-return-type', 'typescript/explicit-member-accessibility', 'typescript/explicit-module-boundary-types', 'typescript/no-array-delete', 'typescript/no-base-to-string', 'typescript/no-confusing-non-null-assertion', 'typescript/no-confusing-void-expression', 'typescript/no-deprecated', 'typescript/no-duplicate-enum-values', 'typescript/no-duplicate-type-constituents', 'typescript/no-dynamic-delete', 'typescript/no-empty-interface', 'typescript/no-empty-object-type', 'typescript/no-explicit-any', 'typescript/no-extra-non-null-assertion', 'typescript/no-extraneous-class', 'typescript/no-floating-promises', 'typescript/no-for-in-array', 'typescript/no-implied-eval', 'typescript/no-import-type-side-effects', 'typescript/no-inferrable-types', 'typescript/no-invalid-void-type', 'typescript/no-meaningless-void-operator', 'typescript/no-misused-new', 'typescript/no-misused-promises', 'typescript/no-misused-spread', 'typescript/no-mixed-enums', 'typescript/no-namespace', 'typescript/no-non-null-asserted-nullish-coalescing', 'typescript/no-non-null-asserted-optional-chain', 'typescript/no-non-null-assertion', 'typescript/no-redundant-type-constituents', 'typescript/no-require-imports', 'typescript/no-restricted-types', 'typescript/no-this-alias', 'typescript/no-unnecessary-boolean-literal-compare', 'typescript/no-unnecessary-condition', 'typescript/no-unnecessary-parameter-property-assignment', 'typescript/no-unnecessary-qualifier', 'typescript/no-unnecessary-template-expression', 'typescript/no-unnecessary-type-arguments', 'typescript/no-unnecessary-type-assertion', 'typescript/no-unnecessary-type-constraint', 'typescript/no-unnecessary-type-conversion', 'typescript/no-unnecessary-type-parameters', 'typescript/no-unsafe-argument', 'typescript/no-unsafe-assignment', 'typescript/no-unsafe-call', 'typescript/no-unsafe-declaration-merging', 'typescript/no-unsafe-enum-comparison', 'typescript/no-unsafe-function-type', 'typescript/no-unsafe-member-access', 'typescript/no-unsafe-return', 'typescript/no-unsafe-type-assertion', 'typescript/no-unsafe-unary-minus', 'typescript/no-useless-default-assignment', 'typescript/no-useless-empty-export', 'typescript/no-var-requires', 'typescript/no-wrapper-object-types', 'typescript/non-nullable-type-assertion-style', 'typescript/only-throw-error', 'typescript/parameter-properties', 'typescript/prefer-as-const', 'typescript/prefer-enum-initializers', 'typescript/prefer-find', 'typescript/prefer-for-of', 'typescript/prefer-function-type', 'typescript/prefer-includes', 'typescript/prefer-literal-enum-member', 'typescript/prefer-namespace-keyword', 'typescript/prefer-nullish-coalescing', 'typescript/prefer-optional-chain', 'typescript/prefer-promise-reject-errors', 'typescript/prefer-readonly', 'typescript/prefer-readonly-parameter-types', 'typescript/prefer-reduce-type-parameter', 'typescript/prefer-regexp-exec', 'typescript/prefer-return-this-type', 'typescript/prefer-string-starts-ends-with', 'typescript/prefer-ts-expect-error', 'typescript/promise-function-async', 'typescript/related-getter-setter-pairs', 'typescript/require-array-sort-compare', 'typescript/require-await', 'typescript/restrict-plus-operands', 'typescript/restrict-template-expressions', 'typescript/return-await', 'typescript/strict-boolean-expressions', 'typescript/strict-void-return', 'typescript/switch-exhaustiveness-check', 'typescript/triple-slash-reference', 'typescript/unbound-method', 'typescript/unified-signatures', 'typescript/use-unknown-in-catch-callback-variable', 'unicode-bom', 'unicorn/catch-error-name', 'unicorn/consistent-assert', 'unicorn/consistent-date-clone', 'unicorn/consistent-empty-array-spread', 'unicorn/consistent-existence-index-check', 'unicorn/consistent-function-scoping', 'unicorn/consistent-template-literal-escape', 'unicorn/custom-error-definition', 'unicorn/empty-brace-spaces', 'unicorn/error-message', 'unicorn/escape-case', 'unicorn/explicit-length-check', 'unicorn/filename-case', 'unicorn/new-for-builtins', 'unicorn/no-abusive-eslint-disable', 'unicorn/no-accessor-recursion', 'unicorn/no-anonymous-default-export', 'unicorn/no-array-callback-reference', 'unicorn/no-array-for-each', 'unicorn/no-array-method-this-argument', 'unicorn/no-array-reduce', 'unicorn/no-array-reverse', 'unicorn/no-array-sort', 'unicorn/no-await-expression-member', 'unicorn/no-await-in-promise-methods', 'unicorn/no-console-spaces', 'unicorn/no-document-cookie', 'unicorn/no-empty-file', 'unicorn/no-hex-escape', 'unicorn/no-immediate-mutation', 'unicorn/no-instanceof-array', 'unicorn/no-instanceof-builtins', 'unicorn/no-invalid-fetch-options', 'unicorn/no-invalid-remove-event-listener', 'unicorn/no-length-as-slice-end', 'unicorn/no-lonely-if', 'unicorn/no-magic-array-flat-depth', 'unicorn/no-negated-condition', 'unicorn/no-negation-in-equality-check', 'unicorn/no-nested-ternary', 'unicorn/no-new-array', 'unicorn/no-new-buffer', 'unicorn/no-null', 'unicorn/no-object-as-default-parameter', 'unicorn/no-process-exit', 'unicorn/no-single-promise-in-promise-methods', 'unicorn/no-static-only-class', 'unicorn/no-thenable', 'unicorn/no-this-assignment', 'unicorn/no-typeof-undefined', 'unicorn/no-unnecessary-array-flat-depth', 'unicorn/no-unnecessary-array-splice-count', 'unicorn/no-unnecessary-await', 'unicorn/no-unnecessary-slice-end', 'unicorn/no-unreadable-array-destructuring', 'unicorn/no-unreadable-iife', 'unicorn/no-useless-collection-argument', 'unicorn/no-useless-error-capture-stack-trace', 'unicorn/no-useless-fallback-in-spread', 'unicorn/no-useless-iterator-to-array', 'unicorn/no-useless-length-check', 'unicorn/no-useless-promise-resolve-reject', 'unicorn/no-useless-spread', 'unicorn/no-useless-switch-case', 'unicorn/no-useless-undefined', 'unicorn/no-zero-fractions', 'unicorn/number-literal-case', 'unicorn/numeric-separators-style', 'unicorn/prefer-add-event-listener', 'unicorn/prefer-array-find', 'unicorn/prefer-array-flat', 'unicorn/prefer-array-flat-map', 'unicorn/prefer-array-index-of', 'unicorn/prefer-array-some', 'unicorn/prefer-at', 'unicorn/prefer-bigint-literals', 'unicorn/prefer-blob-reading-methods', 'unicorn/prefer-class-fields', 'unicorn/prefer-classlist-toggle', 'unicorn/prefer-code-point', 'unicorn/prefer-date-now', 'unicorn/prefer-default-parameters', 'unicorn/prefer-dom-node-append', 'unicorn/prefer-dom-node-dataset', 'unicorn/prefer-dom-node-remove', 'unicorn/prefer-dom-node-text-content', 'unicorn/prefer-event-target', 'unicorn/prefer-global-this', 'unicorn/prefer-import-meta-properties', 'unicorn/prefer-includes', 'unicorn/prefer-keyboard-event-key', 'unicorn/prefer-logical-operator-over-ternary', 'unicorn/prefer-math-min-max', 'unicorn/prefer-math-trunc', 'unicorn/prefer-modern-dom-apis', 'unicorn/prefer-modern-math-apis', 'unicorn/prefer-module', 'unicorn/prefer-native-coercion-functions', 'unicorn/prefer-negative-index', 'unicorn/prefer-node-protocol', 'unicorn/prefer-number-properties', 'unicorn/prefer-object-from-entries', 'unicorn/prefer-optional-catch-binding', 'unicorn/prefer-prototype-methods', 'unicorn/prefer-query-selector', 'unicorn/prefer-reflect-apply', 'unicorn/prefer-regexp-test', 'unicorn/prefer-response-static-json', 'unicorn/prefer-set-has', 'unicorn/prefer-set-size', 'unicorn/prefer-spread', 'unicorn/prefer-string-raw', 'unicorn/prefer-string-replace-all', 'unicorn/prefer-string-slice', 'unicorn/prefer-string-starts-ends-with', 'unicorn/prefer-string-trim-start-end', 'unicorn/prefer-structured-clone', 'unicorn/prefer-ternary', 'unicorn/prefer-top-level-await', 'unicorn/prefer-type-error', 'unicorn/relative-url-style', 'unicorn/require-array-join-separator', 'unicorn/require-module-attributes', 'unicorn/require-module-specifiers', 'unicorn/require-number-to-fixed-digits-argument', 'unicorn/require-post-message-target-origin', 'unicorn/switch-case-braces', 'unicorn/switch-case-break-position', 'unicorn/text-encoding-identifier-case', 'unicorn/throw-new-error', 'use-isnan', 'valid-typeof', 'vars-on-top', 'vitest/consistent-each-for', 'vitest/consistent-test-filename', 'vitest/consistent-test-it', 'vitest/consistent-vitest-vi', 'vitest/expect-expect', 'vitest/hoisted-apis-on-top', 'vitest/max-expects', 'vitest/max-nested-describe', 'vitest/no-alias-methods', 'vitest/no-commented-out-tests', 'vitest/no-conditional-expect', 'vitest/no-conditional-in-test', 'vitest/no-conditional-tests', 'vitest/no-disabled-tests', 'vitest/no-duplicate-hooks', 'vitest/no-focused-tests', 'vitest/no-hooks', 'vitest/no-identical-title', 'vitest/no-import-node-test', 'vitest/no-importing-vitest-globals', 'vitest/no-interpolation-in-snapshots', 'vitest/no-large-snapshots', 'vitest/no-mocks-import', 'vitest/no-restricted-matchers', 'vitest/no-restricted-vi-methods', 'vitest/no-standalone-expect', 'vitest/no-test-prefixes', 'vitest/no-test-return-statement', 'vitest/no-unneeded-async-expect-function', 'vitest/prefer-called-exactly-once-with', 'vitest/prefer-called-once', 'vitest/prefer-called-times', 'vitest/prefer-called-with', 'vitest/prefer-comparison-matcher', 'vitest/prefer-describe-function-title', 'vitest/prefer-each', 'vitest/prefer-equality-matcher', 'vitest/prefer-expect-assertions', 'vitest/prefer-expect-resolves', 'vitest/prefer-expect-type-of', 'vitest/prefer-hooks-in-order', 'vitest/prefer-hooks-on-top', 'vitest/prefer-import-in-mock', 'vitest/prefer-importing-vitest-globals', 'vitest/prefer-lowercase-title', 'vitest/prefer-mock-promise-shorthand', 'vitest/prefer-mock-return-shorthand', 'vitest/prefer-snapshot-hint', 'vitest/prefer-spy-on', 'vitest/prefer-strict-boolean-matchers', 'vitest/prefer-strict-equal', 'vitest/prefer-to-be', 'vitest/prefer-to-be-falsy', 'vitest/prefer-to-be-object', 'vitest/prefer-to-be-truthy', 'vitest/prefer-to-contain', 'vitest/prefer-to-have-been-called-times', 'vitest/prefer-to-have-length', 'vitest/prefer-todo', 'vitest/require-awaited-expect-poll', 'vitest/require-hook', 'vitest/require-local-test-context-for-concurrent-snapshots', 'vitest/require-mock-type-parameters', 'vitest/require-test-timeout', 'vitest/require-to-throw-message', 'vitest/require-top-level-describe', 'vitest/valid-describe-callback', 'vitest/valid-expect', 'vitest/valid-expect-in-promise', 'vitest/valid-title', 'vitest/warn-todo', 'vue/define-emits-declaration', 'vue/define-props-declaration', 'vue/define-props-destructuring', 'vue/max-props', 'vue/no-arrow-functions-in-watch', 'vue/no-deprecated-data-object-declaration', 'vue/no-deprecated-delete-set', 'vue/no-deprecated-destroyed-lifecycle', 'vue/no-deprecated-events-api', 'vue/no-deprecated-model-definition', 'vue/no-deprecated-vue-config-keycodes', 'vue/no-export-in-script-setup', 'vue/no-import-compiler-macros', 'vue/no-lifecycle-after-await', 'vue/no-multiple-slot-args', 'vue/no-required-prop-with-default', 'vue/no-this-in-before-route-enter', 'vue/prefer-import-from-vue', 'vue/require-default-export', 'vue/require-typed-ref', 'vue/return-in-computed-property', 'vue/valid-define-emits', 'vue/valid-define-props', 'yoda'];
1711
+ interface BuiltinRuleOptionsByName extends EslintRuleOptionsByName, ImportRuleOptionsByName, JestRuleOptionsByName, JsdocRuleOptionsByName, JsxA11yRuleOptionsByName, NextjsRuleOptionsByName, NodeRuleOptionsByName, OxcRuleOptionsByName, PromiseRuleOptionsByName, ReactRuleOptionsByName, ReactPerfRuleOptionsByName, TypescriptRuleOptionsByName, UnicornRuleOptionsByName, VitestRuleOptionsByName, VueRuleOptionsByName {
1712
+ 'accessor-pairs': {
1713
+ setWithoutGet?: boolean;
1714
+ getWithoutSet?: boolean;
1715
+ enforceForClassMembers?: boolean;
1716
+ enforceForTSTypes?: boolean;
1717
+ };
1718
+ 'array-callback-return': {
1719
+ checkForEach?: boolean;
1720
+ allowImplicit?: boolean;
1721
+ allowVoid?: boolean;
1722
+ };
1723
+ 'arrow-body-style': readonly ['as-needed' | 'always' | 'never', {
1724
+ requireReturnForObjectLiteral?: boolean;
1725
+ }];
1726
+ 'block-scoped-var': never;
1727
+ 'capitalized-comments': readonly ['Always' | 'Never', {
1728
+ base?: {
1729
+ ignorePattern?: string;
1730
+ ignoreInlineComments?: boolean;
1731
+ ignoreConsecutiveComments?: boolean;
1732
+ };
1733
+ line?: {
1734
+ ignorePattern?: string;
1735
+ ignoreInlineComments?: boolean;
1736
+ ignoreConsecutiveComments?: boolean;
1737
+ };
1738
+ block?: {
1739
+ ignorePattern?: string;
1740
+ ignoreInlineComments?: boolean;
1741
+ ignoreConsecutiveComments?: boolean;
1742
+ };
1743
+ }];
1744
+ 'class-methods-use-this': {
1745
+ exceptMethods?: readonly {
1746
+ name?: string;
1747
+ private?: boolean;
1748
+ }[];
1749
+ enforceForClassFields?: boolean;
1750
+ ignoreOverrideMethods?: boolean;
1751
+ ignoreClassesWithImplements?: 'all' | 'public-fields';
1752
+ };
1753
+ complexity: {
1754
+ max?: number;
1755
+ variant?: 'classic' | 'modified';
1756
+ };
1757
+ 'constructor-super': never;
1758
+ curly: readonly ['all' | 'multi' | 'multi-line' | 'multi-or-nest', 'consistent'];
1759
+ 'default-case': {
1760
+ commentPattern?: string;
1761
+ };
1762
+ 'default-case-last': never;
1763
+ 'default-param-last': never;
1764
+ eqeqeq: readonly ['always' | 'smart', {
1765
+ null?: 'always' | 'never' | 'ignore';
1766
+ }];
1767
+ 'for-direction': never;
1768
+ 'func-name-matching': readonly ['always' | 'never', {
1769
+ considerPropertyDescriptor?: boolean;
1770
+ includeCommonJSModuleExports?: boolean;
1771
+ }];
1772
+ 'func-names': readonly ['always' | 'as-needed' | 'never', {
1773
+ generators?: 'always' | 'as-needed' | 'never';
1774
+ }];
1775
+ 'func-style': readonly ['expression' | 'declaration', {
1776
+ allowArrowFunctions?: boolean;
1777
+ allowTypeAnnotation?: boolean;
1778
+ overrides?: {
1779
+ namedExports?: 'ignore' | 'expression' | 'declaration';
1780
+ };
1781
+ }];
1782
+ 'getter-return': {
1783
+ allowImplicit?: boolean;
1784
+ };
1785
+ 'grouped-accessor-pairs': readonly ['anyOrder' | 'getBeforeSet' | 'setBeforeGet', {
1786
+ enforceForTSTypes?: boolean;
1787
+ }];
1788
+ 'guard-for-in': never;
1789
+ 'id-length': {
1790
+ exceptionPatterns?: readonly string[];
1791
+ exceptions?: readonly string[];
1792
+ max?: number;
1793
+ min?: number;
1794
+ checkGeneric?: boolean;
1795
+ properties?: 'Always' | 'Never';
1796
+ };
1797
+ 'init-declarations': readonly ['always' | 'never', {
1798
+ ignoreForLoopInit?: boolean;
1799
+ }];
1800
+ 'logical-assignment-operators': readonly ['always' | 'never', {
1801
+ enforceForIfStatements?: boolean;
1802
+ }];
1803
+ 'max-classes-per-file': {
1804
+ max?: number;
1805
+ ignoreExpressions?: boolean;
1806
+ };
1807
+ 'max-depth': {
1808
+ max?: number;
1809
+ };
1810
+ 'max-lines': {
1811
+ max?: number;
1812
+ skipBlankLines?: boolean;
1813
+ skipComments?: boolean;
1814
+ };
1815
+ 'max-lines-per-function': {
1816
+ max?: number;
1817
+ skipComments?: boolean;
1818
+ skipBlankLines?: boolean;
1819
+ IIFEs?: boolean;
1820
+ };
1821
+ 'max-nested-callbacks': {
1822
+ max?: number;
1823
+ };
1824
+ 'max-params': {
1825
+ max?: number;
1826
+ countThis?: 'always' | 'never' | 'except-void';
1827
+ countVoidThis?: boolean;
1828
+ };
1829
+ 'max-statements': {
1830
+ max?: number;
1831
+ ignoreTopLevelFunctions?: boolean;
1832
+ };
1833
+ 'new-cap': {
1834
+ newIsCap?: boolean;
1835
+ capIsNew?: boolean;
1836
+ newIsCapExceptions?: readonly string[];
1837
+ newIsCapExceptionPattern?: string;
1838
+ capIsNewExceptions?: readonly string[];
1839
+ capIsNewExceptionPattern?: string;
1840
+ properties?: boolean;
1841
+ };
1842
+ 'no-alert': never;
1843
+ 'no-array-constructor': never;
1844
+ 'no-async-promise-executor': never;
1845
+ 'no-await-in-loop': never;
1846
+ 'no-bitwise': {
1847
+ allow?: readonly string[];
1848
+ int32Hint?: boolean;
1849
+ };
1850
+ 'no-caller': never;
1851
+ 'no-case-declarations': never;
1852
+ 'no-class-assign': never;
1853
+ 'no-compare-neg-zero': never;
1854
+ 'no-cond-assign': 'except-parens' | 'always';
1855
+ 'no-console': {
1856
+ allow?: readonly string[];
1857
+ };
1858
+ 'no-const-assign': never;
1859
+ 'no-constant-binary-expression': never;
1860
+ 'no-constant-condition': {
1861
+ checkLoops?: 'all' | 'allExceptWhileTrue' | 'none';
1862
+ };
1863
+ 'no-constructor-return': never;
1864
+ 'no-continue': never;
1865
+ 'no-control-regex': never;
1866
+ 'no-debugger': never;
1867
+ 'no-delete-var': never;
1868
+ 'no-div-regex': never;
1869
+ 'no-dupe-class-members': never;
1870
+ 'no-dupe-else-if': never;
1871
+ 'no-dupe-keys': never;
1872
+ 'no-duplicate-case': never;
1873
+ 'no-duplicate-imports': {
1874
+ includeExports?: boolean;
1875
+ allowSeparateTypeImports?: boolean;
1876
+ };
1877
+ 'no-else-return': {
1878
+ allowElseIf?: boolean;
1879
+ };
1880
+ 'no-empty': {
1881
+ allowEmptyCatch?: boolean;
1882
+ };
1883
+ 'no-empty-character-class': never;
1884
+ 'no-empty-function': {
1885
+ allow?: readonly ('functions' | 'arrowFunctions' | 'generatorFunctions' | 'methods' | 'generatorMethods' | 'getters' | 'setters' | 'constructors' | 'asyncFunctions' | 'asyncMethods' | 'privateConstructors' | 'protectedConstructors' | 'decoratedFunctions' | 'overrideMethods')[];
1886
+ };
1887
+ 'no-empty-pattern': {
1888
+ allowObjectPatternsAsParameters?: boolean;
1889
+ };
1890
+ 'no-empty-static-block': never;
1891
+ 'no-eq-null': never;
1892
+ 'no-eval': {
1893
+ allowIndirect?: boolean;
1894
+ };
1895
+ 'no-ex-assign': never;
1896
+ 'no-extend-native': {
1897
+ exceptions?: readonly string[];
1898
+ };
1899
+ 'no-extra-bind': never;
1900
+ 'no-extra-boolean-cast': {
1901
+ enforceForInnerExpressions?: boolean;
1902
+ };
1903
+ 'no-extra-label': never;
1904
+ 'no-fallthrough': {
1905
+ commentPattern?: string;
1906
+ allowEmptyCase?: boolean;
1907
+ reportUnusedFallthroughComment?: boolean;
1908
+ };
1909
+ 'no-func-assign': never;
1910
+ 'no-global-assign': {
1911
+ exceptions?: readonly string[];
1912
+ };
1913
+ 'no-implicit-coercion': {
1914
+ boolean?: boolean;
1915
+ number?: boolean;
1916
+ string?: boolean;
1917
+ disallowTemplateShorthand?: boolean;
1918
+ allow?: never;
1919
+ };
1920
+ 'no-import-assign': never;
1921
+ 'no-inline-comments': {
1922
+ ignorePattern?: string;
1923
+ };
1924
+ 'no-inner-declarations': readonly ['Functions' | 'Both', {
1925
+ blockScopedFunctions?: 'Allow' | 'Disallow';
1926
+ }];
1927
+ 'no-invalid-regexp': {
1928
+ allowConstructorFlags?: readonly unknown[];
1929
+ };
1930
+ 'no-irregular-whitespace': {
1931
+ skipStrings?: boolean;
1932
+ skipComments?: boolean;
1933
+ skipRegExps?: boolean;
1934
+ skipTemplates?: boolean;
1935
+ skipJSXText?: boolean;
1936
+ };
1937
+ 'no-iterator': never;
1938
+ 'no-label-var': never;
1939
+ 'no-labels': {
1940
+ allowLoop?: boolean;
1941
+ allowSwitch?: boolean;
1942
+ };
1943
+ 'no-lone-blocks': never;
1944
+ 'no-lonely-if': never;
1945
+ 'no-loop-func': never;
1946
+ 'no-loss-of-precision': never;
1947
+ 'no-magic-numbers': {
1948
+ ignore?: readonly unknown[];
1949
+ ignoreArrayIndexes?: boolean;
1950
+ ignoreDefaultValues?: boolean;
1951
+ ignoreClassFieldInitialValues?: boolean;
1952
+ enforceConst?: boolean;
1953
+ detectObjects?: boolean;
1954
+ ignoreEnums?: boolean;
1955
+ ignoreNumericLiteralTypes?: boolean;
1956
+ ignoreReadonlyClassProperties?: boolean;
1957
+ ignoreTypeIndexes?: boolean;
1958
+ };
1959
+ 'no-misleading-character-class': {
1960
+ allowEscape?: boolean;
1961
+ };
1962
+ 'no-multi-assign': {
1963
+ ignoreNonDeclaration?: boolean;
1964
+ };
1965
+ 'no-multi-str': never;
1966
+ 'no-negated-condition': never;
1967
+ 'no-nested-ternary': never;
1968
+ 'no-new': never;
1969
+ 'no-new-func': never;
1970
+ 'no-new-native-nonconstructor': never;
1971
+ 'no-new-wrappers': never;
1972
+ 'no-nonoctal-decimal-escape': never;
1973
+ 'no-obj-calls': never;
1974
+ 'no-object-constructor': never;
1975
+ 'no-param-reassign': {
1976
+ props?: boolean;
1977
+ ignorePropertyModificationsFor?: unknown;
1978
+ ignorePropertyModificationsForRegex?: readonly string[];
1979
+ };
1980
+ 'no-plusplus': {
1981
+ allowForLoopAfterthoughts?: boolean;
1982
+ };
1983
+ 'no-promise-executor-return': {
1984
+ allowVoid?: boolean;
1985
+ };
1986
+ 'no-proto': never;
1987
+ 'no-prototype-builtins': never;
1988
+ 'no-redeclare': {
1989
+ builtinGlobals?: boolean;
1990
+ };
1991
+ 'no-regex-spaces': never;
1992
+ 'no-restricted-exports': {
1993
+ restrictedNamedExports?: unknown;
1994
+ restrictedNamedExportsPattern?: string;
1995
+ restrictDefaultExports?: {
1996
+ defaultFrom?: boolean;
1997
+ direct?: boolean;
1998
+ named?: boolean;
1999
+ namedFrom?: boolean;
2000
+ namespaceFrom?: boolean;
2001
+ };
2002
+ hasDefaultRestrictedNamedExport?: boolean;
2003
+ };
2004
+ 'no-restricted-globals': {
2005
+ restrictedGlobals?: unknown;
2006
+ };
2007
+ 'no-restricted-imports': unknown;
2008
+ 'no-restricted-properties': readonly {
2009
+ object?: string;
2010
+ property?: string;
2011
+ message?: string;
2012
+ allowObjects?: readonly string[];
2013
+ allowProperties?: readonly string[];
2014
+ }[];
2015
+ 'no-return-assign': 'always' | 'except-parens';
2016
+ 'no-script-url': never;
2017
+ 'no-self-assign': {
2018
+ props?: boolean;
2019
+ };
2020
+ 'no-self-compare': never;
2021
+ 'no-sequences': {
2022
+ allowInParentheses?: boolean;
2023
+ };
2024
+ 'no-setter-return': never;
2025
+ 'no-shadow': {
2026
+ hoist?: 'all' | 'functions' | 'functions-and-types' | 'never' | 'types';
2027
+ allow?: readonly string[];
2028
+ ignoreTypeValueShadow?: boolean;
2029
+ ignoreFunctionTypeParameterNameValueShadow?: boolean;
2030
+ builtinGlobals?: boolean;
2031
+ ignoreOnInitialization?: boolean;
2032
+ };
2033
+ 'no-shadow-restricted-names': {
2034
+ reportGlobalThis?: boolean;
2035
+ };
2036
+ 'no-sparse-arrays': never;
2037
+ 'no-template-curly-in-string': never;
2038
+ 'no-ternary': never;
2039
+ 'no-this-before-super': never;
2040
+ 'no-throw-literal': never;
2041
+ 'no-unassigned-vars': never;
2042
+ 'no-undef': {
2043
+ typeof?: boolean;
2044
+ };
2045
+ 'no-undefined': never;
2046
+ 'no-underscore-dangle': {
2047
+ allowAfterSuper?: boolean;
2048
+ allowAfterThisConstructor?: boolean;
2049
+ allow?: readonly string[];
2050
+ allowAfterThis?: boolean;
2051
+ allowInArrayDestructuring?: boolean;
2052
+ allowInObjectDestructuring?: boolean;
2053
+ allowFunctionParams?: boolean;
2054
+ enforceInClassFields?: boolean;
2055
+ enforceInMethodNames?: boolean;
2056
+ };
2057
+ 'no-unexpected-multiline': never;
2058
+ 'no-unmodified-loop-condition': never;
2059
+ 'no-unneeded-ternary': {
2060
+ defaultAssignment?: boolean;
2061
+ };
2062
+ 'no-unreachable': never;
2063
+ 'no-unsafe-finally': never;
2064
+ 'no-unsafe-negation': {
2065
+ enforceForOrderingRelations?: boolean;
2066
+ };
2067
+ 'no-unsafe-optional-chaining': {
2068
+ disallowArithmeticOperators?: boolean;
2069
+ };
2070
+ 'no-unused-expressions': {
2071
+ allowShortCircuit?: boolean;
2072
+ allowTernary?: boolean;
2073
+ allowTaggedTemplates?: boolean;
2074
+ enforceForJSX?: boolean;
2075
+ };
2076
+ 'no-unused-labels': never;
2077
+ 'no-unused-private-class-members': never;
2078
+ 'no-unused-vars': {
2079
+ vars?: 'all' | 'local';
2080
+ varsIgnorePattern?: 'Default' | 'None';
2081
+ args?: 'after-used' | 'all' | 'none';
2082
+ argsIgnorePattern?: 'Default' | 'None';
2083
+ ignoreRestSiblings?: boolean;
2084
+ caughtErrors?: boolean;
2085
+ caughtErrorsIgnorePattern?: 'Default' | 'None';
2086
+ destructuredArrayIgnorePattern?: 'Default' | 'None';
2087
+ ignoreClassWithStaticInitBlock?: boolean;
2088
+ ignoreUsingDeclarations?: boolean;
2089
+ reportUsedIgnorePattern?: boolean;
2090
+ reportVarsOnlyUsedAsTypes?: boolean;
2091
+ fix?: {
2092
+ imports?: 'off' | 'suggestion' | 'fix' | 'safe-fix';
2093
+ variables?: 'off' | 'suggestion' | 'fix' | 'safe-fix';
2094
+ };
2095
+ };
2096
+ 'no-use-before-define': {
2097
+ allowNamedExports?: boolean;
2098
+ classes?: boolean;
2099
+ enums?: boolean;
2100
+ functions?: boolean;
2101
+ ignoreTypeReferences?: boolean;
2102
+ typedefs?: boolean;
2103
+ variables?: boolean;
2104
+ };
2105
+ 'no-useless-assignment': never;
2106
+ 'no-useless-backreference': never;
2107
+ 'no-useless-call': never;
2108
+ 'no-useless-catch': never;
2109
+ 'no-useless-computed-key': {
2110
+ enforceForClassMembers?: boolean;
2111
+ };
2112
+ 'no-useless-concat': never;
2113
+ 'no-useless-constructor': never;
2114
+ 'no-useless-escape': {
2115
+ allowRegexCharacters?: readonly unknown[];
2116
+ };
2117
+ 'no-useless-rename': {
2118
+ ignoreDestructuring?: boolean;
2119
+ ignoreImport?: boolean;
2120
+ ignoreExport?: boolean;
2121
+ };
2122
+ 'no-useless-return': never;
2123
+ 'no-var': never;
2124
+ 'no-void': {
2125
+ allowAsStatement?: boolean;
2126
+ };
2127
+ 'no-warning-comments': unknown;
2128
+ 'no-with': never;
2129
+ 'object-shorthand': readonly [('always' | 'methods' | 'properties' | 'consistent' | 'consistent-as-needed' | 'never'), {
2130
+ avoidQuotes?: boolean;
2131
+ ignoreConstructors?: boolean;
2132
+ avoidExplicitReturnArrows?: boolean;
2133
+ methodsIgnorePattern?: string;
2134
+ }];
2135
+ 'operator-assignment': 'always' | 'never';
2136
+ 'prefer-const': {
2137
+ destructuring?: 'any' | 'all';
2138
+ ignoreReadBeforeAssign?: boolean;
2139
+ };
2140
+ 'prefer-destructuring': {
2141
+ VariableDeclarator?: {
2142
+ array?: boolean;
2143
+ object?: boolean;
2144
+ };
2145
+ AssignmentExpression?: {
2146
+ array?: boolean;
2147
+ object?: boolean;
2148
+ };
2149
+ enforceForRenamedProperties?: boolean;
2150
+ };
2151
+ 'prefer-exponentiation-operator': never;
2152
+ 'prefer-numeric-literals': never;
2153
+ 'prefer-object-has-own': never;
2154
+ 'prefer-object-spread': never;
2155
+ 'prefer-promise-reject-errors': {
2156
+ allowEmptyReject?: boolean;
2157
+ };
2158
+ 'prefer-rest-params': never;
2159
+ 'prefer-spread': never;
2160
+ 'prefer-template': never;
2161
+ 'preserve-caught-error': {
2162
+ requireCatchParameter?: boolean;
2163
+ };
2164
+ radix: 'always' | 'as-needed';
2165
+ 'require-await': never;
2166
+ 'require-unicode-regexp': {
2167
+ requireFlag?: 'u' | 'v';
2168
+ };
2169
+ 'require-yield': never;
2170
+ 'sort-imports': {
2171
+ ignoreCase?: boolean;
2172
+ ignoreDeclarationSort?: boolean;
2173
+ ignoreMemberSort?: boolean;
2174
+ allowSeparatedGroups?: boolean;
2175
+ memberSyntaxSortOrder?: readonly ('None' | 'All' | 'Multiple' | 'Single')[];
2176
+ };
2177
+ 'sort-keys': readonly ['Desc' | 'Asc', {
2178
+ caseSensitive?: boolean;
2179
+ natural?: boolean;
2180
+ minKeys?: number;
2181
+ allowLineSeparatedGroups?: boolean;
2182
+ }];
2183
+ 'sort-vars': {
2184
+ ignoreCase?: boolean;
2185
+ };
2186
+ 'symbol-description': never;
2187
+ 'unicode-bom': 'always' | 'never';
2188
+ 'use-isnan': {
2189
+ enforceForSwitchCase?: boolean;
2190
+ enforceForIndexOf?: boolean;
2191
+ };
2192
+ 'valid-typeof': {
2193
+ requireStringLiterals?: boolean;
2194
+ };
2195
+ 'vars-on-top': never;
2196
+ yoda: readonly ['never' | 'always', {
2197
+ exceptRange?: boolean;
2198
+ onlyEquality?: boolean;
2199
+ }];
2200
+ '@typescript-eslint/adjacent-overload-signatures': never;
2201
+ '@typescript-eslint/array-type': {
2202
+ default?: 'array' | 'array-simple' | 'generic';
2203
+ readonly?: 'array' | 'array-simple' | 'generic';
2204
+ };
2205
+ '@typescript-eslint/await-thenable': never;
2206
+ '@typescript-eslint/ban-ts-comment': {
2207
+ ts_expect_error?: 'allow-with-description';
2208
+ ts_ignore?: 'allow-with-description';
2209
+ ts_nocheck?: 'allow-with-description';
2210
+ ts_check?: 'allow-with-description';
2211
+ minimumDescriptionLength?: number;
2212
+ };
2213
+ '@typescript-eslint/ban-tslint-comment': never;
2214
+ '@typescript-eslint/ban-types': never;
2215
+ '@typescript-eslint/class-literal-property-style': 'Fields' | 'Getters';
2216
+ '@typescript-eslint/consistent-generic-constructors': {
2217
+ option?: 'constructor' | 'type-annotation';
2218
+ };
2219
+ '@typescript-eslint/consistent-indexed-object-style': 'record' | 'index-signature';
2220
+ '@typescript-eslint/consistent-return': {
2221
+ treatUndefinedAsUnspecified?: boolean;
2222
+ };
2223
+ '@typescript-eslint/consistent-type-assertions': {
2224
+ assertionStyle?: 'as' | 'angle-bracket' | 'never';
2225
+ objectLiteralTypeAssertions?: 'allow' | 'allow-as-parameter' | 'never';
2226
+ arrayLiteralTypeAssertions?: 'allow' | 'allow-as-parameter' | 'never';
2227
+ };
2228
+ '@typescript-eslint/consistent-type-definitions': 'interface' | 'type';
2229
+ '@typescript-eslint/consistent-type-exports': {
2230
+ fixMixedExportsWithInlineTypeSpecifier?: boolean;
2231
+ };
2232
+ '@typescript-eslint/consistent-type-imports': {
2233
+ disallowTypeAnnotations?: boolean;
2234
+ fixStyle?: 'separate-type-imports' | 'inline-type-imports';
2235
+ prefer?: 'type-imports' | 'no-type-imports';
2236
+ };
2237
+ '@typescript-eslint/dot-notation': {
2238
+ allowIndexSignaturePropertyAccess?: boolean;
2239
+ allowKeywords?: boolean;
2240
+ allowPattern?: string;
2241
+ allowPrivateClassPropertyAccess?: boolean;
2242
+ allowProtectedClassPropertyAccess?: boolean;
2243
+ };
2244
+ '@typescript-eslint/explicit-function-return-type': {
2245
+ allowExpressions?: boolean;
2246
+ allowTypedFunctionExpressions?: boolean;
2247
+ allowDirectConstAssertionInArrowFunctions?: boolean;
2248
+ allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean;
2249
+ allowFunctionsWithoutTypeParameters?: boolean;
2250
+ allowedNames?: unknown;
2251
+ allowHigherOrderFunctions?: boolean;
2252
+ allowIIFEs?: boolean;
2253
+ };
2254
+ '@typescript-eslint/explicit-member-accessibility': {
2255
+ accessibility?: 'explicit' | 'no-public' | 'off';
2256
+ overrides?: {
2257
+ accessors?: 'explicit' | 'no-public' | 'off';
2258
+ constructors?: 'explicit' | 'no-public' | 'off';
2259
+ methods?: 'explicit' | 'no-public' | 'off';
2260
+ parameterProperties?: 'explicit' | 'no-public' | 'off';
2261
+ properties?: 'explicit' | 'no-public' | 'off';
2262
+ };
2263
+ ignoredMethodNames?: readonly string[];
2264
+ };
2265
+ '@typescript-eslint/explicit-module-boundary-types': {
2266
+ allowArgumentsExplicitlyTypedAsAny?: boolean;
2267
+ allowDirectConstAssertionInArrowFunctions?: boolean;
2268
+ allowedNames?: readonly string[];
2269
+ allowHigherOrderFunctions?: boolean;
2270
+ allowOverloadFunctions?: boolean;
2271
+ allowTypedFunctionExpressions?: boolean;
2272
+ };
2273
+ '@typescript-eslint/no-array-delete': never;
2274
+ '@typescript-eslint/no-base-to-string': {
2275
+ checkUnknown?: boolean;
2276
+ ignoredTypeNames?: readonly string[];
2277
+ };
2278
+ '@typescript-eslint/no-confusing-non-null-assertion': never;
2279
+ '@typescript-eslint/no-confusing-void-expression': {
2280
+ ignoreArrowShorthand?: boolean;
2281
+ ignoreVoidOperator?: boolean;
2282
+ ignoreVoidReturningFunctions?: boolean;
2283
+ };
2284
+ '@typescript-eslint/no-deprecated': {
2285
+ allow?: readonly unknown[];
2286
+ };
2287
+ '@typescript-eslint/no-duplicate-enum-values': never;
2288
+ '@typescript-eslint/no-duplicate-type-constituents': {
2289
+ ignoreIntersections?: boolean;
2290
+ ignoreUnions?: boolean;
2291
+ };
2292
+ '@typescript-eslint/no-dynamic-delete': never;
2293
+ '@typescript-eslint/no-empty-interface': never;
2294
+ '@typescript-eslint/no-empty-object-type': {
2295
+ allowInterfaces?: 'never' | 'always' | 'with-single-extends';
2296
+ allowObjectTypes?: 'never' | 'always';
2297
+ allowWithName?: string;
2298
+ };
2299
+ '@typescript-eslint/no-explicit-any': {
2300
+ fixToUnknown?: boolean;
2301
+ ignoreRestArgs?: boolean;
2302
+ };
2303
+ '@typescript-eslint/no-extra-non-null-assertion': never;
2304
+ '@typescript-eslint/no-extraneous-class': {
2305
+ allowConstructorOnly?: boolean;
2306
+ allowEmpty?: boolean;
2307
+ allowStaticOnly?: boolean;
2308
+ allowWithDecorator?: boolean;
2309
+ };
2310
+ '@typescript-eslint/no-floating-promises': {
2311
+ allowForKnownSafeCalls?: readonly unknown[];
2312
+ allowForKnownSafePromises?: readonly unknown[];
2313
+ checkThenables?: boolean;
2314
+ ignoreIIFE?: boolean;
2315
+ ignoreVoid?: boolean;
2316
+ };
2317
+ '@typescript-eslint/no-for-in-array': never;
2318
+ '@typescript-eslint/no-implied-eval': never;
2319
+ '@typescript-eslint/no-import-type-side-effects': never;
2320
+ '@typescript-eslint/no-inferrable-types': {
2321
+ ignoreParameters?: boolean;
2322
+ ignoreProperties?: boolean;
2323
+ };
2324
+ '@typescript-eslint/no-invalid-void-type': {
2325
+ allowAsThisParameter?: boolean;
2326
+ allowInGenericTypeArguments?: unknown;
2327
+ };
2328
+ '@typescript-eslint/no-meaningless-void-operator': {
2329
+ checkNever?: boolean;
2330
+ };
2331
+ '@typescript-eslint/no-misused-new': never;
2332
+ '@typescript-eslint/no-misused-promises': {
2333
+ checksConditionals?: boolean;
2334
+ checksSpreads?: boolean;
2335
+ checksVoidReturn?: unknown;
2336
+ };
2337
+ '@typescript-eslint/no-misused-spread': {
2338
+ allow?: readonly unknown[];
2339
+ };
2340
+ '@typescript-eslint/no-mixed-enums': never;
2341
+ '@typescript-eslint/no-namespace': {
2342
+ allowDeclarations?: boolean;
2343
+ allowDefinitionFiles?: boolean;
2344
+ };
2345
+ '@typescript-eslint/no-non-null-asserted-nullish-coalescing': never;
2346
+ '@typescript-eslint/no-non-null-asserted-optional-chain': never;
2347
+ '@typescript-eslint/no-non-null-assertion': never;
2348
+ '@typescript-eslint/no-redundant-type-constituents': never;
2349
+ '@typescript-eslint/no-require-imports': {
2350
+ allow?: readonly string[];
2351
+ allowAsImport?: boolean;
2352
+ };
2353
+ '@typescript-eslint/no-restricted-types': {
2354
+ types?: unknown;
2355
+ };
2356
+ '@typescript-eslint/no-this-alias': {
2357
+ allowDestructuring?: boolean;
2358
+ };
2359
+ '@typescript-eslint/no-unnecessary-boolean-literal-compare': {
2360
+ allowComparingNullableBooleansToFalse?: boolean;
2361
+ allowComparingNullableBooleansToTrue?: boolean;
2362
+ };
2363
+ '@typescript-eslint/no-unnecessary-condition': {
2364
+ allowConstantLoopConditions?: unknown;
2365
+ checkTypePredicates?: boolean;
2366
+ };
2367
+ '@typescript-eslint/no-unnecessary-parameter-property-assignment': never;
2368
+ '@typescript-eslint/no-unnecessary-qualifier': never;
2369
+ '@typescript-eslint/no-unnecessary-template-expression': never;
2370
+ '@typescript-eslint/no-unnecessary-type-arguments': never;
2371
+ '@typescript-eslint/no-unnecessary-type-assertion': {
2372
+ checkLiteralConstAssertions?: boolean;
2373
+ typesToIgnore?: readonly string[];
2374
+ };
2375
+ '@typescript-eslint/no-unnecessary-type-constraint': never;
2376
+ '@typescript-eslint/no-unnecessary-type-conversion': never;
2377
+ '@typescript-eslint/no-unnecessary-type-parameters': never;
2378
+ '@typescript-eslint/no-unsafe-argument': never;
2379
+ '@typescript-eslint/no-unsafe-assignment': never;
2380
+ '@typescript-eslint/no-unsafe-call': never;
2381
+ '@typescript-eslint/no-unsafe-declaration-merging': never;
2382
+ '@typescript-eslint/no-unsafe-enum-comparison': never;
2383
+ '@typescript-eslint/no-unsafe-function-type': never;
2384
+ '@typescript-eslint/no-unsafe-member-access': {
2385
+ allowOptionalChaining?: boolean;
2386
+ };
2387
+ '@typescript-eslint/no-unsafe-return': never;
2388
+ '@typescript-eslint/no-unsafe-type-assertion': never;
2389
+ '@typescript-eslint/no-unsafe-unary-minus': never;
2390
+ '@typescript-eslint/no-useless-default-assignment': never;
2391
+ '@typescript-eslint/no-useless-empty-export': never;
2392
+ '@typescript-eslint/no-var-requires': never;
2393
+ '@typescript-eslint/no-wrapper-object-types': never;
2394
+ '@typescript-eslint/non-nullable-type-assertion-style': never;
2395
+ '@typescript-eslint/only-throw-error': {
2396
+ allow?: readonly unknown[];
2397
+ allowRethrowing?: boolean;
2398
+ allowThrowingAny?: boolean;
2399
+ allowThrowingUnknown?: boolean;
2400
+ };
2401
+ '@typescript-eslint/parameter-properties': {
2402
+ allow?: readonly ('private' | 'private readonly' | 'protected' | 'protected readonly' | 'public' | 'public readonly' | 'readonly')[];
2403
+ prefer?: 'class-property' | 'parameter-property';
2404
+ };
2405
+ '@typescript-eslint/prefer-as-const': never;
2406
+ '@typescript-eslint/prefer-enum-initializers': never;
2407
+ '@typescript-eslint/prefer-find': never;
2408
+ '@typescript-eslint/prefer-for-of': never;
2409
+ '@typescript-eslint/prefer-function-type': never;
2410
+ '@typescript-eslint/prefer-includes': never;
2411
+ '@typescript-eslint/prefer-literal-enum-member': {
2412
+ allowBitwiseExpressions?: boolean;
2413
+ };
2414
+ '@typescript-eslint/prefer-namespace-keyword': never;
2415
+ '@typescript-eslint/prefer-nullish-coalescing': {
2416
+ ignoreBooleanCoercion?: boolean;
2417
+ ignoreConditionalTests?: boolean;
2418
+ ignoreIfStatements?: boolean;
2419
+ ignoreMixedLogicalExpressions?: boolean;
2420
+ ignoreTernaryTests?: boolean;
2421
+ ignorePrimitives?: unknown;
2422
+ };
2423
+ '@typescript-eslint/prefer-optional-chain': {
2424
+ allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean;
2425
+ checkAny?: boolean;
2426
+ checkBigInt?: boolean;
2427
+ checkBoolean?: boolean;
2428
+ checkNumber?: boolean;
2429
+ checkString?: boolean;
2430
+ checkUnknown?: boolean;
2431
+ requireNullish?: boolean;
2432
+ };
2433
+ '@typescript-eslint/prefer-promise-reject-errors': {
2434
+ allow?: readonly unknown[];
2435
+ allowEmptyReject?: boolean;
2436
+ allowThrowingAny?: boolean;
2437
+ allowThrowingUnknown?: boolean;
2438
+ };
2439
+ '@typescript-eslint/prefer-readonly': {
2440
+ onlyInlineLambdas?: boolean;
2441
+ };
2442
+ '@typescript-eslint/prefer-readonly-parameter-types': {
2443
+ allow?: readonly unknown[];
2444
+ checkParameterProperties?: boolean;
2445
+ ignoreInferredTypes?: boolean;
2446
+ treatMethodsAsReadonly?: boolean;
2447
+ };
2448
+ '@typescript-eslint/prefer-reduce-type-parameter': never;
2449
+ '@typescript-eslint/prefer-regexp-exec': never;
2450
+ '@typescript-eslint/prefer-return-this-type': never;
2451
+ '@typescript-eslint/prefer-string-starts-ends-with': {
2452
+ allowSingleElementEquality?: 'always' | 'never';
2453
+ };
2454
+ '@typescript-eslint/prefer-ts-expect-error': never;
2455
+ '@typescript-eslint/promise-function-async': {
2456
+ allowAny?: boolean;
2457
+ allowedPromiseNames?: readonly string[];
2458
+ checkArrowFunctions?: boolean;
2459
+ checkFunctionDeclarations?: boolean;
2460
+ checkFunctionExpressions?: boolean;
2461
+ checkMethodDeclarations?: boolean;
2462
+ };
2463
+ '@typescript-eslint/related-getter-setter-pairs': never;
2464
+ '@typescript-eslint/require-array-sort-compare': {
2465
+ ignoreStringArrays?: boolean;
2466
+ };
2467
+ '@typescript-eslint/require-await': never;
2468
+ '@typescript-eslint/restrict-plus-operands': {
2469
+ allowAny?: boolean;
2470
+ allowBoolean?: boolean;
2471
+ allowNullish?: boolean;
2472
+ allowNumberAndString?: boolean;
2473
+ allowRegExp?: boolean;
2474
+ skipCompoundAssignments?: boolean;
2475
+ };
2476
+ '@typescript-eslint/restrict-template-expressions': {
2477
+ allowAny?: boolean;
2478
+ allowArray?: boolean;
2479
+ allowBoolean?: boolean;
2480
+ allowNullish?: boolean;
2481
+ allowNumber?: boolean;
2482
+ allowRegExp?: boolean;
2483
+ allowNever?: boolean;
2484
+ allow?: readonly unknown[];
2485
+ };
2486
+ '@typescript-eslint/return-await': 'in-try-catch' | 'always' | 'error-handling-correctness-only' | 'never';
2487
+ '@typescript-eslint/strict-boolean-expressions': {
2488
+ allowAny?: boolean;
2489
+ allowNullableBoolean?: boolean;
2490
+ allowNullableNumber?: boolean;
2491
+ allowNullableString?: boolean;
2492
+ allowNullableEnum?: boolean;
2493
+ allowNullableObject?: boolean;
2494
+ allowString?: boolean;
2495
+ allowNumber?: boolean;
2496
+ };
2497
+ '@typescript-eslint/strict-void-return': {
2498
+ allowReturnAny?: boolean;
2499
+ };
2500
+ '@typescript-eslint/switch-exhaustiveness-check': {
2501
+ allowDefaultCaseForExhaustiveSwitch?: boolean;
2502
+ considerDefaultExhaustiveForUnions?: boolean;
2503
+ defaultCaseCommentPattern?: string;
2504
+ requireDefaultForNonUnion?: boolean;
2505
+ };
2506
+ '@typescript-eslint/triple-slash-reference': {
2507
+ lib?: 'always' | 'never';
2508
+ path?: 'always' | 'never';
2509
+ types?: 'always' | 'never' | 'prefer-import';
2510
+ };
2511
+ '@typescript-eslint/unbound-method': {
2512
+ ignoreStatic?: boolean;
2513
+ };
2514
+ '@typescript-eslint/unified-signatures': {
2515
+ ignoreDifferentlyNamedParameters?: boolean;
2516
+ ignoreOverloadsWithDifferentJSDoc?: boolean;
2517
+ };
2518
+ '@typescript-eslint/use-unknown-in-catch-callback-variable': never;
2519
+ }
2520
+ type BuiltinPluginName = (typeof BUILTIN_PLUGIN_NAMES)[number];
2521
+ type BuiltinRuleName = (typeof BUILTIN_RULE_NAMES)[number];
2522
+ //#endregion
2523
+ //#region src/rules/patch.d.ts
2524
+ interface RuleOptionsPatch {}
2525
+ //#endregion
2526
+ //#region src/types/common.d.ts
2527
+ type RuleSeverity = AllowWarnDeny;
2528
+ type RuleEntry<Options = unknown> = RuleSeverity | readonly [RuleSeverity] | readonly [RuleSeverity, Options] | readonly [RuleSeverity, Options, ...unknown[]];
2529
+ //#endregion
2530
+ //#region src/config.d.ts
2531
+ type BuiltinRuleOptionFor<Name extends string> = Name extends keyof BuiltinRuleOptionsByName ? BuiltinRuleOptionsByName[Name] : never;
2532
+ type RuleOptionFor<Name extends string> = Name extends keyof RuleOptionsPatch ? RuleOptionsPatch[Name] : BuiltinRuleOptionFor<Name>;
2533
+ type RuleName = BuiltinRuleName | Extract<keyof RuleOptionsPatch, string>;
2534
+ type RuleMap = { [Name in RuleName]?: RuleEntry<RuleOptionFor<Name>> };
2535
+ type OxlintConfigBase = Omit<OxlintConfig$1, 'extends' | 'overrides' | 'rules'>;
2536
+ type OxlintOverrideBase = Omit<OxlintOverride$1, 'rules'>;
2537
+ interface OxlintOverride extends OxlintOverrideBase {
2538
+ rules?: RuleMap;
2539
+ }
2540
+ interface OxlintConfig extends OxlintConfigBase {
2541
+ extends?: OxlintConfig[];
2542
+ overrides?: OxlintOverride[];
2543
+ rules?: RuleMap;
2544
+ }
2545
+ //#endregion
3
2546
  //#region src/index.d.ts
4
- declare function defineConfig<T extends OxlintConfig>(config: T): T;
2547
+ declare function defineConfig<const T extends OxlintConfig>(config: T & OxlintConfig): T;
5
2548
  //#endregion
6
- export { defineConfig };
2549
+ export { type BuiltinPluginName, type BuiltinRuleName, type BuiltinRuleOptionsByName, type OxlintConfig, type OxlintOverride, type RuleMap, type RuleName, type RuleOptionsPatch, defineConfig };