@oxlint-types/define-config 0.0.0 → 0.0.2

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