@coderwyd/eslint-config 2.6.4 → 2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -15,6 +15,11 @@ interface RuleOptions {
15
15
  * @see https://eslint.org/docs/latest/rules/accessor-pairs
16
16
  */
17
17
  'accessor-pairs'?: Linter.RuleEntry<AccessorPairs>
18
+ /**
19
+ * Having line breaks styles to object, array and named imports
20
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-chaining.md
21
+ */
22
+ 'antfu/consistent-chaining'?: Linter.RuleEntry<AntfuConsistentChaining>
18
23
  /**
19
24
  * Having line breaks styles to object, array and named imports
20
25
  * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
@@ -22,7 +27,7 @@ interface RuleOptions {
22
27
  'antfu/consistent-list-newline'?: Linter.RuleEntry<AntfuConsistentListNewline>
23
28
  /**
24
29
  * Enforce Anthony's style of curly bracket
25
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.test.ts
30
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.md
26
31
  */
27
32
  'antfu/curly'?: Linter.RuleEntry<[]>
28
33
  /**
@@ -37,7 +42,7 @@ interface RuleOptions {
37
42
  'antfu/import-dedupe'?: Linter.RuleEntry<[]>
38
43
  /**
39
44
  * Enforce consistent indentation in `unindent` template tag
40
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.test.ts
45
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.md
41
46
  */
42
47
  'antfu/indent-unindent'?: Linter.RuleEntry<AntfuIndentUnindent>
43
48
  /**
@@ -231,47 +236,47 @@ interface RuleOptions {
231
236
  'eqeqeq'?: Linter.RuleEntry<Eqeqeq>
232
237
  /**
233
238
  * require a `eslint-enable` comment for every `eslint-disable` comment
234
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html
239
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html
235
240
  */
236
241
  'eslint-comments/disable-enable-pair'?: Linter.RuleEntry<EslintCommentsDisableEnablePair>
237
242
  /**
238
243
  * disallow a `eslint-enable` comment for multiple `eslint-disable` comments
239
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html
244
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html
240
245
  */
241
246
  'eslint-comments/no-aggregating-enable'?: Linter.RuleEntry<[]>
242
247
  /**
243
248
  * disallow duplicate `eslint-disable` comments
244
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html
249
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html
245
250
  */
246
251
  'eslint-comments/no-duplicate-disable'?: Linter.RuleEntry<[]>
247
252
  /**
248
253
  * disallow `eslint-disable` comments about specific rules
249
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html
254
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html
250
255
  */
251
256
  'eslint-comments/no-restricted-disable'?: Linter.RuleEntry<EslintCommentsNoRestrictedDisable>
252
257
  /**
253
258
  * disallow `eslint-disable` comments without rule names
254
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html
259
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html
255
260
  */
256
261
  'eslint-comments/no-unlimited-disable'?: Linter.RuleEntry<[]>
257
262
  /**
258
263
  * disallow unused `eslint-disable` comments
259
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
264
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
260
265
  */
261
266
  'eslint-comments/no-unused-disable'?: Linter.RuleEntry<[]>
262
267
  /**
263
268
  * disallow unused `eslint-enable` comments
264
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html
269
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html
265
270
  */
266
271
  'eslint-comments/no-unused-enable'?: Linter.RuleEntry<[]>
267
272
  /**
268
273
  * disallow ESLint directive-comments
269
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-use.html
274
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-use.html
270
275
  */
271
276
  'eslint-comments/no-use'?: Linter.RuleEntry<EslintCommentsNoUse>
272
277
  /**
273
278
  * require include descriptions in ESLint directive-comments
274
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/require-description.html
279
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/require-description.html
275
280
  */
276
281
  'eslint-comments/require-description'?: Linter.RuleEntry<EslintCommentsRequireDescription>
277
282
  /**
@@ -382,228 +387,233 @@ interface RuleOptions {
382
387
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
383
388
  /**
384
389
  * Enforce or ban the use of inline type-only markers for named imports.
385
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/consistent-type-specifier-style.md
390
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/consistent-type-specifier-style.md
386
391
  */
387
392
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
388
393
  /**
389
394
  * Ensure a default export is present, given a default import.
390
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/default.md
395
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/default.md
391
396
  */
392
397
  'import/default'?: Linter.RuleEntry<[]>
393
398
  /**
394
399
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
395
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/dynamic-import-chunkname.md
400
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/dynamic-import-chunkname.md
396
401
  */
397
402
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
398
403
  /**
399
404
  * Forbid any invalid exports, i.e. re-export of the same name.
400
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/export.md
405
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/export.md
401
406
  */
402
407
  'import/export'?: Linter.RuleEntry<[]>
403
408
  /**
404
409
  * Ensure all exports appear after other statements.
405
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/exports-last.md
410
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/exports-last.md
406
411
  */
407
412
  'import/exports-last'?: Linter.RuleEntry<[]>
408
413
  /**
409
414
  * Ensure consistent use of file extension within the import path.
410
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/extensions.md
415
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/extensions.md
411
416
  */
412
417
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
413
418
  /**
414
419
  * Ensure all imports appear before other statements.
415
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/first.md
420
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/first.md
416
421
  */
417
422
  'import/first'?: Linter.RuleEntry<ImportFirst>
418
423
  /**
419
424
  * Prefer named exports to be grouped together in a single export declaration.
420
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/group-exports.md
425
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/group-exports.md
421
426
  */
422
427
  'import/group-exports'?: Linter.RuleEntry<[]>
423
428
  /**
424
429
  * Replaced by `import-x/first`.
425
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/7b25c1cb95ee18acc1531002fd343e1e6031f9ed/docs/rules/imports-first.md
430
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/imports-first.md
426
431
  * @deprecated
427
432
  */
428
433
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
429
434
  /**
430
435
  * Enforce the maximum number of dependencies a module can have.
431
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/max-dependencies.md
436
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/max-dependencies.md
432
437
  */
433
438
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
434
439
  /**
435
440
  * Ensure named imports correspond to a named export in the remote file.
436
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/named.md
441
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/named.md
437
442
  */
438
443
  'import/named'?: Linter.RuleEntry<ImportNamed>
439
444
  /**
440
445
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
441
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/namespace.md
446
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/namespace.md
442
447
  */
443
448
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
444
449
  /**
445
450
  * Enforce a newline after import statements.
446
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/newline-after-import.md
451
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/newline-after-import.md
447
452
  */
448
453
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
449
454
  /**
450
455
  * Forbid import of modules using absolute paths.
451
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-absolute-path.md
456
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-absolute-path.md
452
457
  */
453
458
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
454
459
  /**
455
460
  * Forbid AMD `require` and `define` calls.
456
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-amd.md
461
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-amd.md
457
462
  */
458
463
  'import/no-amd'?: Linter.RuleEntry<[]>
459
464
  /**
460
465
  * Forbid anonymous values as default exports.
461
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-anonymous-default-export.md
466
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-anonymous-default-export.md
462
467
  */
463
468
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
464
469
  /**
465
470
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
466
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-commonjs.md
471
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-commonjs.md
467
472
  */
468
473
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
469
474
  /**
470
475
  * Forbid a module from importing a module with a dependency path back to itself.
471
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-cycle.md
476
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-cycle.md
472
477
  */
473
478
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
474
479
  /**
475
480
  * Forbid default exports.
476
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-default-export.md
481
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-default-export.md
477
482
  */
478
483
  'import/no-default-export'?: Linter.RuleEntry<[]>
479
484
  /**
480
485
  * Forbid imported names marked with `@deprecated` documentation tag.
481
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-deprecated.md
486
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-deprecated.md
482
487
  */
483
488
  'import/no-deprecated'?: Linter.RuleEntry<[]>
484
489
  /**
485
490
  * Forbid repeated import of the same module in multiple places.
486
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-duplicates.md
491
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-duplicates.md
487
492
  */
488
493
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
489
494
  /**
490
495
  * Forbid `require()` calls with expressions.
491
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-dynamic-require.md
496
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-dynamic-require.md
492
497
  */
493
498
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
494
499
  /**
495
500
  * Forbid empty named import blocks.
496
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-empty-named-blocks.md
501
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-empty-named-blocks.md
497
502
  */
498
503
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
499
504
  /**
500
505
  * Forbid the use of extraneous packages.
501
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-extraneous-dependencies.md
506
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-extraneous-dependencies.md
502
507
  */
503
508
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
504
509
  /**
505
510
  * Forbid import statements with CommonJS module.exports.
506
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-import-module-exports.md
511
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-import-module-exports.md
507
512
  */
508
513
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
509
514
  /**
510
515
  * Forbid importing the submodules of other modules.
511
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-internal-modules.md
516
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-internal-modules.md
512
517
  */
513
518
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
514
519
  /**
515
520
  * Forbid the use of mutable exports with `var` or `let`.
516
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-mutable-exports.md
521
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-mutable-exports.md
517
522
  */
518
523
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
519
524
  /**
520
525
  * Forbid use of exported name as identifier of default export.
521
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default.md
526
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-as-default.md
522
527
  */
523
528
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
524
529
  /**
525
530
  * Forbid use of exported name as property of default export.
526
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default-member.md
531
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-as-default-member.md
527
532
  */
528
533
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
529
534
  /**
530
535
  * Forbid named default exports.
531
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-default.md
536
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-default.md
532
537
  */
533
538
  'import/no-named-default'?: Linter.RuleEntry<[]>
534
539
  /**
535
540
  * Forbid named exports.
536
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-export.md
541
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-export.md
537
542
  */
538
543
  'import/no-named-export'?: Linter.RuleEntry<[]>
539
544
  /**
540
545
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
541
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-namespace.md
546
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-namespace.md
542
547
  */
543
548
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
544
549
  /**
545
550
  * Forbid Node.js builtin modules.
546
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-nodejs-modules.md
551
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-nodejs-modules.md
547
552
  */
548
553
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
549
554
  /**
550
555
  * Forbid importing packages through relative paths.
551
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-packages.md
556
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-relative-packages.md
552
557
  */
553
558
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
554
559
  /**
555
560
  * Forbid importing modules from parent directories.
556
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-parent-imports.md
561
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-relative-parent-imports.md
557
562
  */
558
563
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
564
+ /**
565
+ * Forbid importing a default export by a different name.
566
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-rename-default.md
567
+ */
568
+ 'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
559
569
  /**
560
570
  * Enforce which files can be imported in a given folder.
561
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-restricted-paths.md
571
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-restricted-paths.md
562
572
  */
563
573
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
564
574
  /**
565
575
  * Forbid a module from importing itself.
566
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-self-import.md
576
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-self-import.md
567
577
  */
568
578
  'import/no-self-import'?: Linter.RuleEntry<[]>
569
579
  /**
570
580
  * Forbid unassigned imports.
571
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unassigned-import.md
581
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-unassigned-import.md
572
582
  */
573
583
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
574
584
  /**
575
585
  * Ensure imports point to a file/module that can be resolved.
576
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unresolved.md
586
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-unresolved.md
577
587
  */
578
588
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
579
589
  /**
580
590
  * Forbid modules without exports, or exports without matching import in another module.
581
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unused-modules.md
591
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-unused-modules.md
582
592
  */
583
593
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
584
594
  /**
585
595
  * Forbid unnecessary path segments in import and require statements.
586
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-useless-path-segments.md
596
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-useless-path-segments.md
587
597
  */
588
598
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
589
599
  /**
590
600
  * Forbid webpack loader syntax in imports.
591
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-webpack-loader-syntax.md
601
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-webpack-loader-syntax.md
592
602
  */
593
603
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
594
604
  /**
595
605
  * Enforce a convention in module import order.
596
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/order.md
606
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/order.md
597
607
  */
598
608
  'import/order'?: Linter.RuleEntry<ImportOrder>
599
609
  /**
600
610
  * Prefer a default export if module exports a single name or multiple names.
601
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/prefer-default-export.md
611
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/prefer-default-export.md
602
612
  */
603
613
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
604
614
  /**
605
615
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
606
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/unambiguous.md
616
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/unambiguous.md
607
617
  */
608
618
  'import/unambiguous'?: Linter.RuleEntry<[]>
609
619
  /**
@@ -2403,6 +2413,11 @@ interface RuleOptions {
2403
2413
  * @see https://perfectionist.dev/rules/sort-objects
2404
2414
  */
2405
2415
  'perfectionist/sort-objects'?: Linter.RuleEntry<PerfectionistSortObjects>
2416
+ /**
2417
+ * Enforce sorted sets.
2418
+ * @see https://perfectionist.dev/rules/sort-sets
2419
+ */
2420
+ 'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>
2406
2421
  /**
2407
2422
  * Enforce sorted Svelte attributes.
2408
2423
  * @see https://perfectionist.dev/rules/sort-svelte-attributes
@@ -2572,18 +2587,13 @@ interface RuleOptions {
2572
2587
  */
2573
2588
  'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
2574
2589
  /**
2575
- * enforce custom hooks using other hooks
2576
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-custom-hooks-using-other-hooks
2590
+ * enforce custom hooks to use at least one other hook inside
2591
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-redundant-custom-hook
2577
2592
  */
2578
2593
  'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
2579
2594
  /**
2580
- * enforce 'useCallback' has non-empty dependencies array
2581
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-callback-has-non-empty-deps
2582
- */
2583
- 'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
2584
- /**
2585
- * enforce 'useMemo' has non-empty dependencies array
2586
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
2595
+ * disallow unnecessary usage of 'useMemo'
2596
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
2587
2597
  */
2588
2598
  'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
2589
2599
  /**
@@ -2592,10 +2602,25 @@ interface RuleOptions {
2592
2602
  */
2593
2603
  'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
2594
2604
  /**
2595
- * disallow direct calls to the 'set' function of 'useState' in 'useLayoutEffect'
2596
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
2605
+ * disallow direct calls to the 'set' function of 'useState' in 'useEffect'
2606
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
2597
2607
  */
2598
2608
  'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
2609
+ /**
2610
+ * enforce custom hooks to use at least one other hook inside
2611
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-redundant-custom-hook
2612
+ */
2613
+ 'react-hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>
2614
+ /**
2615
+ * disallow unnecessary usage of 'useCallback'
2616
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
2617
+ */
2618
+ 'react-hooks-extra/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>
2619
+ /**
2620
+ * disallow unnecessary usage of 'useMemo'
2621
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
2622
+ */
2623
+ 'react-hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>
2599
2624
  /**
2600
2625
  * disallow function calls in 'useState' that aren't wrapped in an initializer function
2601
2626
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
@@ -2633,12 +2658,12 @@ interface RuleOptions {
2633
2658
  'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
2634
2659
  'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
2635
2660
  /**
2636
- * avoid using shorthand boolean attribute
2661
+ * disallow using shorthand boolean attributes
2637
2662
  * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
2638
2663
  */
2639
2664
  'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
2640
2665
  /**
2641
- * avoid using shorthand fragment syntax
2666
+ * disallow using shorthand fragment syntax
2642
2667
  * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
2643
2668
  */
2644
2669
  'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
@@ -4242,11 +4267,6 @@ interface RuleOptions {
4242
4267
  * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
4243
4268
  */
4244
4269
  'test/expect-expect'?: Linter.RuleEntry<TestExpectExpect>
4245
- /**
4246
- * Enforce padding around afterAll blocks
4247
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/index.md
4248
- */
4249
- 'test/index'?: Linter.RuleEntry<[]>
4250
4270
  /**
4251
4271
  * enforce a maximum number of expect per test
4252
4272
  * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
@@ -4363,6 +4383,46 @@ interface RuleOptions {
4363
4383
  * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-test-return-statement.md
4364
4384
  */
4365
4385
  'test/no-test-return-statement'?: Linter.RuleEntry<[]>
4386
+ /**
4387
+ * Enforce padding around `afterAll` blocks
4388
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-all-blocks.md
4389
+ */
4390
+ 'test/padding-around-after-all-blocks'?: Linter.RuleEntry<[]>
4391
+ /**
4392
+ * Enforce padding around `afterEach` blocks
4393
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-each-blocks.md
4394
+ */
4395
+ 'test/padding-around-after-each-blocks'?: Linter.RuleEntry<[]>
4396
+ /**
4397
+ * Enforce padding around vitest functions
4398
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-all.md
4399
+ */
4400
+ 'test/padding-around-all'?: Linter.RuleEntry<[]>
4401
+ /**
4402
+ * Enforce padding around `beforeAll` blocks
4403
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-all-blocks.md
4404
+ */
4405
+ 'test/padding-around-before-all-blocks'?: Linter.RuleEntry<[]>
4406
+ /**
4407
+ * Enforce padding around `beforeEach` blocks
4408
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-each-blocks.md
4409
+ */
4410
+ 'test/padding-around-before-each-blocks'?: Linter.RuleEntry<[]>
4411
+ /**
4412
+ * Enforce padding around `describe` blocks
4413
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-describe-blocks.md
4414
+ */
4415
+ 'test/padding-around-describe-blocks'?: Linter.RuleEntry<[]>
4416
+ /**
4417
+ * Enforce padding around `expect` groups
4418
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-expect-groups.md
4419
+ */
4420
+ 'test/padding-around-expect-groups'?: Linter.RuleEntry<[]>
4421
+ /**
4422
+ * Enforce padding around afterAll blocks
4423
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
4424
+ */
4425
+ 'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>
4366
4426
  /**
4367
4427
  * enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
4368
4428
  * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
@@ -4643,6 +4703,11 @@ interface RuleOptions {
4643
4703
  * @see https://typescript-eslint.io/rules/no-confusing-void-expression
4644
4704
  */
4645
4705
  'ts/no-confusing-void-expression'?: Linter.RuleEntry<TsNoConfusingVoidExpression>
4706
+ /**
4707
+ * Disallow using code marked as `@deprecated`
4708
+ * @see https://typescript-eslint.io/rules/no-deprecated
4709
+ */
4710
+ 'ts/no-deprecated'?: Linter.RuleEntry<[]>
4646
4711
  /**
4647
4712
  * Disallow duplicate class members
4648
4713
  * @see https://typescript-eslint.io/rules/no-dupe-class-members
@@ -4867,7 +4932,7 @@ interface RuleOptions {
4867
4932
  */
4868
4933
  'ts/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
4869
4934
  /**
4870
- * Disallow type parameters that only appear once
4935
+ * Disallow type parameters that aren't used multiple times
4871
4936
  * @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
4872
4937
  */
4873
4938
  'ts/no-unnecessary-type-parameters'?: Linter.RuleEntry<[]>
@@ -5130,7 +5195,7 @@ interface RuleOptions {
5130
5195
  */
5131
5196
  'ts/unified-signatures'?: Linter.RuleEntry<TsUnifiedSignatures>
5132
5197
  /**
5133
- * Enforce typing arguments in `.catch()` callbacks as `unknown`
5198
+ * Enforce typing arguments in Promise rejection callbacks as `unknown`
5134
5199
  * @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
5135
5200
  */
5136
5201
  'ts/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>
@@ -5986,7 +6051,7 @@ interface RuleOptions {
5986
6051
  */
5987
6052
  'vue/define-emits-declaration'?: Linter.RuleEntry<VueDefineEmitsDeclaration>
5988
6053
  /**
5989
- * enforce order of `defineEmits` and `defineProps` compiler macros
6054
+ * enforce order of compiler macros (`defineProps`, `defineEmits`, etc.)
5990
6055
  * @see https://eslint.vuejs.org/rules/define-macros-order.html
5991
6056
  */
5992
6057
  'vue/define-macros-order'?: Linter.RuleEntry<VueDefineMacrosOrder>
@@ -6081,7 +6146,7 @@ interface RuleOptions {
6081
6146
  */
6082
6147
  'vue/jsx-uses-vars'?: Linter.RuleEntry<[]>
6083
6148
  /**
6084
- * Enforce consistent spacing between keys and values in object literal properties in `<template>`
6149
+ * Enforce consistent spacing between property names and type annotations in types and interfaces in `<template>`
6085
6150
  * @see https://eslint.vuejs.org/rules/key-spacing.html
6086
6151
  */
6087
6152
  'vue/key-spacing'?: Linter.RuleEntry<VueKeySpacing>
@@ -6115,6 +6180,16 @@ interface RuleOptions {
6115
6180
  * @see https://eslint.vuejs.org/rules/max-lines-per-block.html
6116
6181
  */
6117
6182
  'vue/max-lines-per-block'?: Linter.RuleEntry<VueMaxLinesPerBlock>
6183
+ /**
6184
+ * enforce maximum number of props in Vue component
6185
+ * @see https://eslint.vuejs.org/rules/max-props.html
6186
+ */
6187
+ 'vue/max-props'?: Linter.RuleEntry<VueMaxProps>
6188
+ /**
6189
+ * enforce maximum depth of template
6190
+ * @see https://eslint.vuejs.org/rules/max-template-depth.html
6191
+ */
6192
+ 'vue/max-template-depth'?: Linter.RuleEntry<VueMaxTemplateDepth>
6118
6193
  /**
6119
6194
  * require component names to be always multi-word
6120
6195
  * @see https://eslint.vuejs.org/rules/multi-word-component-names.html
@@ -6171,7 +6246,7 @@ interface RuleOptions {
6171
6246
  */
6172
6247
  'vue/no-child-content'?: Linter.RuleEntry<VueNoChildContent>
6173
6248
  /**
6174
- * disallow accessing computed properties in `data`.
6249
+ * disallow accessing computed properties in `data`
6175
6250
  * @see https://eslint.vuejs.org/rules/no-computed-properties-in-data.html
6176
6251
  */
6177
6252
  'vue/no-computed-properties-in-data'?: Linter.RuleEntry<[]>
@@ -6719,7 +6794,7 @@ interface RuleOptions {
6719
6794
  */
6720
6795
  'vue/padding-lines-in-component-definition'?: Linter.RuleEntry<VuePaddingLinesInComponentDefinition>
6721
6796
  /**
6722
- * enforce use of `defineOptions` instead of default export.
6797
+ * enforce use of `defineOptions` instead of default export
6723
6798
  * @see https://eslint.vuejs.org/rules/prefer-define-options.html
6724
6799
  */
6725
6800
  'vue/prefer-define-options'?: Linter.RuleEntry<[]>
@@ -6754,7 +6829,7 @@ interface RuleOptions {
6754
6829
  */
6755
6830
  'vue/prop-name-casing'?: Linter.RuleEntry<VuePropNameCasing>
6756
6831
  /**
6757
- * Require quotes around object literal property names in `<template>`
6832
+ * Require quotes around object literal, type literal, interfaces and enums property names in `<template>`
6758
6833
  * @see https://eslint.vuejs.org/rules/quote-props.html
6759
6834
  */
6760
6835
  'vue/quote-props'?: Linter.RuleEntry<VueQuoteProps>
@@ -6763,6 +6838,11 @@ interface RuleOptions {
6763
6838
  * @see https://eslint.vuejs.org/rules/require-component-is.html
6764
6839
  */
6765
6840
  'vue/require-component-is'?: Linter.RuleEntry<[]>
6841
+ /**
6842
+ * require components to be the default export
6843
+ * @see https://eslint.vuejs.org/rules/require-default-export.html
6844
+ */
6845
+ 'vue/require-default-export'?: Linter.RuleEntry<[]>
6766
6846
  /**
6767
6847
  * require default value for props
6768
6848
  * @see https://eslint.vuejs.org/rules/require-default-prop.html
@@ -6832,7 +6912,7 @@ interface RuleOptions {
6832
6912
  * require control the display of the content inside `<transition>`
6833
6913
  * @see https://eslint.vuejs.org/rules/require-toggle-inside-transition.html
6834
6914
  */
6835
- 'vue/require-toggle-inside-transition'?: Linter.RuleEntry<[]>
6915
+ 'vue/require-toggle-inside-transition'?: Linter.RuleEntry<VueRequireToggleInsideTransition>
6836
6916
  /**
6837
6917
  * enforce adding type declarations to object props
6838
6918
  * @see https://eslint.vuejs.org/rules/require-typed-object-prop.html
@@ -7112,27 +7192,33 @@ type AccessorPairs = []|[{
7112
7192
  setWithoutGet?: boolean
7113
7193
  enforceForClassMembers?: boolean
7114
7194
  }]
7195
+ // ----- antfu/consistent-chaining -----
7196
+ type AntfuConsistentChaining = []|[{
7197
+
7198
+ allowFirstPropertyAccess?: boolean
7199
+ }]
7115
7200
  // ----- antfu/consistent-list-newline -----
7116
7201
  type AntfuConsistentListNewline = []|[{
7117
7202
  ArrayExpression?: boolean
7203
+ ArrayPattern?: boolean
7118
7204
  ArrowFunctionExpression?: boolean
7119
7205
  CallExpression?: boolean
7120
7206
  ExportNamedDeclaration?: boolean
7121
7207
  FunctionDeclaration?: boolean
7122
7208
  FunctionExpression?: boolean
7123
7209
  ImportDeclaration?: boolean
7210
+ JSONArrayExpression?: boolean
7211
+ JSONObjectExpression?: boolean
7212
+ JSXOpeningElement?: boolean
7124
7213
  NewExpression?: boolean
7125
7214
  ObjectExpression?: boolean
7215
+ ObjectPattern?: boolean
7216
+ TSFunctionType?: boolean
7126
7217
  TSInterfaceDeclaration?: boolean
7127
7218
  TSTupleType?: boolean
7128
7219
  TSTypeLiteral?: boolean
7129
7220
  TSTypeParameterDeclaration?: boolean
7130
7221
  TSTypeParameterInstantiation?: boolean
7131
- ObjectPattern?: boolean
7132
- ArrayPattern?: boolean
7133
- JSXOpeningElement?: boolean
7134
- JSONArrayExpression?: boolean
7135
- JSONObjectExpression?: boolean
7136
7222
  }]
7137
7223
  // ----- antfu/indent-unindent -----
7138
7224
  type AntfuIndentUnindent = []|[{
@@ -7490,6 +7576,7 @@ type ImportNoExtraneousDependencies = []|[{
7490
7576
  packageDir?: (string | unknown[])
7491
7577
  includeInternal?: boolean
7492
7578
  includeTypes?: boolean
7579
+ whitelist?: unknown[]
7493
7580
  }]
7494
7581
  // ----- import/no-import-module-exports -----
7495
7582
  type ImportNoImportModuleExports = []|[{
@@ -7526,6 +7613,11 @@ type ImportNoRelativeParentImports = []|[{
7526
7613
 
7527
7614
  ignore?: [string, ...(string)[]]
7528
7615
  }]
7616
+ // ----- import/no-rename-default -----
7617
+ type ImportNoRenameDefault = []|[{
7618
+ commonjs?: boolean
7619
+ preventRenamingBindings?: boolean
7620
+ }]
7529
7621
  // ----- import/no-restricted-paths -----
7530
7622
  type ImportNoRestrictedPaths = []|[{
7531
7623
 
@@ -9656,9 +9748,41 @@ type PerfectionistSortClasses = []|[{
9656
9748
 
9657
9749
  groups?: (string | string[])[]
9658
9750
 
9659
- customGroups?: {
9751
+ customGroups?: ({
9660
9752
  [k: string]: (string | string[]) | undefined
9661
- }
9753
+ } | ({
9754
+
9755
+ groupName?: string
9756
+
9757
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
9758
+
9759
+ order?: ("desc" | "asc")
9760
+ anyOf?: {
9761
+
9762
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
9763
+
9764
+ modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
9765
+
9766
+ elementNamePattern?: string
9767
+
9768
+ decoratorNamePattern?: string
9769
+ }[]
9770
+ } | {
9771
+
9772
+ groupName?: string
9773
+
9774
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
9775
+
9776
+ order?: ("desc" | "asc")
9777
+
9778
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
9779
+
9780
+ modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
9781
+
9782
+ elementNamePattern?: string
9783
+
9784
+ decoratorNamePattern?: string
9785
+ })[])
9662
9786
  }]
9663
9787
  // ----- perfectionist/sort-enums -----
9664
9788
  type PerfectionistSortEnums = []|[{
@@ -9669,6 +9793,10 @@ type PerfectionistSortEnums = []|[{
9669
9793
 
9670
9794
  ignoreCase?: boolean
9671
9795
 
9796
+ sortByValue?: boolean
9797
+
9798
+ forceNumericSort?: boolean
9799
+
9672
9800
  partitionByComment?: (string[] | boolean | string)
9673
9801
  }]
9674
9802
  // ----- perfectionist/sort-exports -----
@@ -9842,6 +9970,17 @@ type PerfectionistSortObjects = []|[{
9842
9970
  [k: string]: (string | string[]) | undefined
9843
9971
  }
9844
9972
  }]
9973
+ // ----- perfectionist/sort-sets -----
9974
+ type PerfectionistSortSets = []|[{
9975
+
9976
+ type?: ("alphabetical" | "natural" | "line-length")
9977
+
9978
+ order?: ("asc" | "desc")
9979
+
9980
+ ignoreCase?: boolean
9981
+
9982
+ groupKind?: ("mixed" | "literals-first" | "spreads-first")
9983
+ }]
9845
9984
  // ----- perfectionist/sort-svelte-attributes -----
9846
9985
  type PerfectionistSortSvelteAttributes = []|[{
9847
9986
 
@@ -9971,6 +10110,9 @@ type ReactHooksExhaustiveDeps = []|[{
9971
10110
  }]
9972
10111
  // ----- react-naming-convention/component-name -----
9973
10112
  type ReactNamingConventionComponentName = []|[(("PascalCase" | "CONSTANT_CASE") | {
10113
+ allowAllCaps?: boolean
10114
+ allowLeadingUnderscore?: boolean
10115
+ allowNamespace?: boolean
9974
10116
  excepts?: string[]
9975
10117
  rule?: ("PascalCase" | "CONSTANT_CASE")
9976
10118
  })]
@@ -11083,7 +11225,7 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
11083
11225
  }]
11084
11226
  // ----- style/padding-line-between-statements -----
11085
11227
  type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
11086
- type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
11228
+ type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
11087
11229
  type StylePaddingLineBetweenStatements = {
11088
11230
  blankLine: _StylePaddingLineBetweenStatementsPaddingType
11089
11231
  prev: _StylePaddingLineBetweenStatementsStatementType
@@ -11179,6 +11321,7 @@ type StyleTypeAnnotationSpacing = []|[{
11179
11321
  parameter?: _StyleTypeAnnotationSpacing_SpacingConfig
11180
11322
  property?: _StyleTypeAnnotationSpacing_SpacingConfig
11181
11323
  returnType?: _StyleTypeAnnotationSpacing_SpacingConfig
11324
+ operator?: _StyleTypeAnnotationSpacing_SpacingConfig
11182
11325
  }
11183
11326
  }]
11184
11327
  interface _StyleTypeAnnotationSpacing_SpacingConfig {
@@ -11480,6 +11623,7 @@ type TestNoLargeSnapshots = []|[{
11480
11623
  type TestNoOnlyTests = []|[{
11481
11624
  block?: string[]
11482
11625
  focus?: string[]
11626
+ functions?: string[]
11483
11627
  fix?: boolean
11484
11628
  }]
11485
11629
  // ----- test/no-restricted-matchers -----
@@ -11555,6 +11699,7 @@ type TsBanTsComment = []|[{
11555
11699
  "ts-check"?: (boolean | "allow-with-description" | {
11556
11700
  descriptionFormat?: string
11557
11701
  })
11702
+
11558
11703
  minimumDescriptionLength?: number
11559
11704
  }]
11560
11705
  // ----- ts/class-literal-property-style -----
@@ -11580,29 +11725,41 @@ type TsConsistentReturn = []|[{
11580
11725
  }]
11581
11726
  // ----- ts/consistent-type-assertions -----
11582
11727
  type TsConsistentTypeAssertions = []|[({
11728
+
11583
11729
  assertionStyle: "never"
11584
11730
  } | {
11731
+
11585
11732
  assertionStyle: ("as" | "angle-bracket")
11733
+
11586
11734
  objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
11587
11735
  })]
11588
11736
  // ----- ts/consistent-type-definitions -----
11589
11737
  type TsConsistentTypeDefinitions = []|[("interface" | "type")]
11590
11738
  // ----- ts/consistent-type-exports -----
11591
11739
  type TsConsistentTypeExports = []|[{
11740
+
11592
11741
  fixMixedExportsWithInlineTypeSpecifier?: boolean
11593
11742
  }]
11594
11743
  // ----- ts/consistent-type-imports -----
11595
11744
  type TsConsistentTypeImports = []|[{
11745
+
11596
11746
  disallowTypeAnnotations?: boolean
11747
+
11597
11748
  fixStyle?: ("separate-type-imports" | "inline-type-imports")
11749
+
11598
11750
  prefer?: ("type-imports" | "no-type-imports")
11599
11751
  }]
11600
11752
  // ----- ts/dot-notation -----
11601
11753
  type TsDotNotation = []|[{
11754
+
11602
11755
  allowKeywords?: boolean
11756
+
11603
11757
  allowPattern?: string
11758
+
11604
11759
  allowPrivateClassPropertyAccess?: boolean
11760
+
11605
11761
  allowProtectedClassPropertyAccess?: boolean
11762
+
11606
11763
  allowIndexSignaturePropertyAccess?: boolean
11607
11764
  }]
11608
11765
  // ----- ts/explicit-function-return-type -----
@@ -11634,6 +11791,7 @@ type TsExplicitMemberAccessibility = []|[{
11634
11791
  properties?: ("explicit" | "no-public" | "off")
11635
11792
  parameterProperties?: ("explicit" | "no-public" | "off")
11636
11793
  }
11794
+
11637
11795
  ignoredMethodNames?: string[]
11638
11796
  }]
11639
11797
  // ----- ts/explicit-module-boundary-types -----
@@ -11655,8 +11813,11 @@ type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
11655
11813
  }])
11656
11814
  // ----- ts/max-params -----
11657
11815
  type TsMaxParams = []|[{
11658
- maximum?: number
11816
+
11659
11817
  max?: number
11818
+
11819
+ maximum?: number
11820
+
11660
11821
  countVoidThis?: boolean
11661
11822
  }]
11662
11823
  // ----- ts/member-ordering -----
@@ -12010,30 +12171,40 @@ interface _TsNamingConvention_MatchRegexConfig {
12010
12171
  }
12011
12172
  // ----- ts/no-base-to-string -----
12012
12173
  type TsNoBaseToString = []|[{
12174
+
12013
12175
  ignoredTypeNames?: string[]
12014
12176
  }]
12015
12177
  // ----- ts/no-confusing-void-expression -----
12016
12178
  type TsNoConfusingVoidExpression = []|[{
12179
+
12017
12180
  ignoreArrowShorthand?: boolean
12181
+
12018
12182
  ignoreVoidOperator?: boolean
12019
12183
  }]
12020
12184
  // ----- ts/no-duplicate-type-constituents -----
12021
12185
  type TsNoDuplicateTypeConstituents = []|[{
12186
+
12022
12187
  ignoreIntersections?: boolean
12188
+
12023
12189
  ignoreUnions?: boolean
12024
12190
  }]
12025
12191
  // ----- ts/no-empty-function -----
12026
12192
  type TsNoEmptyFunction = []|[{
12193
+
12027
12194
  allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "private-constructors" | "protected-constructors" | "asyncFunctions" | "asyncMethods" | "decoratedFunctions" | "overrideMethods")[]
12028
12195
  }]
12029
12196
  // ----- ts/no-empty-interface -----
12030
12197
  type TsNoEmptyInterface = []|[{
12198
+
12031
12199
  allowSingleExtends?: boolean
12032
12200
  }]
12033
12201
  // ----- ts/no-empty-object-type -----
12034
12202
  type TsNoEmptyObjectType = []|[{
12203
+
12035
12204
  allowInterfaces?: ("always" | "never" | "with-single-extends")
12205
+
12036
12206
  allowObjectTypes?: ("always" | "never")
12207
+
12037
12208
  allowWithName?: string
12038
12209
  }]
12039
12210
  // ----- ts/no-explicit-any -----
@@ -12056,6 +12227,7 @@ type TsNoExtraneousClass = []|[{
12056
12227
  }]
12057
12228
  // ----- ts/no-floating-promises -----
12058
12229
  type TsNoFloatingPromises = []|[{
12230
+
12059
12231
  allowForKnownSafePromises?: (string | {
12060
12232
  from: "file"
12061
12233
  name: (string | [string, ...(string)[]])
@@ -12068,6 +12240,7 @@ type TsNoFloatingPromises = []|[{
12068
12240
  name: (string | [string, ...(string)[]])
12069
12241
  package: string
12070
12242
  })[]
12243
+
12071
12244
  allowForKnownSafeCalls?: (string | {
12072
12245
  from: "file"
12073
12246
  name: (string | [string, ...(string)[]])
@@ -12089,7 +12262,9 @@ type TsNoFloatingPromises = []|[{
12089
12262
  }]
12090
12263
  // ----- ts/no-inferrable-types -----
12091
12264
  type TsNoInferrableTypes = []|[{
12265
+
12092
12266
  ignoreParameters?: boolean
12267
+
12093
12268
  ignoreProperties?: boolean
12094
12269
  }]
12095
12270
  // ----- ts/no-invalid-this -----
@@ -12098,7 +12273,9 @@ type TsNoInvalidThis = []|[{
12098
12273
  }]
12099
12274
  // ----- ts/no-invalid-void-type -----
12100
12275
  type TsNoInvalidVoidType = []|[{
12276
+
12101
12277
  allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
12278
+
12102
12279
  allowAsThisParameter?: boolean
12103
12280
  }]
12104
12281
  // ----- ts/no-magic-numbers -----
@@ -12109,25 +12286,38 @@ type TsNoMagicNumbers = []|[{
12109
12286
  ignoreArrayIndexes?: boolean
12110
12287
  ignoreDefaultValues?: boolean
12111
12288
  ignoreClassFieldInitialValues?: boolean
12289
+
12112
12290
  ignoreNumericLiteralTypes?: boolean
12291
+
12113
12292
  ignoreEnums?: boolean
12293
+
12114
12294
  ignoreReadonlyClassProperties?: boolean
12295
+
12115
12296
  ignoreTypeIndexes?: boolean
12116
12297
  }]
12117
12298
  // ----- ts/no-meaningless-void-operator -----
12118
12299
  type TsNoMeaninglessVoidOperator = []|[{
12300
+
12119
12301
  checkNever?: boolean
12120
12302
  }]
12121
12303
  // ----- ts/no-misused-promises -----
12122
12304
  type TsNoMisusedPromises = []|[{
12123
12305
  checksConditionals?: boolean
12124
12306
  checksVoidReturn?: (boolean | {
12307
+
12125
12308
  arguments?: boolean
12309
+
12126
12310
  attributes?: boolean
12311
+
12312
+ inheritedMethods?: boolean
12313
+
12127
12314
  properties?: boolean
12315
+
12128
12316
  returns?: boolean
12317
+
12129
12318
  variables?: boolean
12130
12319
  })
12320
+
12131
12321
  checksSpreads?: boolean
12132
12322
  }]
12133
12323
  // ----- ts/no-namespace -----
@@ -12139,7 +12329,9 @@ type TsNoNamespace = []|[{
12139
12329
  }]
12140
12330
  // ----- ts/no-redeclare -----
12141
12331
  type TsNoRedeclare = []|[{
12332
+
12142
12333
  builtinGlobals?: boolean
12334
+
12143
12335
  ignoreDeclarationMerge?: boolean
12144
12336
  }]
12145
12337
  // ----- ts/no-require-imports -----
@@ -12197,11 +12389,17 @@ type TsNoRestrictedTypes = []|[{
12197
12389
  }]
12198
12390
  // ----- ts/no-shadow -----
12199
12391
  type TsNoShadow = []|[{
12392
+
12200
12393
  builtinGlobals?: boolean
12394
+
12201
12395
  hoist?: ("all" | "functions" | "never")
12396
+
12202
12397
  allow?: string[]
12398
+
12203
12399
  ignoreOnInitialization?: boolean
12400
+
12204
12401
  ignoreTypeValueShadow?: boolean
12402
+
12205
12403
  ignoreFunctionTypeParameterNameValueShadow?: boolean
12206
12404
  }]
12207
12405
  // ----- ts/no-this-alias -----
@@ -12258,24 +12456,40 @@ type TsNoUnusedExpressions = []|[{
12258
12456
  }]
12259
12457
  // ----- ts/no-unused-vars -----
12260
12458
  type TsNoUnusedVars = []|[(("all" | "local") | {
12459
+
12261
12460
  vars?: ("all" | "local")
12461
+
12262
12462
  varsIgnorePattern?: string
12463
+
12263
12464
  args?: ("all" | "after-used" | "none")
12264
- ignoreRestSiblings?: boolean
12465
+
12265
12466
  argsIgnorePattern?: string
12467
+
12266
12468
  caughtErrors?: ("all" | "none")
12469
+
12267
12470
  caughtErrorsIgnorePattern?: string
12471
+
12268
12472
  destructuredArrayIgnorePattern?: string
12473
+
12269
12474
  ignoreClassWithStaticInitBlock?: boolean
12475
+
12476
+ ignoreRestSiblings?: boolean
12477
+
12270
12478
  reportUsedIgnorePattern?: boolean
12271
12479
  })]
12272
12480
  // ----- ts/no-use-before-define -----
12273
12481
  type TsNoUseBeforeDefine = []|[("nofunc" | {
12482
+
12274
12483
  functions?: boolean
12484
+
12275
12485
  classes?: boolean
12486
+
12276
12487
  enums?: boolean
12488
+
12277
12489
  variables?: boolean
12490
+
12278
12491
  typedefs?: boolean
12492
+
12279
12493
  ignoreTypeReferences?: boolean
12280
12494
  allowNamedExports?: boolean
12281
12495
  })]
@@ -12286,12 +12500,16 @@ type TsNoVarRequires = []|[{
12286
12500
  }]
12287
12501
  // ----- ts/only-throw-error -----
12288
12502
  type TsOnlyThrowError = []|[{
12503
+
12289
12504
  allowThrowingAny?: boolean
12505
+
12290
12506
  allowThrowingUnknown?: boolean
12291
12507
  }]
12292
12508
  // ----- ts/parameter-properties -----
12293
12509
  type TsParameterProperties = []|[{
12510
+
12294
12511
  allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
12512
+
12295
12513
  prefer?: ("class-property" | "parameter-property")
12296
12514
  }]
12297
12515
  // ----- ts/prefer-destructuring -----
@@ -12326,13 +12544,18 @@ type TsPreferDestructuring = []|[({
12326
12544
  }]
12327
12545
  // ----- ts/prefer-literal-enum-member -----
12328
12546
  type TsPreferLiteralEnumMember = []|[{
12547
+
12329
12548
  allowBitwiseExpressions?: boolean
12330
12549
  }]
12331
12550
  // ----- ts/prefer-nullish-coalescing -----
12332
12551
  type TsPreferNullishCoalescing = []|[{
12552
+
12333
12553
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
12554
+
12334
12555
  ignoreConditionalTests?: boolean
12556
+
12335
12557
  ignoreMixedLogicalExpressions?: boolean
12558
+
12336
12559
  ignorePrimitives?: ({
12337
12560
  bigint?: boolean
12338
12561
  boolean?: boolean
@@ -12340,6 +12563,7 @@ type TsPreferNullishCoalescing = []|[{
12340
12563
  string?: boolean
12341
12564
  [k: string]: unknown | undefined
12342
12565
  } | true)
12566
+
12343
12567
  ignoreTernaryTests?: boolean
12344
12568
  }]
12345
12569
  // ----- ts/prefer-optional-chain -----
@@ -12363,14 +12587,17 @@ type TsPreferOptionalChain = []|[{
12363
12587
  }]
12364
12588
  // ----- ts/prefer-promise-reject-errors -----
12365
12589
  type TsPreferPromiseRejectErrors = []|[{
12590
+
12366
12591
  allowEmptyReject?: boolean
12367
12592
  }]
12368
12593
  // ----- ts/prefer-readonly -----
12369
12594
  type TsPreferReadonly = []|[{
12595
+
12370
12596
  onlyInlineLambdas?: boolean
12371
12597
  }]
12372
12598
  // ----- ts/prefer-readonly-parameter-types -----
12373
12599
  type TsPreferReadonlyParameterTypes = []|[{
12600
+
12374
12601
  allow?: (string | {
12375
12602
  from: "file"
12376
12603
  name: (string | [string, ...(string)[]])
@@ -12383,8 +12610,11 @@ type TsPreferReadonlyParameterTypes = []|[{
12383
12610
  name: (string | [string, ...(string)[]])
12384
12611
  package: string
12385
12612
  })[]
12613
+
12386
12614
  checkParameterProperties?: boolean
12615
+
12387
12616
  ignoreInferredTypes?: boolean
12617
+
12388
12618
  treatMethodsAsReadonly?: boolean
12389
12619
  }]
12390
12620
  // ----- ts/prefer-string-starts-ends-with -----
@@ -12398,9 +12628,13 @@ type TsPromiseFunctionAsync = []|[{
12398
12628
  allowAny?: boolean
12399
12629
 
12400
12630
  allowedPromiseNames?: string[]
12631
+
12401
12632
  checkArrowFunctions?: boolean
12633
+
12402
12634
  checkFunctionDeclarations?: boolean
12635
+
12403
12636
  checkFunctionExpressions?: boolean
12637
+
12404
12638
  checkMethodDeclarations?: boolean
12405
12639
  }]
12406
12640
  // ----- ts/require-array-sort-compare -----
@@ -12441,7 +12675,7 @@ type TsRestrictTemplateExpressions = []|[{
12441
12675
  allowNever?: boolean
12442
12676
  }]
12443
12677
  // ----- ts/return-await -----
12444
- type TsReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
12678
+ type TsReturnAwait = []|[(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]
12445
12679
  // ----- ts/sort-type-constituents -----
12446
12680
  type TsSortTypeConstituents = []|[{
12447
12681
 
@@ -12455,13 +12689,21 @@ type TsSortTypeConstituents = []|[{
12455
12689
  }]
12456
12690
  // ----- ts/strict-boolean-expressions -----
12457
12691
  type TsStrictBooleanExpressions = []|[{
12692
+
12458
12693
  allowString?: boolean
12694
+
12459
12695
  allowNumber?: boolean
12696
+
12460
12697
  allowNullableObject?: boolean
12698
+
12461
12699
  allowNullableBoolean?: boolean
12700
+
12462
12701
  allowNullableString?: boolean
12702
+
12463
12703
  allowNullableNumber?: boolean
12704
+
12464
12705
  allowNullableEnum?: boolean
12706
+
12465
12707
  allowAny?: boolean
12466
12708
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
12467
12709
  }]
@@ -12474,19 +12716,30 @@ type TsSwitchExhaustivenessCheck = []|[{
12474
12716
  }]
12475
12717
  // ----- ts/triple-slash-reference -----
12476
12718
  type TsTripleSlashReference = []|[{
12719
+
12477
12720
  lib?: ("always" | "never")
12721
+
12478
12722
  path?: ("always" | "never")
12723
+
12479
12724
  types?: ("always" | "never" | "prefer-import")
12480
12725
  }]
12481
12726
  // ----- ts/typedef -----
12482
12727
  type TsTypedef = []|[{
12728
+
12483
12729
  arrayDestructuring?: boolean
12730
+
12484
12731
  arrowParameter?: boolean
12732
+
12485
12733
  memberVariableDeclaration?: boolean
12734
+
12486
12735
  objectDestructuring?: boolean
12736
+
12487
12737
  parameter?: boolean
12738
+
12488
12739
  propertyDeclaration?: boolean
12740
+
12489
12741
  variableDeclaration?: boolean
12742
+
12490
12743
  variableDeclarationIgnoreFunction?: boolean
12491
12744
  }]
12492
12745
  // ----- ts/unbound-method -----
@@ -12706,28 +12959,48 @@ type UnocssEnforceClassCompile = []|[{
12706
12959
  }]
12707
12960
  // ----- unused-imports/no-unused-imports -----
12708
12961
  type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
12962
+
12709
12963
  vars?: ("all" | "local")
12964
+
12710
12965
  varsIgnorePattern?: string
12966
+
12711
12967
  args?: ("all" | "after-used" | "none")
12712
- ignoreRestSiblings?: boolean
12968
+
12713
12969
  argsIgnorePattern?: string
12970
+
12714
12971
  caughtErrors?: ("all" | "none")
12972
+
12715
12973
  caughtErrorsIgnorePattern?: string
12974
+
12716
12975
  destructuredArrayIgnorePattern?: string
12976
+
12717
12977
  ignoreClassWithStaticInitBlock?: boolean
12978
+
12979
+ ignoreRestSiblings?: boolean
12980
+
12718
12981
  reportUsedIgnorePattern?: boolean
12719
12982
  })]
12720
12983
  // ----- unused-imports/no-unused-vars -----
12721
12984
  type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
12985
+
12722
12986
  vars?: ("all" | "local")
12987
+
12723
12988
  varsIgnorePattern?: string
12989
+
12724
12990
  args?: ("all" | "after-used" | "none")
12725
- ignoreRestSiblings?: boolean
12991
+
12726
12992
  argsIgnorePattern?: string
12993
+
12727
12994
  caughtErrors?: ("all" | "none")
12995
+
12728
12996
  caughtErrorsIgnorePattern?: string
12997
+
12729
12998
  destructuredArrayIgnorePattern?: string
12999
+
12730
13000
  ignoreClassWithStaticInitBlock?: boolean
13001
+
13002
+ ignoreRestSiblings?: boolean
13003
+
12731
13004
  reportUsedIgnorePattern?: boolean
12732
13005
  })]
12733
13006
  // ----- use-isnan -----
@@ -12871,7 +13144,7 @@ type VueCustomEventNameCasing = ([]|[("kebab-case" | "camelCase")]|[("kebab-case
12871
13144
  type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
12872
13145
  // ----- vue/define-macros-order -----
12873
13146
  type VueDefineMacrosOrder = []|[{
12874
- order?: ("defineEmits" | "defineProps" | "defineOptions" | "defineSlots" | "defineModel")[]
13147
+ order?: string[]
12875
13148
  defineExposeLast?: boolean
12876
13149
  }]
12877
13150
  // ----- vue/define-props-declaration -----
@@ -13406,6 +13679,14 @@ type VueMaxLinesPerBlock = []|[{
13406
13679
  script?: number
13407
13680
  skipBlankLines?: boolean
13408
13681
  }]
13682
+ // ----- vue/max-props -----
13683
+ type VueMaxProps = []|[{
13684
+ maxProps?: number
13685
+ }]
13686
+ // ----- vue/max-template-depth -----
13687
+ type VueMaxTemplateDepth = []|[{
13688
+ maxDepth?: number
13689
+ }]
13409
13690
  // ----- vue/multi-word-component-names -----
13410
13691
  type VueMultiWordComponentNames = []|[{
13411
13692
  ignores?: string[]
@@ -13820,6 +14101,10 @@ type VueRequireMacroVariableName = []|[{
13820
14101
  type VueRequirePropComment = []|[{
13821
14102
  type?: ("JSDoc" | "line" | "block" | "any")
13822
14103
  }]
14104
+ // ----- vue/require-toggle-inside-transition -----
14105
+ type VueRequireToggleInsideTransition = []|[{
14106
+ additionalDirectives?: string[]
14107
+ }]
13823
14108
  // ----- vue/return-in-computed-property -----
13824
14109
  type VueReturnInComputedProperty = []|[{
13825
14110
  treatUndefinedAsUnspecified?: boolean
@@ -13924,7 +14209,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
13924
14209
  onlyEquality?: boolean
13925
14210
  }]
13926
14211
  // Names of all the configs
13927
- type ConfigNames = 'coderwyd/eslint-comments/rules' | 'coderwyd/formatter/setup' | 'coderwyd/imports/rules' | 'coderwyd/imports/disables/bin' | 'coderwyd/javascript/setup' | 'coderwyd/javascript/rules' | 'coderwyd/javascript/disables/cli' | 'coderwyd/javascript/disables/test' | 'coderwyd/jsdoc/rules' | 'coderwyd/jsonc/setup' | 'coderwyd/jsonc/rules' | 'coderwyd/jsx/setup' | 'coderwyd/node/rules' | 'coderwyd/perfectionist/rules' | 'coderwyd/react/setup' | 'coderwyd/react/rules' | 'coderwyd/sort/package-json' | 'coderwyd/stylistic/rules' | 'coderwyd/svelte/setup' | 'coderwyd/svelte/rules' | 'coderwyd/test/setup' | 'coderwyd/test/rules' | 'coderwyd/typescript/setup' | 'coderwyd/typescript/parser' | 'coderwyd/typescript/rules' | 'coderwyd/typescript/disables/dts' | 'coderwyd/typescript/disables/test' | 'coderwyd/typescript/disables/cjs' | 'coderwyd/unicorn/rules' | 'coderwyd/unocss/rules' | 'coderwyd/vue/setup' | 'coderwyd/vue/rules' | 'coderwyd/command/rules' | 'coderwyd/regexp/rules' | 'coderwyd/tailwindcss/rules'
14212
+ type ConfigNames = 'coderwyd/eslint-comments/rules' | 'coderwyd/formatter/setup' | 'coderwyd/imports/rules' | 'coderwyd/javascript/setup' | 'coderwyd/javascript/rules' | 'coderwyd/jsdoc/rules' | 'coderwyd/jsonc/setup' | 'coderwyd/jsonc/rules' | 'coderwyd/jsx/setup' | 'coderwyd/node/rules' | 'coderwyd/perfectionist/rules' | 'coderwyd/react/setup' | 'coderwyd/react/rules' | 'coderwyd/sort/package-json' | 'coderwyd/stylistic/rules' | 'coderwyd/svelte/setup' | 'coderwyd/svelte/rules' | 'coderwyd/test/setup' | 'coderwyd/test/rules' | 'coderwyd/typescript/setup' | 'coderwyd/typescript/parser' | 'coderwyd/typescript/rules' | 'coderwyd/unicorn/rules' | 'coderwyd/unocss/rules' | 'coderwyd/vue/setup' | 'coderwyd/vue/rules' | 'coderwyd/command/rules' | 'coderwyd/regexp/rules' | 'coderwyd/tailwindcss/rules'
13928
14213
 
13929
14214
  type Rules = RuleOptions;
13930
14215
 
@@ -14118,6 +14403,10 @@ interface OptionsTypeScriptWithTypes {
14118
14403
  * @see https://typescript-eslint.io/linting/typed-linting/
14119
14404
  */
14120
14405
  tsconfigPath?: string;
14406
+ /**
14407
+ * Override type aware rules.
14408
+ */
14409
+ overridesTypeAware?: TypedFlatConfigItem['rules'];
14121
14410
  }
14122
14411
  interface OptionsHasTypeScript {
14123
14412
  typescript?: boolean;
@@ -14369,6 +14658,7 @@ declare function toArray<T>(value: T | T[]): T[];
14369
14658
  declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
14370
14659
  default: infer U;
14371
14660
  } ? U : T>;
14661
+ declare function isPackageInScope(name: string): boolean;
14372
14662
  declare function ensurePackages(packages: string[]): Promise<void>;
14373
14663
  declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
14374
14664
  declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): {
@@ -14530,6 +14820,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
14530
14820
  'svelte/valid-each-key'?: eslint.Linter.RuleEntry<[]> | undefined;
14531
14821
  'svelte/valid-prop-names-in-kit-pages'?: eslint.Linter.RuleEntry<[]> | undefined;
14532
14822
  'accessor-pairs'?: eslint.Linter.RuleEntry<undefined> | undefined;
14823
+ 'antfu/consistent-chaining'?: eslint.Linter.RuleEntry<undefined> | undefined;
14533
14824
  'antfu/consistent-list-newline'?: eslint.Linter.RuleEntry<undefined> | undefined;
14534
14825
  'antfu/curly'?: eslint.Linter.RuleEntry<[]> | undefined;
14535
14826
  'antfu/if-newline'?: eslint.Linter.RuleEntry<[]> | undefined;
@@ -14634,6 +14925,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
14634
14925
  'import/no-nodejs-modules'?: eslint.Linter.RuleEntry<undefined> | undefined;
14635
14926
  'import/no-relative-packages'?: eslint.Linter.RuleEntry<undefined> | undefined;
14636
14927
  'import/no-relative-parent-imports'?: eslint.Linter.RuleEntry<undefined> | undefined;
14928
+ 'import/no-rename-default'?: eslint.Linter.RuleEntry<undefined> | undefined;
14637
14929
  'import/no-restricted-paths'?: eslint.Linter.RuleEntry<undefined> | undefined;
14638
14930
  'import/no-self-import'?: eslint.Linter.RuleEntry<[]> | undefined;
14639
14931
  'import/no-unassigned-import'?: eslint.Linter.RuleEntry<undefined> | undefined;
@@ -14993,6 +15285,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
14993
15285
  'perfectionist/sort-named-imports'?: eslint.Linter.RuleEntry<undefined> | undefined;
14994
15286
  'perfectionist/sort-object-types'?: eslint.Linter.RuleEntry<undefined> | undefined;
14995
15287
  'perfectionist/sort-objects'?: eslint.Linter.RuleEntry<undefined> | undefined;
15288
+ 'perfectionist/sort-sets'?: eslint.Linter.RuleEntry<undefined> | undefined;
14996
15289
  'perfectionist/sort-svelte-attributes'?: eslint.Linter.RuleEntry<undefined> | undefined;
14997
15290
  'perfectionist/sort-switch-case'?: eslint.Linter.RuleEntry<undefined> | undefined;
14998
15291
  'perfectionist/sort-union-types'?: eslint.Linter.RuleEntry<undefined> | undefined;
@@ -15027,10 +15320,12 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
15027
15320
  'react-dom/no-unsafe-iframe-sandbox'?: eslint.Linter.RuleEntry<[]> | undefined;
15028
15321
  'react-dom/no-unsafe-target-blank'?: eslint.Linter.RuleEntry<[]> | undefined;
15029
15322
  'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: eslint.Linter.RuleEntry<[]> | undefined;
15030
- 'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: eslint.Linter.RuleEntry<[]> | undefined;
15031
15323
  'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: eslint.Linter.RuleEntry<[]> | undefined;
15032
15324
  'react-hooks-extra/no-direct-set-state-in-use-effect'?: eslint.Linter.RuleEntry<[]> | undefined;
15033
15325
  'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: eslint.Linter.RuleEntry<[]> | undefined;
15326
+ 'react-hooks-extra/no-redundant-custom-hook'?: eslint.Linter.RuleEntry<[]> | undefined;
15327
+ 'react-hooks-extra/no-unnecessary-use-callback'?: eslint.Linter.RuleEntry<[]> | undefined;
15328
+ 'react-hooks-extra/no-unnecessary-use-memo'?: eslint.Linter.RuleEntry<[]> | undefined;
15034
15329
  'react-hooks-extra/prefer-use-state-lazy-initialization'?: eslint.Linter.RuleEntry<[]> | undefined;
15035
15330
  'react-hooks/exhaustive-deps'?: eslint.Linter.RuleEntry<undefined> | undefined;
15036
15331
  'react-hooks/rules-of-hooks'?: eslint.Linter.RuleEntry<[]> | undefined;
@@ -15295,7 +15590,6 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
15295
15590
  'test/consistent-test-filename'?: eslint.Linter.RuleEntry<undefined> | undefined;
15296
15591
  'test/consistent-test-it'?: eslint.Linter.RuleEntry<undefined> | undefined;
15297
15592
  'test/expect-expect'?: eslint.Linter.RuleEntry<undefined> | undefined;
15298
- 'test/index'?: eslint.Linter.RuleEntry<[]> | undefined;
15299
15593
  'test/max-expects'?: eslint.Linter.RuleEntry<undefined> | undefined;
15300
15594
  'test/max-nested-describe'?: eslint.Linter.RuleEntry<undefined> | undefined;
15301
15595
  'test/no-alias-methods'?: eslint.Linter.RuleEntry<[]> | undefined;
@@ -15319,6 +15613,14 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
15319
15613
  'test/no-standalone-expect'?: eslint.Linter.RuleEntry<undefined> | undefined;
15320
15614
  'test/no-test-prefixes'?: eslint.Linter.RuleEntry<[]> | undefined;
15321
15615
  'test/no-test-return-statement'?: eslint.Linter.RuleEntry<[]> | undefined;
15616
+ 'test/padding-around-after-all-blocks'?: eslint.Linter.RuleEntry<[]> | undefined;
15617
+ 'test/padding-around-after-each-blocks'?: eslint.Linter.RuleEntry<[]> | undefined;
15618
+ 'test/padding-around-all'?: eslint.Linter.RuleEntry<[]> | undefined;
15619
+ 'test/padding-around-before-all-blocks'?: eslint.Linter.RuleEntry<[]> | undefined;
15620
+ 'test/padding-around-before-each-blocks'?: eslint.Linter.RuleEntry<[]> | undefined;
15621
+ 'test/padding-around-describe-blocks'?: eslint.Linter.RuleEntry<[]> | undefined;
15622
+ 'test/padding-around-expect-groups'?: eslint.Linter.RuleEntry<[]> | undefined;
15623
+ 'test/padding-around-test-blocks'?: eslint.Linter.RuleEntry<[]> | undefined;
15322
15624
  'test/prefer-called-with'?: eslint.Linter.RuleEntry<[]> | undefined;
15323
15625
  'test/prefer-comparison-matcher'?: eslint.Linter.RuleEntry<[]> | undefined;
15324
15626
  'test/prefer-each'?: eslint.Linter.RuleEntry<[]> | undefined;
@@ -15375,6 +15677,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
15375
15677
  'ts/no-base-to-string'?: eslint.Linter.RuleEntry<undefined> | undefined;
15376
15678
  'ts/no-confusing-non-null-assertion'?: eslint.Linter.RuleEntry<[]> | undefined;
15377
15679
  'ts/no-confusing-void-expression'?: eslint.Linter.RuleEntry<undefined> | undefined;
15680
+ 'ts/no-deprecated'?: eslint.Linter.RuleEntry<[]> | undefined;
15378
15681
  'ts/no-dupe-class-members'?: eslint.Linter.RuleEntry<[]> | undefined;
15379
15682
  'ts/no-duplicate-enum-values'?: eslint.Linter.RuleEntry<[]> | undefined;
15380
15683
  'ts/no-duplicate-type-constituents'?: eslint.Linter.RuleEntry<undefined> | undefined;
@@ -15668,6 +15971,8 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
15668
15971
  'vue/max-attributes-per-line'?: eslint.Linter.RuleEntry<undefined> | undefined;
15669
15972
  'vue/max-len'?: eslint.Linter.RuleEntry<undefined> | undefined;
15670
15973
  'vue/max-lines-per-block'?: eslint.Linter.RuleEntry<undefined> | undefined;
15974
+ 'vue/max-props'?: eslint.Linter.RuleEntry<undefined> | undefined;
15975
+ 'vue/max-template-depth'?: eslint.Linter.RuleEntry<undefined> | undefined;
15671
15976
  'vue/multi-word-component-names'?: eslint.Linter.RuleEntry<undefined> | undefined;
15672
15977
  'vue/multiline-html-element-content-newline'?: eslint.Linter.RuleEntry<undefined> | undefined;
15673
15978
  'vue/multiline-ternary'?: eslint.Linter.RuleEntry<undefined> | undefined;
@@ -15797,6 +16102,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
15797
16102
  'vue/prop-name-casing'?: eslint.Linter.RuleEntry<undefined> | undefined;
15798
16103
  'vue/quote-props'?: eslint.Linter.RuleEntry<undefined> | undefined;
15799
16104
  'vue/require-component-is'?: eslint.Linter.RuleEntry<[]> | undefined;
16105
+ 'vue/require-default-export'?: eslint.Linter.RuleEntry<[]> | undefined;
15800
16106
  'vue/require-default-prop'?: eslint.Linter.RuleEntry<[]> | undefined;
15801
16107
  'vue/require-direct-export'?: eslint.Linter.RuleEntry<undefined> | undefined;
15802
16108
  'vue/require-emit-validator'?: eslint.Linter.RuleEntry<[]> | undefined;
@@ -15810,7 +16116,7 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
15810
16116
  'vue/require-prop-types'?: eslint.Linter.RuleEntry<[]> | undefined;
15811
16117
  'vue/require-render-return'?: eslint.Linter.RuleEntry<[]> | undefined;
15812
16118
  'vue/require-slots-as-functions'?: eslint.Linter.RuleEntry<[]> | undefined;
15813
- 'vue/require-toggle-inside-transition'?: eslint.Linter.RuleEntry<[]> | undefined;
16119
+ 'vue/require-toggle-inside-transition'?: eslint.Linter.RuleEntry<undefined> | undefined;
15814
16120
  'vue/require-typed-object-prop'?: eslint.Linter.RuleEntry<[]> | undefined;
15815
16121
  'vue/require-typed-ref'?: eslint.Linter.RuleEntry<[]> | undefined;
15816
16122
  'vue/require-v-for-key'?: eslint.Linter.RuleEntry<[]> | undefined;
@@ -15865,6 +16171,8 @@ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsCon
15865
16171
  'yield-star-spacing'?: eslint.Linter.RuleEntry<undefined> | undefined;
15866
16172
  yoda?: eslint.Linter.RuleEntry<undefined> | undefined;
15867
16173
  };
16174
+ declare function isInEditorEnv(): boolean;
16175
+ declare function isInGitHooksOrLintStaged(): boolean;
15868
16176
 
15869
16177
  declare const defaultPluginRenaming: {
15870
16178
  '@eslint-react': string;
@@ -15888,6 +16196,6 @@ declare const defaultPluginRenaming: {
15888
16196
  * @returns {Promise<TypedFlatConfigItem[]>}
15889
16197
  * The merged ESLint configurations.
15890
16198
  */
15891
- declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | Linter.Config[]>[]): Promise<TypedFlatConfigItem[]>;
16199
+ declare function defineConfig(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files'>, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | Linter.Config[]>[]): Promise<TypedFlatConfigItem[]>;
15892
16200
 
15893
- export { type Awaitable, type BuiltInParserName, type ConfigNames, type LiteralUnion, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type PartialPrettierExtendedOptions, type PrettierOptions, type PrettierParser, type ResolvedOptions, type Rules, type StylisticConfig, type TypedFlatConfigItem, combine, defaultPluginRenaming, defineConfig, ensurePackages, getOverrides, getVueVersion, interopDefault, parserPlain, renamePluginInConfigs, renameRules, resolveSubOptions, toArray };
16201
+ export { type Awaitable, type BuiltInParserName, type ConfigNames, type LiteralUnion, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type PartialPrettierExtendedOptions, type PrettierOptions, type PrettierParser, type ResolvedOptions, type Rules, type StylisticConfig, type TypedFlatConfigItem, combine, defaultPluginRenaming, defineConfig, ensurePackages, getOverrides, getVueVersion, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, parserPlain, renamePluginInConfigs, renameRules, resolveSubOptions, toArray };