@lincy/eslint-config 4.7.0 → 5.1.0

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,9 +1,9 @@
1
- import { FlatConfigComposer } from 'eslint-flat-config-utils';
1
+ import { StylisticCustomizeOptions } from '@stylistic/eslint-plugin';
2
+ import { ParserOptions } from '@typescript-eslint/parser';
2
3
  import { Linter } from 'eslint';
3
4
  import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
4
- import { ParserOptions } from '@typescript-eslint/parser';
5
5
  import { Options } from 'eslint-processor-vue-blocks';
6
- import { StylisticCustomizeOptions } from '@stylistic/eslint-plugin';
6
+ import { FlatConfigComposer } from 'eslint-flat-config-utils';
7
7
 
8
8
  /**
9
9
  * 来自 Prettier 的供应商类型,因此不依赖依赖项
@@ -114,6 +114,11 @@ interface RuleOptions {
114
114
  * @see https://eslint.org/docs/latest/rules/accessor-pairs
115
115
  */
116
116
  'accessor-pairs'?: Linter.RuleEntry<AccessorPairs>
117
+ /**
118
+ * Having line breaks styles to object, array and named imports
119
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-chaining.md
120
+ */
121
+ 'antfu/consistent-chaining'?: Linter.RuleEntry<AntfuConsistentChaining>
117
122
  /**
118
123
  * Having line breaks styles to object, array and named imports
119
124
  * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
@@ -121,7 +126,7 @@ interface RuleOptions {
121
126
  'antfu/consistent-list-newline'?: Linter.RuleEntry<AntfuConsistentListNewline>
122
127
  /**
123
128
  * Enforce Anthony's style of curly bracket
124
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.test.ts
129
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.md
125
130
  */
126
131
  'antfu/curly'?: Linter.RuleEntry<[]>
127
132
  /**
@@ -136,7 +141,7 @@ interface RuleOptions {
136
141
  'antfu/import-dedupe'?: Linter.RuleEntry<[]>
137
142
  /**
138
143
  * Enforce consistent indentation in `unindent` template tag
139
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.test.ts
144
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.md
140
145
  */
141
146
  'antfu/indent-unindent'?: Linter.RuleEntry<AntfuIndentUnindent>
142
147
  /**
@@ -325,47 +330,47 @@ interface RuleOptions {
325
330
  'eqeqeq'?: Linter.RuleEntry<Eqeqeq>
326
331
  /**
327
332
  * require a `eslint-enable` comment for every `eslint-disable` comment
328
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html
333
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html
329
334
  */
330
335
  'eslint-comments/disable-enable-pair'?: Linter.RuleEntry<EslintCommentsDisableEnablePair>
331
336
  /**
332
337
  * disallow a `eslint-enable` comment for multiple `eslint-disable` comments
333
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html
338
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html
334
339
  */
335
340
  'eslint-comments/no-aggregating-enable'?: Linter.RuleEntry<[]>
336
341
  /**
337
342
  * disallow duplicate `eslint-disable` comments
338
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html
343
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html
339
344
  */
340
345
  'eslint-comments/no-duplicate-disable'?: Linter.RuleEntry<[]>
341
346
  /**
342
347
  * disallow `eslint-disable` comments about specific rules
343
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html
348
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html
344
349
  */
345
350
  'eslint-comments/no-restricted-disable'?: Linter.RuleEntry<EslintCommentsNoRestrictedDisable>
346
351
  /**
347
352
  * disallow `eslint-disable` comments without rule names
348
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html
353
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html
349
354
  */
350
355
  'eslint-comments/no-unlimited-disable'?: Linter.RuleEntry<[]>
351
356
  /**
352
357
  * disallow unused `eslint-disable` comments
353
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
358
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
354
359
  */
355
360
  'eslint-comments/no-unused-disable'?: Linter.RuleEntry<[]>
356
361
  /**
357
362
  * disallow unused `eslint-enable` comments
358
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html
363
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html
359
364
  */
360
365
  'eslint-comments/no-unused-enable'?: Linter.RuleEntry<[]>
361
366
  /**
362
367
  * disallow ESLint directive-comments
363
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-use.html
368
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-use.html
364
369
  */
365
370
  'eslint-comments/no-use'?: Linter.RuleEntry<EslintCommentsNoUse>
366
371
  /**
367
372
  * require include descriptions in ESLint directive-comments
368
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/require-description.html
373
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/require-description.html
369
374
  */
370
375
  'eslint-comments/require-description'?: Linter.RuleEntry<EslintCommentsRequireDescription>
371
376
  /**
@@ -476,228 +481,233 @@ interface RuleOptions {
476
481
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
477
482
  /**
478
483
  * Enforce or ban the use of inline type-only markers for named imports.
479
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/consistent-type-specifier-style.md
484
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/consistent-type-specifier-style.md
480
485
  */
481
486
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
482
487
  /**
483
488
  * Ensure a default export is present, given a default import.
484
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/default.md
489
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/default.md
485
490
  */
486
491
  'import/default'?: Linter.RuleEntry<[]>
487
492
  /**
488
493
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
489
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/dynamic-import-chunkname.md
494
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/dynamic-import-chunkname.md
490
495
  */
491
496
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
492
497
  /**
493
498
  * Forbid any invalid exports, i.e. re-export of the same name.
494
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/export.md
499
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/export.md
495
500
  */
496
501
  'import/export'?: Linter.RuleEntry<[]>
497
502
  /**
498
503
  * Ensure all exports appear after other statements.
499
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/exports-last.md
504
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/exports-last.md
500
505
  */
501
506
  'import/exports-last'?: Linter.RuleEntry<[]>
502
507
  /**
503
508
  * Ensure consistent use of file extension within the import path.
504
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/extensions.md
509
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/extensions.md
505
510
  */
506
511
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
507
512
  /**
508
513
  * Ensure all imports appear before other statements.
509
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/first.md
514
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/first.md
510
515
  */
511
516
  'import/first'?: Linter.RuleEntry<ImportFirst>
512
517
  /**
513
518
  * Prefer named exports to be grouped together in a single export declaration.
514
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/group-exports.md
519
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/group-exports.md
515
520
  */
516
521
  'import/group-exports'?: Linter.RuleEntry<[]>
517
522
  /**
518
523
  * Replaced by `import-x/first`.
519
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/7b25c1cb95ee18acc1531002fd343e1e6031f9ed/docs/rules/imports-first.md
524
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/imports-first.md
520
525
  * @deprecated
521
526
  */
522
527
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
523
528
  /**
524
529
  * Enforce the maximum number of dependencies a module can have.
525
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/max-dependencies.md
530
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/max-dependencies.md
526
531
  */
527
532
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
528
533
  /**
529
534
  * Ensure named imports correspond to a named export in the remote file.
530
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/named.md
535
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/named.md
531
536
  */
532
537
  'import/named'?: Linter.RuleEntry<ImportNamed>
533
538
  /**
534
539
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
535
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/namespace.md
540
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/namespace.md
536
541
  */
537
542
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
538
543
  /**
539
544
  * Enforce a newline after import statements.
540
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/newline-after-import.md
545
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/newline-after-import.md
541
546
  */
542
547
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
543
548
  /**
544
549
  * Forbid import of modules using absolute paths.
545
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-absolute-path.md
550
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-absolute-path.md
546
551
  */
547
552
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
548
553
  /**
549
554
  * Forbid AMD `require` and `define` calls.
550
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-amd.md
555
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-amd.md
551
556
  */
552
557
  'import/no-amd'?: Linter.RuleEntry<[]>
553
558
  /**
554
559
  * Forbid anonymous values as default exports.
555
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-anonymous-default-export.md
560
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-anonymous-default-export.md
556
561
  */
557
562
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
558
563
  /**
559
564
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
560
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-commonjs.md
565
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-commonjs.md
561
566
  */
562
567
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
563
568
  /**
564
569
  * Forbid a module from importing a module with a dependency path back to itself.
565
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-cycle.md
570
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-cycle.md
566
571
  */
567
572
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
568
573
  /**
569
574
  * Forbid default exports.
570
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-default-export.md
575
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-default-export.md
571
576
  */
572
577
  'import/no-default-export'?: Linter.RuleEntry<[]>
573
578
  /**
574
579
  * Forbid imported names marked with `@deprecated` documentation tag.
575
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-deprecated.md
580
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-deprecated.md
576
581
  */
577
582
  'import/no-deprecated'?: Linter.RuleEntry<[]>
578
583
  /**
579
584
  * Forbid repeated import of the same module in multiple places.
580
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-duplicates.md
585
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-duplicates.md
581
586
  */
582
587
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
583
588
  /**
584
589
  * Forbid `require()` calls with expressions.
585
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-dynamic-require.md
590
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-dynamic-require.md
586
591
  */
587
592
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
588
593
  /**
589
594
  * Forbid empty named import blocks.
590
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-empty-named-blocks.md
595
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-empty-named-blocks.md
591
596
  */
592
597
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
593
598
  /**
594
599
  * Forbid the use of extraneous packages.
595
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-extraneous-dependencies.md
600
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-extraneous-dependencies.md
596
601
  */
597
602
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
598
603
  /**
599
604
  * Forbid import statements with CommonJS module.exports.
600
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-import-module-exports.md
605
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-import-module-exports.md
601
606
  */
602
607
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
603
608
  /**
604
609
  * Forbid importing the submodules of other modules.
605
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-internal-modules.md
610
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-internal-modules.md
606
611
  */
607
612
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
608
613
  /**
609
614
  * Forbid the use of mutable exports with `var` or `let`.
610
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-mutable-exports.md
615
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-mutable-exports.md
611
616
  */
612
617
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
613
618
  /**
614
619
  * Forbid use of exported name as identifier of default export.
615
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default.md
620
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-as-default.md
616
621
  */
617
622
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
618
623
  /**
619
624
  * Forbid use of exported name as property of default export.
620
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default-member.md
625
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-as-default-member.md
621
626
  */
622
627
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
623
628
  /**
624
629
  * Forbid named default exports.
625
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-default.md
630
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-default.md
626
631
  */
627
632
  'import/no-named-default'?: Linter.RuleEntry<[]>
628
633
  /**
629
634
  * Forbid named exports.
630
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-export.md
635
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-named-export.md
631
636
  */
632
637
  'import/no-named-export'?: Linter.RuleEntry<[]>
633
638
  /**
634
639
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
635
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-namespace.md
640
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-namespace.md
636
641
  */
637
642
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
638
643
  /**
639
644
  * Forbid Node.js builtin modules.
640
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-nodejs-modules.md
645
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-nodejs-modules.md
641
646
  */
642
647
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
643
648
  /**
644
649
  * Forbid importing packages through relative paths.
645
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-packages.md
650
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-relative-packages.md
646
651
  */
647
652
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
648
653
  /**
649
654
  * Forbid importing modules from parent directories.
650
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-parent-imports.md
655
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-relative-parent-imports.md
651
656
  */
652
657
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
658
+ /**
659
+ * Forbid importing a default export by a different name.
660
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-rename-default.md
661
+ */
662
+ 'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
653
663
  /**
654
664
  * Enforce which files can be imported in a given folder.
655
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-restricted-paths.md
665
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-restricted-paths.md
656
666
  */
657
667
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
658
668
  /**
659
669
  * Forbid a module from importing itself.
660
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-self-import.md
670
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-self-import.md
661
671
  */
662
672
  'import/no-self-import'?: Linter.RuleEntry<[]>
663
673
  /**
664
674
  * Forbid unassigned imports.
665
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unassigned-import.md
675
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-unassigned-import.md
666
676
  */
667
677
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
668
678
  /**
669
679
  * Ensure imports point to a file/module that can be resolved.
670
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unresolved.md
680
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-unresolved.md
671
681
  */
672
682
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
673
683
  /**
674
684
  * Forbid modules without exports, or exports without matching import in another module.
675
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unused-modules.md
685
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-unused-modules.md
676
686
  */
677
687
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
678
688
  /**
679
689
  * Forbid unnecessary path segments in import and require statements.
680
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-useless-path-segments.md
690
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-useless-path-segments.md
681
691
  */
682
692
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
683
693
  /**
684
694
  * Forbid webpack loader syntax in imports.
685
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-webpack-loader-syntax.md
695
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/no-webpack-loader-syntax.md
686
696
  */
687
697
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
688
698
  /**
689
699
  * Enforce a convention in module import order.
690
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/order.md
700
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/order.md
691
701
  */
692
702
  'import/order'?: Linter.RuleEntry<ImportOrder>
693
703
  /**
694
704
  * Prefer a default export if module exports a single name or multiple names.
695
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/prefer-default-export.md
705
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/prefer-default-export.md
696
706
  */
697
707
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
698
708
  /**
699
709
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
700
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/unambiguous.md
710
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.2.1/docs/rules/unambiguous.md
701
711
  */
702
712
  'import/unambiguous'?: Linter.RuleEntry<[]>
703
713
  /**
@@ -764,7 +774,7 @@ interface RuleOptions {
764
774
  'jsdoc/check-tag-names'?: Linter.RuleEntry<JsdocCheckTagNames>
765
775
  /**
766
776
  * Checks that any `@template` names are actually used in the connected `@typedef` or type alias.
767
- * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
777
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-template-names.md#repos-sticky-header
768
778
  */
769
779
  'jsdoc/check-template-names'?: Linter.RuleEntry<[]>
770
780
  /**
@@ -802,6 +812,11 @@ interface RuleOptions {
802
812
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/informative-docs.md#repos-sticky-header
803
813
  */
804
814
  'jsdoc/informative-docs'?: Linter.RuleEntry<JsdocInformativeDocs>
815
+ /**
816
+ * Enforces minimum number of newlines before JSDoc comment blocks
817
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/lines-before-block.md#repos-sticky-header
818
+ */
819
+ 'jsdoc/lines-before-block'?: Linter.RuleEntry<JsdocLinesBeforeBlock>
805
820
  /**
806
821
  * Enforces a regular expression pattern on descriptions.
807
822
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/match-description.md#repos-sticky-header
@@ -1268,6 +1283,34 @@ interface RuleOptions {
1268
1283
  * @see https://eslint.org/docs/latest/rules/logical-assignment-operators
1269
1284
  */
1270
1285
  'logical-assignment-operators'?: Linter.RuleEntry<LogicalAssignmentOperators>
1286
+ /**
1287
+ * Require languages for fenced code blocks.
1288
+ */
1289
+ 'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>
1290
+ /**
1291
+ * Enforce heading levels increment by one.
1292
+ */
1293
+ 'markdown/heading-increment'?: Linter.RuleEntry<[]>
1294
+ /**
1295
+ * Disallow duplicate headings in the same document.
1296
+ */
1297
+ 'markdown/no-duplicate-headings'?: Linter.RuleEntry<[]>
1298
+ /**
1299
+ * Disallow empty links.
1300
+ */
1301
+ 'markdown/no-empty-links'?: Linter.RuleEntry<[]>
1302
+ /**
1303
+ * Disallow HTML tags.
1304
+ */
1305
+ 'markdown/no-html'?: Linter.RuleEntry<MarkdownNoHtml>
1306
+ /**
1307
+ * Disallow invalid label references.
1308
+ */
1309
+ 'markdown/no-invalid-label-refs'?: Linter.RuleEntry<[]>
1310
+ /**
1311
+ * Disallow missing label references.
1312
+ */
1313
+ 'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>
1271
1314
  /**
1272
1315
  * Enforce a maximum number of classes per file
1273
1316
  * @see https://eslint.org/docs/latest/rules/max-classes-per-file
@@ -2492,6 +2535,11 @@ interface RuleOptions {
2492
2535
  * @see https://perfectionist.dev/rules/sort-objects
2493
2536
  */
2494
2537
  'perfectionist/sort-objects'?: Linter.RuleEntry<PerfectionistSortObjects>
2538
+ /**
2539
+ * Enforce sorted sets.
2540
+ * @see https://perfectionist.dev/rules/sort-sets
2541
+ */
2542
+ 'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>
2495
2543
  /**
2496
2544
  * Enforce sorted Svelte attributes.
2497
2545
  * @see https://perfectionist.dev/rules/sort-svelte-attributes
@@ -2661,18 +2709,13 @@ interface RuleOptions {
2661
2709
  */
2662
2710
  'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
2663
2711
  /**
2664
- * enforce custom hooks using other hooks
2665
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-custom-hooks-using-other-hooks
2712
+ * enforce custom hooks to use at least one other hook inside
2713
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-redundant-custom-hook
2666
2714
  */
2667
2715
  'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
2668
2716
  /**
2669
- * enforce 'useCallback' has non-empty dependencies array
2670
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-callback-has-non-empty-deps
2671
- */
2672
- 'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
2673
- /**
2674
- * enforce 'useMemo' has non-empty dependencies array
2675
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
2717
+ * disallow unnecessary usage of 'useMemo'
2718
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
2676
2719
  */
2677
2720
  'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
2678
2721
  /**
@@ -2681,10 +2724,25 @@ interface RuleOptions {
2681
2724
  */
2682
2725
  'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
2683
2726
  /**
2684
- * disallow direct calls to the 'set' function of 'useState' in 'useLayoutEffect'
2685
- * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
2727
+ * disallow direct calls to the 'set' function of 'useState' in 'useEffect'
2728
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
2686
2729
  */
2687
2730
  'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
2731
+ /**
2732
+ * enforce custom hooks to use at least one other hook inside
2733
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-redundant-custom-hook
2734
+ */
2735
+ 'react-hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>
2736
+ /**
2737
+ * disallow unnecessary usage of 'useCallback'
2738
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
2739
+ */
2740
+ 'react-hooks-extra/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>
2741
+ /**
2742
+ * disallow unnecessary usage of 'useMemo'
2743
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
2744
+ */
2745
+ 'react-hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>
2688
2746
  /**
2689
2747
  * disallow function calls in 'useState' that aren't wrapped in an initializer function
2690
2748
  * @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
@@ -2722,12 +2780,12 @@ interface RuleOptions {
2722
2780
  'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
2723
2781
  'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
2724
2782
  /**
2725
- * avoid using shorthand boolean attribute
2783
+ * disallow using shorthand boolean attributes
2726
2784
  * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
2727
2785
  */
2728
2786
  'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
2729
2787
  /**
2730
- * avoid using shorthand fragment syntax
2788
+ * disallow using shorthand fragment syntax
2731
2789
  * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
2732
2790
  */
2733
2791
  'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
@@ -2794,13 +2852,11 @@ interface RuleOptions {
2794
2852
  /**
2795
2853
  * disallow complex conditional rendering
2796
2854
  * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
2797
- * @deprecated
2798
2855
  */
2799
2856
  'react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>
2800
2857
  /**
2801
2858
  * disallow complex conditional rendering
2802
2859
  * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
2803
- * @deprecated
2804
2860
  */
2805
2861
  'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
2806
2862
  /**
@@ -2834,7 +2890,7 @@ interface RuleOptions {
2834
2890
  */
2835
2891
  'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
2836
2892
  /**
2837
- * disallow duplicate keys in 'key' prop when rendering list
2893
+ * disallow duplicate keys when rendering list
2838
2894
  * @see https://eslint-react.xyz/docs/rules/no-duplicate-key
2839
2895
  */
2840
2896
  'react/no-duplicate-key'?: Linter.RuleEntry<[]>
@@ -2854,7 +2910,7 @@ interface RuleOptions {
2854
2910
  */
2855
2911
  'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
2856
2912
  /**
2857
- * require 'key' prop when rendering list
2913
+ * require 'key' when rendering list
2858
2914
  * @see https://eslint-react.xyz/docs/rules/no-missing-key
2859
2915
  */
2860
2916
  'react/no-missing-key'?: Linter.RuleEntry<[]>
@@ -3377,7 +3433,7 @@ interface RuleOptions {
3377
3433
  * Enforce the use of `u` or `v` flag on RegExp
3378
3434
  * @see https://eslint.org/docs/latest/rules/require-unicode-regexp
3379
3435
  */
3380
- 'require-unicode-regexp'?: Linter.RuleEntry<[]>
3436
+ 'require-unicode-regexp'?: Linter.RuleEntry<RequireUnicodeRegexp>
3381
3437
  /**
3382
3438
  * Require generator functions to contain `yield`
3383
3439
  * @see https://eslint.org/docs/latest/rules/require-yield
@@ -3964,103 +4020,103 @@ interface RuleOptions {
3964
4020
  'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>
3965
4021
  /**
3966
4022
  * require .spec test file pattern
3967
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
4023
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
3968
4024
  */
3969
4025
  'test/consistent-test-filename'?: Linter.RuleEntry<TestConsistentTestFilename>
3970
4026
  /**
3971
4027
  * enforce using test or it but not both
3972
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
4028
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
3973
4029
  */
3974
4030
  'test/consistent-test-it'?: Linter.RuleEntry<TestConsistentTestIt>
3975
4031
  /**
3976
4032
  * enforce having expectation in test body
3977
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
4033
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
3978
4034
  */
3979
4035
  'test/expect-expect'?: Linter.RuleEntry<TestExpectExpect>
3980
4036
  /**
3981
4037
  * enforce a maximum number of expect per test
3982
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
4038
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
3983
4039
  */
3984
4040
  'test/max-expects'?: Linter.RuleEntry<TestMaxExpects>
3985
4041
  /**
3986
4042
  * require describe block to be less than set max value or default value
3987
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/max-nested-describe.md
4043
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-nested-describe.md
3988
4044
  */
3989
4045
  'test/max-nested-describe'?: Linter.RuleEntry<TestMaxNestedDescribe>
3990
4046
  /**
3991
4047
  * disallow alias methods
3992
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-alias-methods.md
4048
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-alias-methods.md
3993
4049
  */
3994
4050
  'test/no-alias-methods'?: Linter.RuleEntry<[]>
3995
4051
  /**
3996
4052
  * disallow commented out tests
3997
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-commented-out-tests.md
4053
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-commented-out-tests.md
3998
4054
  */
3999
4055
  'test/no-commented-out-tests'?: Linter.RuleEntry<[]>
4000
4056
  /**
4001
4057
  * disallow conditional expects
4002
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-expect.md
4058
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-expect.md
4003
4059
  */
4004
4060
  'test/no-conditional-expect'?: Linter.RuleEntry<[]>
4005
4061
  /**
4006
4062
  * disallow conditional tests
4007
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-in-test.md
4063
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-in-test.md
4008
4064
  */
4009
4065
  'test/no-conditional-in-test'?: Linter.RuleEntry<[]>
4010
4066
  /**
4011
4067
  * disallow conditional tests
4012
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-tests.md
4068
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-tests.md
4013
4069
  */
4014
4070
  'test/no-conditional-tests'?: Linter.RuleEntry<[]>
4015
4071
  /**
4016
4072
  * disallow disabled tests
4017
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-disabled-tests.md
4073
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-disabled-tests.md
4018
4074
  */
4019
4075
  'test/no-disabled-tests'?: Linter.RuleEntry<[]>
4020
4076
  /**
4021
4077
  * disallow using a callback in asynchronous tests and hooks
4022
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-done-callback.md
4078
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-done-callback.md
4023
4079
  * @deprecated
4024
4080
  */
4025
4081
  'test/no-done-callback'?: Linter.RuleEntry<[]>
4026
4082
  /**
4027
4083
  * disallow duplicate hooks and teardown hooks
4028
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-duplicate-hooks.md
4084
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-duplicate-hooks.md
4029
4085
  */
4030
4086
  'test/no-duplicate-hooks'?: Linter.RuleEntry<[]>
4031
4087
  /**
4032
4088
  * disallow focused tests
4033
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-focused-tests.md
4089
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-focused-tests.md
4034
4090
  */
4035
4091
  'test/no-focused-tests'?: Linter.RuleEntry<TestNoFocusedTests>
4036
4092
  /**
4037
4093
  * disallow setup and teardown hooks
4038
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-hooks.md
4094
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-hooks.md
4039
4095
  */
4040
4096
  'test/no-hooks'?: Linter.RuleEntry<TestNoHooks>
4041
4097
  /**
4042
4098
  * disallow identical titles
4043
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-identical-title.md
4099
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-identical-title.md
4044
4100
  */
4045
4101
  'test/no-identical-title'?: Linter.RuleEntry<[]>
4046
4102
  /**
4047
4103
  * disallow importing `node:test`
4048
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
4104
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
4049
4105
  */
4050
4106
  'test/no-import-node-test'?: Linter.RuleEntry<[]>
4051
4107
  /**
4052
4108
  * disallow string interpolation in snapshots
4053
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
4109
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
4054
4110
  */
4055
4111
  'test/no-interpolation-in-snapshots'?: Linter.RuleEntry<[]>
4056
4112
  /**
4057
4113
  * disallow large snapshots
4058
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-large-snapshots.md
4114
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-large-snapshots.md
4059
4115
  */
4060
4116
  'test/no-large-snapshots'?: Linter.RuleEntry<TestNoLargeSnapshots>
4061
4117
  /**
4062
4118
  * disallow importing from __mocks__ directory
4063
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-mocks-import.md
4119
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-mocks-import.md
4064
4120
  */
4065
4121
  'test/no-mocks-import'?: Linter.RuleEntry<[]>
4066
4122
  /**
@@ -4070,162 +4126,202 @@ interface RuleOptions {
4070
4126
  'test/no-only-tests'?: Linter.RuleEntry<TestNoOnlyTests>
4071
4127
  /**
4072
4128
  * disallow the use of certain matchers
4073
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-matchers.md
4129
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-matchers.md
4074
4130
  */
4075
4131
  'test/no-restricted-matchers'?: Linter.RuleEntry<TestNoRestrictedMatchers>
4076
4132
  /**
4077
4133
  * disallow specific `vi.` methods
4078
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-vi-methods.md
4134
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-vi-methods.md
4079
4135
  */
4080
4136
  'test/no-restricted-vi-methods'?: Linter.RuleEntry<TestNoRestrictedViMethods>
4081
4137
  /**
4082
4138
  * disallow using `expect` outside of `it` or `test` blocks
4083
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-standalone-expect.md
4139
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-standalone-expect.md
4084
4140
  */
4085
4141
  'test/no-standalone-expect'?: Linter.RuleEntry<TestNoStandaloneExpect>
4086
4142
  /**
4087
4143
  * disallow using `test` as a prefix
4088
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
4144
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
4089
4145
  */
4090
4146
  'test/no-test-prefixes'?: Linter.RuleEntry<[]>
4091
4147
  /**
4092
4148
  * disallow return statements in tests
4093
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-test-return-statement.md
4149
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-return-statement.md
4094
4150
  */
4095
4151
  'test/no-test-return-statement'?: Linter.RuleEntry<[]>
4152
+ /**
4153
+ * Enforce padding around `afterAll` blocks
4154
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-all-blocks.md
4155
+ */
4156
+ 'test/padding-around-after-all-blocks'?: Linter.RuleEntry<[]>
4157
+ /**
4158
+ * Enforce padding around `afterEach` blocks
4159
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-each-blocks.md
4160
+ */
4161
+ 'test/padding-around-after-each-blocks'?: Linter.RuleEntry<[]>
4162
+ /**
4163
+ * Enforce padding around vitest functions
4164
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-all.md
4165
+ */
4166
+ 'test/padding-around-all'?: Linter.RuleEntry<[]>
4167
+ /**
4168
+ * Enforce padding around `beforeAll` blocks
4169
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-all-blocks.md
4170
+ */
4171
+ 'test/padding-around-before-all-blocks'?: Linter.RuleEntry<[]>
4172
+ /**
4173
+ * Enforce padding around `beforeEach` blocks
4174
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-each-blocks.md
4175
+ */
4176
+ 'test/padding-around-before-each-blocks'?: Linter.RuleEntry<[]>
4177
+ /**
4178
+ * Enforce padding around `describe` blocks
4179
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-describe-blocks.md
4180
+ */
4181
+ 'test/padding-around-describe-blocks'?: Linter.RuleEntry<[]>
4182
+ /**
4183
+ * Enforce padding around `expect` groups
4184
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-expect-groups.md
4185
+ */
4186
+ 'test/padding-around-expect-groups'?: Linter.RuleEntry<[]>
4187
+ /**
4188
+ * Enforce padding around afterAll blocks
4189
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
4190
+ */
4191
+ 'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>
4096
4192
  /**
4097
4193
  * enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
4098
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
4194
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
4099
4195
  */
4100
4196
  'test/prefer-called-with'?: Linter.RuleEntry<[]>
4101
4197
  /**
4102
4198
  * enforce using the built-in comparison matchers
4103
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-comparison-matcher.md
4199
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-comparison-matcher.md
4104
4200
  */
4105
4201
  'test/prefer-comparison-matcher'?: Linter.RuleEntry<[]>
4106
4202
  /**
4107
4203
  * enforce using `each` rather than manual loops
4108
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-each.md
4204
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-each.md
4109
4205
  */
4110
4206
  'test/prefer-each'?: Linter.RuleEntry<[]>
4111
4207
  /**
4112
4208
  * enforce using the built-in quality matchers
4113
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-equality-matcher.md
4209
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-equality-matcher.md
4114
4210
  */
4115
4211
  'test/prefer-equality-matcher'?: Linter.RuleEntry<[]>
4116
4212
  /**
4117
4213
  * enforce using expect assertions instead of callbacks
4118
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-assertions.md
4214
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-assertions.md
4119
4215
  */
4120
4216
  'test/prefer-expect-assertions'?: Linter.RuleEntry<TestPreferExpectAssertions>
4121
4217
  /**
4122
4218
  * enforce using `expect().resolves` over `expect(await ...)` syntax
4123
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
4219
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
4124
4220
  */
4125
4221
  'test/prefer-expect-resolves'?: Linter.RuleEntry<[]>
4126
4222
  /**
4127
4223
  * enforce having hooks in consistent order
4128
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
4224
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
4129
4225
  */
4130
4226
  'test/prefer-hooks-in-order'?: Linter.RuleEntry<[]>
4131
4227
  /**
4132
4228
  * enforce having hooks before any test cases
4133
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
4229
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
4134
4230
  */
4135
4231
  'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>
4136
4232
  /**
4137
4233
  * enforce lowercase titles
4138
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
4234
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
4139
4235
  */
4140
4236
  'test/prefer-lowercase-title'?: Linter.RuleEntry<TestPreferLowercaseTitle>
4141
4237
  /**
4142
4238
  * enforce mock resolved/rejected shorthands for promises
4143
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-promise-shorthand.md
4239
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-promise-shorthand.md
4144
4240
  */
4145
4241
  'test/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>
4146
4242
  /**
4147
4243
  * enforce including a hint with external snapshots
4148
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-snapshot-hint.md
4244
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-snapshot-hint.md
4149
4245
  */
4150
4246
  'test/prefer-snapshot-hint'?: Linter.RuleEntry<TestPreferSnapshotHint>
4151
4247
  /**
4152
4248
  * enforce using `vi.spyOn`
4153
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-spy-on.md
4249
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-spy-on.md
4154
4250
  */
4155
4251
  'test/prefer-spy-on'?: Linter.RuleEntry<[]>
4156
4252
  /**
4157
4253
  * enforce strict equal over equal
4158
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-equal.md
4254
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-equal.md
4159
4255
  */
4160
4256
  'test/prefer-strict-equal'?: Linter.RuleEntry<[]>
4161
4257
  /**
4162
4258
  * enforce using toBe()
4163
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be.md
4259
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be.md
4164
4260
  */
4165
4261
  'test/prefer-to-be'?: Linter.RuleEntry<[]>
4166
4262
  /**
4167
4263
  * enforce using toBeFalsy()
4168
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-falsy.md
4264
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-falsy.md
4169
4265
  */
4170
4266
  'test/prefer-to-be-falsy'?: Linter.RuleEntry<[]>
4171
4267
  /**
4172
4268
  * enforce using toBeObject()
4173
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-object.md
4269
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-object.md
4174
4270
  */
4175
4271
  'test/prefer-to-be-object'?: Linter.RuleEntry<[]>
4176
4272
  /**
4177
4273
  * enforce using `toBeTruthy`
4178
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-truthy.md
4274
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-truthy.md
4179
4275
  */
4180
4276
  'test/prefer-to-be-truthy'?: Linter.RuleEntry<[]>
4181
4277
  /**
4182
4278
  * enforce using toContain()
4183
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-contain.md
4279
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-contain.md
4184
4280
  */
4185
4281
  'test/prefer-to-contain'?: Linter.RuleEntry<[]>
4186
4282
  /**
4187
4283
  * enforce using toHaveLength()
4188
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-length.md
4284
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-length.md
4189
4285
  */
4190
4286
  'test/prefer-to-have-length'?: Linter.RuleEntry<[]>
4191
4287
  /**
4192
4288
  * enforce using `test.todo`
4193
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-todo.md
4289
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-todo.md
4194
4290
  */
4195
4291
  'test/prefer-todo'?: Linter.RuleEntry<[]>
4196
4292
  /**
4197
4293
  * require setup and teardown to be within a hook
4198
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
4294
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
4199
4295
  */
4200
4296
  'test/require-hook'?: Linter.RuleEntry<TestRequireHook>
4201
4297
  /**
4202
4298
  * require local Test Context for concurrent snapshot tests
4203
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
4299
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
4204
4300
  */
4205
4301
  'test/require-local-test-context-for-concurrent-snapshots'?: Linter.RuleEntry<[]>
4206
4302
  /**
4207
4303
  * require toThrow() to be called with an error message
4208
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
4304
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
4209
4305
  */
4210
4306
  'test/require-to-throw-message'?: Linter.RuleEntry<[]>
4211
4307
  /**
4212
4308
  * enforce that all tests are in a top-level describe
4213
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
4309
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
4214
4310
  */
4215
4311
  'test/require-top-level-describe'?: Linter.RuleEntry<TestRequireTopLevelDescribe>
4216
4312
  /**
4217
4313
  * enforce valid describe callback
4218
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
4314
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
4219
4315
  */
4220
4316
  'test/valid-describe-callback'?: Linter.RuleEntry<[]>
4221
4317
  /**
4222
4318
  * enforce valid `expect()` usage
4223
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
4319
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
4224
4320
  */
4225
4321
  'test/valid-expect'?: Linter.RuleEntry<TestValidExpect>
4226
4322
  /**
4227
4323
  * enforce valid titles
4228
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
4324
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
4229
4325
  */
4230
4326
  'test/valid-title'?: Linter.RuleEntry<TestValidTitle>
4231
4327
  /**
@@ -4484,6 +4580,11 @@ interface RuleOptions {
4484
4580
  * @see https://typescript-eslint.io/rules/no-confusing-void-expression
4485
4581
  */
4486
4582
  'ts/no-confusing-void-expression'?: Linter.RuleEntry<TsNoConfusingVoidExpression>
4583
+ /**
4584
+ * Disallow using code marked as `@deprecated`
4585
+ * @see https://typescript-eslint.io/rules/no-deprecated
4586
+ */
4587
+ 'ts/no-deprecated'?: Linter.RuleEntry<[]>
4487
4588
  /**
4488
4589
  * Disallow duplicate class members
4489
4590
  * @see https://typescript-eslint.io/rules/no-dupe-class-members
@@ -4708,7 +4809,7 @@ interface RuleOptions {
4708
4809
  */
4709
4810
  'ts/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
4710
4811
  /**
4711
- * Disallow type parameters that only appear once
4812
+ * Disallow type parameters that aren't used multiple times
4712
4813
  * @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
4713
4814
  */
4714
4815
  'ts/no-unnecessary-type-parameters'?: Linter.RuleEntry<[]>
@@ -4764,7 +4865,7 @@ interface RuleOptions {
4764
4865
  'ts/no-unused-expressions'?: Linter.RuleEntry<TsNoUnusedExpressions>
4765
4866
  /**
4766
4867
  * Disallow unused variables
4767
- * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
4868
+ * @see https://typescript-eslint.io/rules/no-unused-vars
4768
4869
  */
4769
4870
  'ts/no-unused-vars'?: Linter.RuleEntry<TsNoUnusedVars>
4770
4871
  /**
@@ -4971,7 +5072,7 @@ interface RuleOptions {
4971
5072
  */
4972
5073
  'ts/unified-signatures'?: Linter.RuleEntry<TsUnifiedSignatures>
4973
5074
  /**
4974
- * Enforce typing arguments in `.catch()` callbacks as `unknown`
5075
+ * Enforce typing arguments in Promise rejection callbacks as `unknown`
4975
5076
  * @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
4976
5077
  */
4977
5078
  'ts/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>
@@ -5692,7 +5793,7 @@ interface RuleOptions {
5692
5793
  'unused-imports/no-unused-imports'?: Linter.RuleEntry<UnusedImportsNoUnusedImports>
5693
5794
  /**
5694
5795
  * Disallow unused variables
5695
- * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
5796
+ * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-vars.md
5696
5797
  */
5697
5798
  'unused-imports/no-unused-vars'?: Linter.RuleEntry<UnusedImportsNoUnusedVars>
5698
5799
  /**
@@ -5827,7 +5928,7 @@ interface RuleOptions {
5827
5928
  */
5828
5929
  'vue/define-emits-declaration'?: Linter.RuleEntry<VueDefineEmitsDeclaration>
5829
5930
  /**
5830
- * enforce order of `defineEmits` and `defineProps` compiler macros
5931
+ * enforce order of compiler macros (`defineProps`, `defineEmits`, etc.)
5831
5932
  * @see https://eslint.vuejs.org/rules/define-macros-order.html
5832
5933
  */
5833
5934
  'vue/define-macros-order'?: Linter.RuleEntry<VueDefineMacrosOrder>
@@ -5922,7 +6023,7 @@ interface RuleOptions {
5922
6023
  */
5923
6024
  'vue/jsx-uses-vars'?: Linter.RuleEntry<[]>
5924
6025
  /**
5925
- * Enforce consistent spacing between keys and values in object literal properties in `<template>`
6026
+ * Enforce consistent spacing between property names and type annotations in types and interfaces in `<template>`
5926
6027
  * @see https://eslint.vuejs.org/rules/key-spacing.html
5927
6028
  */
5928
6029
  'vue/key-spacing'?: Linter.RuleEntry<VueKeySpacing>
@@ -5956,6 +6057,16 @@ interface RuleOptions {
5956
6057
  * @see https://eslint.vuejs.org/rules/max-lines-per-block.html
5957
6058
  */
5958
6059
  'vue/max-lines-per-block'?: Linter.RuleEntry<VueMaxLinesPerBlock>
6060
+ /**
6061
+ * enforce maximum number of props in Vue component
6062
+ * @see https://eslint.vuejs.org/rules/max-props.html
6063
+ */
6064
+ 'vue/max-props'?: Linter.RuleEntry<VueMaxProps>
6065
+ /**
6066
+ * enforce maximum depth of template
6067
+ * @see https://eslint.vuejs.org/rules/max-template-depth.html
6068
+ */
6069
+ 'vue/max-template-depth'?: Linter.RuleEntry<VueMaxTemplateDepth>
5959
6070
  /**
5960
6071
  * require component names to be always multi-word
5961
6072
  * @see https://eslint.vuejs.org/rules/multi-word-component-names.html
@@ -6012,7 +6123,7 @@ interface RuleOptions {
6012
6123
  */
6013
6124
  'vue/no-child-content'?: Linter.RuleEntry<VueNoChildContent>
6014
6125
  /**
6015
- * disallow accessing computed properties in `data`.
6126
+ * disallow accessing computed properties in `data`
6016
6127
  * @see https://eslint.vuejs.org/rules/no-computed-properties-in-data.html
6017
6128
  */
6018
6129
  'vue/no-computed-properties-in-data'?: Linter.RuleEntry<[]>
@@ -6560,7 +6671,7 @@ interface RuleOptions {
6560
6671
  */
6561
6672
  'vue/padding-lines-in-component-definition'?: Linter.RuleEntry<VuePaddingLinesInComponentDefinition>
6562
6673
  /**
6563
- * enforce use of `defineOptions` instead of default export.
6674
+ * enforce use of `defineOptions` instead of default export
6564
6675
  * @see https://eslint.vuejs.org/rules/prefer-define-options.html
6565
6676
  */
6566
6677
  'vue/prefer-define-options'?: Linter.RuleEntry<[]>
@@ -6595,7 +6706,7 @@ interface RuleOptions {
6595
6706
  */
6596
6707
  'vue/prop-name-casing'?: Linter.RuleEntry<VuePropNameCasing>
6597
6708
  /**
6598
- * Require quotes around object literal property names in `<template>`
6709
+ * Require quotes around object literal, type literal, interfaces and enums property names in `<template>`
6599
6710
  * @see https://eslint.vuejs.org/rules/quote-props.html
6600
6711
  */
6601
6712
  'vue/quote-props'?: Linter.RuleEntry<VueQuoteProps>
@@ -6604,6 +6715,11 @@ interface RuleOptions {
6604
6715
  * @see https://eslint.vuejs.org/rules/require-component-is.html
6605
6716
  */
6606
6717
  'vue/require-component-is'?: Linter.RuleEntry<[]>
6718
+ /**
6719
+ * require components to be the default export
6720
+ * @see https://eslint.vuejs.org/rules/require-default-export.html
6721
+ */
6722
+ 'vue/require-default-export'?: Linter.RuleEntry<[]>
6607
6723
  /**
6608
6724
  * require default value for props
6609
6725
  * @see https://eslint.vuejs.org/rules/require-default-prop.html
@@ -6673,7 +6789,7 @@ interface RuleOptions {
6673
6789
  * require control the display of the content inside `<transition>`
6674
6790
  * @see https://eslint.vuejs.org/rules/require-toggle-inside-transition.html
6675
6791
  */
6676
- 'vue/require-toggle-inside-transition'?: Linter.RuleEntry<[]>
6792
+ 'vue/require-toggle-inside-transition'?: Linter.RuleEntry<VueRequireToggleInsideTransition>
6677
6793
  /**
6678
6794
  * enforce adding type declarations to object props
6679
6795
  * @see https://eslint.vuejs.org/rules/require-typed-object-prop.html
@@ -7093,27 +7209,33 @@ type AccessorPairs = []|[{
7093
7209
  setWithoutGet?: boolean
7094
7210
  enforceForClassMembers?: boolean
7095
7211
  }]
7212
+ // ----- antfu/consistent-chaining -----
7213
+ type AntfuConsistentChaining = []|[{
7214
+
7215
+ allowLeadingPropertyAccess?: boolean
7216
+ }]
7096
7217
  // ----- antfu/consistent-list-newline -----
7097
7218
  type AntfuConsistentListNewline = []|[{
7098
7219
  ArrayExpression?: boolean
7220
+ ArrayPattern?: boolean
7099
7221
  ArrowFunctionExpression?: boolean
7100
7222
  CallExpression?: boolean
7101
7223
  ExportNamedDeclaration?: boolean
7102
7224
  FunctionDeclaration?: boolean
7103
7225
  FunctionExpression?: boolean
7104
7226
  ImportDeclaration?: boolean
7227
+ JSONArrayExpression?: boolean
7228
+ JSONObjectExpression?: boolean
7229
+ JSXOpeningElement?: boolean
7105
7230
  NewExpression?: boolean
7106
7231
  ObjectExpression?: boolean
7232
+ ObjectPattern?: boolean
7233
+ TSFunctionType?: boolean
7107
7234
  TSInterfaceDeclaration?: boolean
7108
7235
  TSTupleType?: boolean
7109
7236
  TSTypeLiteral?: boolean
7110
7237
  TSTypeParameterDeclaration?: boolean
7111
7238
  TSTypeParameterInstantiation?: boolean
7112
- ObjectPattern?: boolean
7113
- ArrayPattern?: boolean
7114
- JSXOpeningElement?: boolean
7115
- JSONArrayExpression?: boolean
7116
- JSONObjectExpression?: boolean
7117
7239
  }]
7118
7240
  // ----- antfu/indent-unindent -----
7119
7241
  type AntfuIndentUnindent = []|[{
@@ -7471,6 +7593,7 @@ type ImportNoExtraneousDependencies = []|[{
7471
7593
  packageDir?: (string | unknown[])
7472
7594
  includeInternal?: boolean
7473
7595
  includeTypes?: boolean
7596
+ whitelist?: unknown[]
7474
7597
  }]
7475
7598
  // ----- import/no-import-module-exports -----
7476
7599
  type ImportNoImportModuleExports = []|[{
@@ -7507,6 +7630,11 @@ type ImportNoRelativeParentImports = []|[{
7507
7630
 
7508
7631
  ignore?: [string, ...(string)[]]
7509
7632
  }]
7633
+ // ----- import/no-rename-default -----
7634
+ type ImportNoRenameDefault = []|[{
7635
+ commonjs?: boolean
7636
+ preventRenamingBindings?: boolean
7637
+ }]
7510
7638
  // ----- import/no-restricted-paths -----
7511
7639
  type ImportNoRestrictedPaths = []|[{
7512
7640
 
@@ -7760,6 +7888,12 @@ type JsdocInformativeDocs = []|[{
7760
7888
  excludedTags?: string[]
7761
7889
  uselessWords?: string[]
7762
7890
  }]
7891
+ // ----- jsdoc/lines-before-block -----
7892
+ type JsdocLinesBeforeBlock = []|[{
7893
+ excludedTags?: string[]
7894
+ ignoreSameLine?: boolean
7895
+ lines?: number
7896
+ }]
7763
7897
  // ----- jsdoc/match-description -----
7764
7898
  type JsdocMatchDescription = []|[{
7765
7899
  contexts?: (string | {
@@ -8746,6 +8880,14 @@ type LinesBetweenClassMembers = []|[({
8746
8880
  type LogicalAssignmentOperators = (([]|["always"]|["always", {
8747
8881
  enforceForIfStatements?: boolean
8748
8882
  }] | ["never"]) & unknown[])
8883
+ // ----- markdown/fenced-code-language -----
8884
+ type MarkdownFencedCodeLanguage = []|[{
8885
+ required?: string[]
8886
+ }]
8887
+ // ----- markdown/no-html -----
8888
+ type MarkdownNoHtml = []|[{
8889
+ allowed?: string[]
8890
+ }]
8749
8891
  // ----- max-classes-per-file -----
8750
8892
  type MaxClassesPerFile = []|[(number | {
8751
8893
  ignoreExpressions?: boolean
@@ -9631,9 +9773,41 @@ type PerfectionistSortClasses = []|[{
9631
9773
 
9632
9774
  groups?: (string | string[])[]
9633
9775
 
9634
- customGroups?: {
9776
+ customGroups?: ({
9635
9777
  [k: string]: (string | string[]) | undefined
9636
- }
9778
+ } | ({
9779
+
9780
+ groupName?: string
9781
+
9782
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
9783
+
9784
+ order?: ("desc" | "asc")
9785
+ anyOf?: {
9786
+
9787
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
9788
+
9789
+ modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
9790
+
9791
+ elementNamePattern?: string
9792
+
9793
+ decoratorNamePattern?: string
9794
+ }[]
9795
+ } | {
9796
+
9797
+ groupName?: string
9798
+
9799
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
9800
+
9801
+ order?: ("desc" | "asc")
9802
+
9803
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
9804
+
9805
+ modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
9806
+
9807
+ elementNamePattern?: string
9808
+
9809
+ decoratorNamePattern?: string
9810
+ })[])
9637
9811
  }]
9638
9812
  // ----- perfectionist/sort-enums -----
9639
9813
  type PerfectionistSortEnums = []|[{
@@ -9644,6 +9818,10 @@ type PerfectionistSortEnums = []|[{
9644
9818
 
9645
9819
  ignoreCase?: boolean
9646
9820
 
9821
+ sortByValue?: boolean
9822
+
9823
+ forceNumericSort?: boolean
9824
+
9647
9825
  partitionByComment?: (string[] | boolean | string)
9648
9826
  }]
9649
9827
  // ----- perfectionist/sort-exports -----
@@ -9667,6 +9845,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
9667
9845
 
9668
9846
  internalPattern?: string[]
9669
9847
 
9848
+ sortSideEffects?: boolean
9849
+
9670
9850
  newlinesBetween?: ("ignore" | "always" | "never")
9671
9851
 
9672
9852
  maxLineLength?: number
@@ -9807,9 +9987,9 @@ type PerfectionistSortObjects = []|[{
9807
9987
 
9808
9988
  styledComponents?: boolean
9809
9989
 
9810
- ignorePattern?: string[]
9990
+ destructureOnly?: boolean
9811
9991
 
9812
- customIgnore?: unknown[]
9992
+ ignorePattern?: string[]
9813
9993
 
9814
9994
  groups?: (string | string[])[]
9815
9995
 
@@ -9817,6 +9997,17 @@ type PerfectionistSortObjects = []|[{
9817
9997
  [k: string]: (string | string[]) | undefined
9818
9998
  }
9819
9999
  }]
10000
+ // ----- perfectionist/sort-sets -----
10001
+ type PerfectionistSortSets = []|[{
10002
+
10003
+ type?: ("alphabetical" | "natural" | "line-length")
10004
+
10005
+ order?: ("asc" | "desc")
10006
+
10007
+ ignoreCase?: boolean
10008
+
10009
+ groupKind?: ("mixed" | "literals-first" | "spreads-first")
10010
+ }]
9820
10011
  // ----- perfectionist/sort-svelte-attributes -----
9821
10012
  type PerfectionistSortSvelteAttributes = []|[{
9822
10013
 
@@ -9946,6 +10137,9 @@ type ReactHooksExhaustiveDeps = []|[{
9946
10137
  }]
9947
10138
  // ----- react-naming-convention/component-name -----
9948
10139
  type ReactNamingConventionComponentName = []|[(("PascalCase" | "CONSTANT_CASE") | {
10140
+ allowAllCaps?: boolean
10141
+ allowLeadingUnderscore?: boolean
10142
+ allowNamespace?: boolean
9949
10143
  excepts?: string[]
9950
10144
  rule?: ("PascalCase" | "CONSTANT_CASE")
9951
10145
  })]
@@ -10088,6 +10282,10 @@ type RegexpUnicodeProperty = []|[{
10088
10282
  type RequireAtomicUpdates = []|[{
10089
10283
  allowProperties?: boolean
10090
10284
  }]
10285
+ // ----- require-unicode-regexp -----
10286
+ type RequireUnicodeRegexp = []|[{
10287
+ requireFlag?: ("u" | "v")
10288
+ }]
10091
10289
  // ----- rest-spread-spacing -----
10092
10290
  type RestSpreadSpacing = []|[("always" | "never")]
10093
10291
  // ----- semi -----
@@ -10300,6 +10498,7 @@ type StyleIndent = []|[("tab" | number)]|[("tab" | number), {
10300
10498
  offsetTernaryExpressions?: boolean
10301
10499
  ignoredNodes?: string[]
10302
10500
  ignoreComments?: boolean
10501
+ tabLength?: number
10303
10502
  }]
10304
10503
  // ----- style/indent-binary-ops -----
10305
10504
  type StyleIndentBinaryOps = []|[(number | "tab")]
@@ -10674,6 +10873,10 @@ type StyleKeywordSpacing = []|[{
10674
10873
  before?: boolean
10675
10874
  after?: boolean
10676
10875
  }
10876
+ satisfies?: {
10877
+ before?: boolean
10878
+ after?: boolean
10879
+ }
10677
10880
  set?: {
10678
10881
  before?: boolean
10679
10882
  after?: boolean
@@ -11058,7 +11261,7 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
11058
11261
  }]
11059
11262
  // ----- style/padding-line-between-statements -----
11060
11263
  type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
11061
- 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"))[]])
11264
+ 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"))[]])
11062
11265
  type StylePaddingLineBetweenStatements = {
11063
11266
  blankLine: _StylePaddingLineBetweenStatementsPaddingType
11064
11267
  prev: _StylePaddingLineBetweenStatementsStatementType
@@ -11221,6 +11424,7 @@ type TestNoLargeSnapshots = []|[{
11221
11424
  type TestNoOnlyTests = []|[{
11222
11425
  block?: string[]
11223
11426
  focus?: string[]
11427
+ functions?: string[]
11224
11428
  fix?: boolean
11225
11429
  }]
11226
11430
  // ----- test/no-restricted-matchers -----
@@ -11233,7 +11437,8 @@ type TestNoRestrictedViMethods = []|[{
11233
11437
  }]
11234
11438
  // ----- test/no-standalone-expect -----
11235
11439
  type TestNoStandaloneExpect = []|[{
11236
- additionalTestBlockFunctions?: string[]
11440
+ additionaltestblockfunctions?: string[]
11441
+ [k: string]: unknown | undefined
11237
11442
  }]
11238
11443
  // ----- test/prefer-expect-assertions -----
11239
11444
  type TestPreferExpectAssertions = []|[{
@@ -11419,6 +11624,7 @@ type TsBanTsComment = []|[{
11419
11624
  "ts-check"?: (boolean | "allow-with-description" | {
11420
11625
  descriptionFormat?: string
11421
11626
  })
11627
+
11422
11628
  minimumDescriptionLength?: number
11423
11629
  }]
11424
11630
  // ----- ts/class-literal-property-style -----
@@ -11444,29 +11650,41 @@ type TsConsistentReturn = []|[{
11444
11650
  }]
11445
11651
  // ----- ts/consistent-type-assertions -----
11446
11652
  type TsConsistentTypeAssertions = []|[({
11653
+
11447
11654
  assertionStyle: "never"
11448
11655
  } | {
11656
+
11449
11657
  assertionStyle: ("as" | "angle-bracket")
11658
+
11450
11659
  objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
11451
11660
  })]
11452
11661
  // ----- ts/consistent-type-definitions -----
11453
11662
  type TsConsistentTypeDefinitions = []|[("interface" | "type")]
11454
11663
  // ----- ts/consistent-type-exports -----
11455
11664
  type TsConsistentTypeExports = []|[{
11665
+
11456
11666
  fixMixedExportsWithInlineTypeSpecifier?: boolean
11457
11667
  }]
11458
11668
  // ----- ts/consistent-type-imports -----
11459
11669
  type TsConsistentTypeImports = []|[{
11670
+
11460
11671
  disallowTypeAnnotations?: boolean
11672
+
11461
11673
  fixStyle?: ("separate-type-imports" | "inline-type-imports")
11674
+
11462
11675
  prefer?: ("type-imports" | "no-type-imports")
11463
11676
  }]
11464
11677
  // ----- ts/dot-notation -----
11465
11678
  type TsDotNotation = []|[{
11679
+
11466
11680
  allowKeywords?: boolean
11681
+
11467
11682
  allowPattern?: string
11683
+
11468
11684
  allowPrivateClassPropertyAccess?: boolean
11685
+
11469
11686
  allowProtectedClassPropertyAccess?: boolean
11687
+
11470
11688
  allowIndexSignaturePropertyAccess?: boolean
11471
11689
  }]
11472
11690
  // ----- ts/explicit-function-return-type -----
@@ -11498,6 +11716,7 @@ type TsExplicitMemberAccessibility = []|[{
11498
11716
  properties?: ("explicit" | "no-public" | "off")
11499
11717
  parameterProperties?: ("explicit" | "no-public" | "off")
11500
11718
  }
11719
+
11501
11720
  ignoredMethodNames?: string[]
11502
11721
  }]
11503
11722
  // ----- ts/explicit-module-boundary-types -----
@@ -11519,8 +11738,11 @@ type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
11519
11738
  }])
11520
11739
  // ----- ts/max-params -----
11521
11740
  type TsMaxParams = []|[{
11522
- maximum?: number
11741
+
11523
11742
  max?: number
11743
+
11744
+ maximum?: number
11745
+
11524
11746
  countVoidThis?: boolean
11525
11747
  }]
11526
11748
  // ----- ts/member-ordering -----
@@ -11874,30 +12096,40 @@ interface _TsNamingConvention_MatchRegexConfig {
11874
12096
  }
11875
12097
  // ----- ts/no-base-to-string -----
11876
12098
  type TsNoBaseToString = []|[{
12099
+
11877
12100
  ignoredTypeNames?: string[]
11878
12101
  }]
11879
12102
  // ----- ts/no-confusing-void-expression -----
11880
12103
  type TsNoConfusingVoidExpression = []|[{
12104
+
11881
12105
  ignoreArrowShorthand?: boolean
12106
+
11882
12107
  ignoreVoidOperator?: boolean
11883
12108
  }]
11884
12109
  // ----- ts/no-duplicate-type-constituents -----
11885
12110
  type TsNoDuplicateTypeConstituents = []|[{
12111
+
11886
12112
  ignoreIntersections?: boolean
12113
+
11887
12114
  ignoreUnions?: boolean
11888
12115
  }]
11889
12116
  // ----- ts/no-empty-function -----
11890
12117
  type TsNoEmptyFunction = []|[{
12118
+
11891
12119
  allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "private-constructors" | "protected-constructors" | "asyncFunctions" | "asyncMethods" | "decoratedFunctions" | "overrideMethods")[]
11892
12120
  }]
11893
12121
  // ----- ts/no-empty-interface -----
11894
12122
  type TsNoEmptyInterface = []|[{
12123
+
11895
12124
  allowSingleExtends?: boolean
11896
12125
  }]
11897
12126
  // ----- ts/no-empty-object-type -----
11898
12127
  type TsNoEmptyObjectType = []|[{
12128
+
11899
12129
  allowInterfaces?: ("always" | "never" | "with-single-extends")
12130
+
11900
12131
  allowObjectTypes?: ("always" | "never")
12132
+
11901
12133
  allowWithName?: string
11902
12134
  }]
11903
12135
  // ----- ts/no-explicit-any -----
@@ -11920,6 +12152,7 @@ type TsNoExtraneousClass = []|[{
11920
12152
  }]
11921
12153
  // ----- ts/no-floating-promises -----
11922
12154
  type TsNoFloatingPromises = []|[{
12155
+
11923
12156
  allowForKnownSafePromises?: (string | {
11924
12157
  from: "file"
11925
12158
  name: (string | [string, ...(string)[]])
@@ -11932,6 +12165,7 @@ type TsNoFloatingPromises = []|[{
11932
12165
  name: (string | [string, ...(string)[]])
11933
12166
  package: string
11934
12167
  })[]
12168
+
11935
12169
  allowForKnownSafeCalls?: (string | {
11936
12170
  from: "file"
11937
12171
  name: (string | [string, ...(string)[]])
@@ -11953,7 +12187,9 @@ type TsNoFloatingPromises = []|[{
11953
12187
  }]
11954
12188
  // ----- ts/no-inferrable-types -----
11955
12189
  type TsNoInferrableTypes = []|[{
12190
+
11956
12191
  ignoreParameters?: boolean
12192
+
11957
12193
  ignoreProperties?: boolean
11958
12194
  }]
11959
12195
  // ----- ts/no-invalid-this -----
@@ -11962,7 +12198,9 @@ type TsNoInvalidThis = []|[{
11962
12198
  }]
11963
12199
  // ----- ts/no-invalid-void-type -----
11964
12200
  type TsNoInvalidVoidType = []|[{
12201
+
11965
12202
  allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
12203
+
11966
12204
  allowAsThisParameter?: boolean
11967
12205
  }]
11968
12206
  // ----- ts/no-magic-numbers -----
@@ -11973,25 +12211,38 @@ type TsNoMagicNumbers = []|[{
11973
12211
  ignoreArrayIndexes?: boolean
11974
12212
  ignoreDefaultValues?: boolean
11975
12213
  ignoreClassFieldInitialValues?: boolean
12214
+
11976
12215
  ignoreNumericLiteralTypes?: boolean
12216
+
11977
12217
  ignoreEnums?: boolean
12218
+
11978
12219
  ignoreReadonlyClassProperties?: boolean
12220
+
11979
12221
  ignoreTypeIndexes?: boolean
11980
12222
  }]
11981
12223
  // ----- ts/no-meaningless-void-operator -----
11982
12224
  type TsNoMeaninglessVoidOperator = []|[{
12225
+
11983
12226
  checkNever?: boolean
11984
12227
  }]
11985
12228
  // ----- ts/no-misused-promises -----
11986
12229
  type TsNoMisusedPromises = []|[{
11987
12230
  checksConditionals?: boolean
11988
12231
  checksVoidReturn?: (boolean | {
12232
+
11989
12233
  arguments?: boolean
12234
+
11990
12235
  attributes?: boolean
12236
+
12237
+ inheritedMethods?: boolean
12238
+
11991
12239
  properties?: boolean
12240
+
11992
12241
  returns?: boolean
12242
+
11993
12243
  variables?: boolean
11994
12244
  })
12245
+
11995
12246
  checksSpreads?: boolean
11996
12247
  }]
11997
12248
  // ----- ts/no-namespace -----
@@ -12003,7 +12254,9 @@ type TsNoNamespace = []|[{
12003
12254
  }]
12004
12255
  // ----- ts/no-redeclare -----
12005
12256
  type TsNoRedeclare = []|[{
12257
+
12006
12258
  builtinGlobals?: boolean
12259
+
12007
12260
  ignoreDeclarationMerge?: boolean
12008
12261
  }]
12009
12262
  // ----- ts/no-require-imports -----
@@ -12061,11 +12314,17 @@ type TsNoRestrictedTypes = []|[{
12061
12314
  }]
12062
12315
  // ----- ts/no-shadow -----
12063
12316
  type TsNoShadow = []|[{
12317
+
12064
12318
  builtinGlobals?: boolean
12319
+
12065
12320
  hoist?: ("all" | "functions" | "never")
12321
+
12066
12322
  allow?: string[]
12323
+
12067
12324
  ignoreOnInitialization?: boolean
12325
+
12068
12326
  ignoreTypeValueShadow?: boolean
12327
+
12069
12328
  ignoreFunctionTypeParameterNameValueShadow?: boolean
12070
12329
  }]
12071
12330
  // ----- ts/no-this-alias -----
@@ -12122,24 +12381,40 @@ type TsNoUnusedExpressions = []|[{
12122
12381
  }]
12123
12382
  // ----- ts/no-unused-vars -----
12124
12383
  type TsNoUnusedVars = []|[(("all" | "local") | {
12384
+
12125
12385
  vars?: ("all" | "local")
12386
+
12126
12387
  varsIgnorePattern?: string
12388
+
12127
12389
  args?: ("all" | "after-used" | "none")
12128
- ignoreRestSiblings?: boolean
12390
+
12129
12391
  argsIgnorePattern?: string
12392
+
12130
12393
  caughtErrors?: ("all" | "none")
12394
+
12131
12395
  caughtErrorsIgnorePattern?: string
12396
+
12132
12397
  destructuredArrayIgnorePattern?: string
12398
+
12133
12399
  ignoreClassWithStaticInitBlock?: boolean
12400
+
12401
+ ignoreRestSiblings?: boolean
12402
+
12134
12403
  reportUsedIgnorePattern?: boolean
12135
12404
  })]
12136
12405
  // ----- ts/no-use-before-define -----
12137
12406
  type TsNoUseBeforeDefine = []|[("nofunc" | {
12407
+
12138
12408
  functions?: boolean
12409
+
12139
12410
  classes?: boolean
12411
+
12140
12412
  enums?: boolean
12413
+
12141
12414
  variables?: boolean
12415
+
12142
12416
  typedefs?: boolean
12417
+
12143
12418
  ignoreTypeReferences?: boolean
12144
12419
  allowNamedExports?: boolean
12145
12420
  })]
@@ -12150,12 +12425,16 @@ type TsNoVarRequires = []|[{
12150
12425
  }]
12151
12426
  // ----- ts/only-throw-error -----
12152
12427
  type TsOnlyThrowError = []|[{
12428
+
12153
12429
  allowThrowingAny?: boolean
12430
+
12154
12431
  allowThrowingUnknown?: boolean
12155
12432
  }]
12156
12433
  // ----- ts/parameter-properties -----
12157
12434
  type TsParameterProperties = []|[{
12435
+
12158
12436
  allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
12437
+
12159
12438
  prefer?: ("class-property" | "parameter-property")
12160
12439
  }]
12161
12440
  // ----- ts/prefer-destructuring -----
@@ -12190,13 +12469,18 @@ type TsPreferDestructuring = []|[({
12190
12469
  }]
12191
12470
  // ----- ts/prefer-literal-enum-member -----
12192
12471
  type TsPreferLiteralEnumMember = []|[{
12472
+
12193
12473
  allowBitwiseExpressions?: boolean
12194
12474
  }]
12195
12475
  // ----- ts/prefer-nullish-coalescing -----
12196
12476
  type TsPreferNullishCoalescing = []|[{
12477
+
12197
12478
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
12479
+
12198
12480
  ignoreConditionalTests?: boolean
12481
+
12199
12482
  ignoreMixedLogicalExpressions?: boolean
12483
+
12200
12484
  ignorePrimitives?: ({
12201
12485
  bigint?: boolean
12202
12486
  boolean?: boolean
@@ -12204,6 +12488,7 @@ type TsPreferNullishCoalescing = []|[{
12204
12488
  string?: boolean
12205
12489
  [k: string]: unknown | undefined
12206
12490
  } | true)
12491
+
12207
12492
  ignoreTernaryTests?: boolean
12208
12493
  }]
12209
12494
  // ----- ts/prefer-optional-chain -----
@@ -12227,14 +12512,17 @@ type TsPreferOptionalChain = []|[{
12227
12512
  }]
12228
12513
  // ----- ts/prefer-promise-reject-errors -----
12229
12514
  type TsPreferPromiseRejectErrors = []|[{
12515
+
12230
12516
  allowEmptyReject?: boolean
12231
12517
  }]
12232
12518
  // ----- ts/prefer-readonly -----
12233
12519
  type TsPreferReadonly = []|[{
12520
+
12234
12521
  onlyInlineLambdas?: boolean
12235
12522
  }]
12236
12523
  // ----- ts/prefer-readonly-parameter-types -----
12237
12524
  type TsPreferReadonlyParameterTypes = []|[{
12525
+
12238
12526
  allow?: (string | {
12239
12527
  from: "file"
12240
12528
  name: (string | [string, ...(string)[]])
@@ -12247,8 +12535,11 @@ type TsPreferReadonlyParameterTypes = []|[{
12247
12535
  name: (string | [string, ...(string)[]])
12248
12536
  package: string
12249
12537
  })[]
12538
+
12250
12539
  checkParameterProperties?: boolean
12540
+
12251
12541
  ignoreInferredTypes?: boolean
12542
+
12252
12543
  treatMethodsAsReadonly?: boolean
12253
12544
  }]
12254
12545
  // ----- ts/prefer-string-starts-ends-with -----
@@ -12262,9 +12553,13 @@ type TsPromiseFunctionAsync = []|[{
12262
12553
  allowAny?: boolean
12263
12554
 
12264
12555
  allowedPromiseNames?: string[]
12556
+
12265
12557
  checkArrowFunctions?: boolean
12558
+
12266
12559
  checkFunctionDeclarations?: boolean
12560
+
12267
12561
  checkFunctionExpressions?: boolean
12562
+
12268
12563
  checkMethodDeclarations?: boolean
12269
12564
  }]
12270
12565
  // ----- ts/require-array-sort-compare -----
@@ -12305,7 +12600,7 @@ type TsRestrictTemplateExpressions = []|[{
12305
12600
  allowNever?: boolean
12306
12601
  }]
12307
12602
  // ----- ts/return-await -----
12308
- type TsReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
12603
+ type TsReturnAwait = []|[(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]
12309
12604
  // ----- ts/sort-type-constituents -----
12310
12605
  type TsSortTypeConstituents = []|[{
12311
12606
 
@@ -12319,13 +12614,21 @@ type TsSortTypeConstituents = []|[{
12319
12614
  }]
12320
12615
  // ----- ts/strict-boolean-expressions -----
12321
12616
  type TsStrictBooleanExpressions = []|[{
12617
+
12322
12618
  allowString?: boolean
12619
+
12323
12620
  allowNumber?: boolean
12621
+
12324
12622
  allowNullableObject?: boolean
12623
+
12325
12624
  allowNullableBoolean?: boolean
12625
+
12326
12626
  allowNullableString?: boolean
12627
+
12327
12628
  allowNullableNumber?: boolean
12629
+
12328
12630
  allowNullableEnum?: boolean
12631
+
12329
12632
  allowAny?: boolean
12330
12633
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
12331
12634
  }]
@@ -12338,19 +12641,30 @@ type TsSwitchExhaustivenessCheck = []|[{
12338
12641
  }]
12339
12642
  // ----- ts/triple-slash-reference -----
12340
12643
  type TsTripleSlashReference = []|[{
12644
+
12341
12645
  lib?: ("always" | "never")
12646
+
12342
12647
  path?: ("always" | "never")
12648
+
12343
12649
  types?: ("always" | "never" | "prefer-import")
12344
12650
  }]
12345
12651
  // ----- ts/typedef -----
12346
12652
  type TsTypedef = []|[{
12653
+
12347
12654
  arrayDestructuring?: boolean
12655
+
12348
12656
  arrowParameter?: boolean
12657
+
12349
12658
  memberVariableDeclaration?: boolean
12659
+
12350
12660
  objectDestructuring?: boolean
12661
+
12351
12662
  parameter?: boolean
12663
+
12352
12664
  propertyDeclaration?: boolean
12665
+
12353
12666
  variableDeclaration?: boolean
12667
+
12354
12668
  variableDeclarationIgnoreFunction?: boolean
12355
12669
  }]
12356
12670
  // ----- ts/unbound-method -----
@@ -12570,28 +12884,48 @@ type UnocssEnforceClassCompile = []|[{
12570
12884
  }]
12571
12885
  // ----- unused-imports/no-unused-imports -----
12572
12886
  type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
12887
+
12573
12888
  vars?: ("all" | "local")
12889
+
12574
12890
  varsIgnorePattern?: string
12891
+
12575
12892
  args?: ("all" | "after-used" | "none")
12576
- ignoreRestSiblings?: boolean
12893
+
12577
12894
  argsIgnorePattern?: string
12895
+
12578
12896
  caughtErrors?: ("all" | "none")
12897
+
12579
12898
  caughtErrorsIgnorePattern?: string
12899
+
12580
12900
  destructuredArrayIgnorePattern?: string
12901
+
12581
12902
  ignoreClassWithStaticInitBlock?: boolean
12903
+
12904
+ ignoreRestSiblings?: boolean
12905
+
12582
12906
  reportUsedIgnorePattern?: boolean
12583
12907
  })]
12584
12908
  // ----- unused-imports/no-unused-vars -----
12585
12909
  type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
12910
+
12586
12911
  vars?: ("all" | "local")
12912
+
12587
12913
  varsIgnorePattern?: string
12914
+
12588
12915
  args?: ("all" | "after-used" | "none")
12589
- ignoreRestSiblings?: boolean
12916
+
12590
12917
  argsIgnorePattern?: string
12918
+
12591
12919
  caughtErrors?: ("all" | "none")
12920
+
12592
12921
  caughtErrorsIgnorePattern?: string
12922
+
12593
12923
  destructuredArrayIgnorePattern?: string
12924
+
12594
12925
  ignoreClassWithStaticInitBlock?: boolean
12926
+
12927
+ ignoreRestSiblings?: boolean
12928
+
12595
12929
  reportUsedIgnorePattern?: boolean
12596
12930
  })]
12597
12931
  // ----- use-isnan -----
@@ -12735,7 +13069,7 @@ type VueCustomEventNameCasing = ([]|[("kebab-case" | "camelCase")]|[("kebab-case
12735
13069
  type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
12736
13070
  // ----- vue/define-macros-order -----
12737
13071
  type VueDefineMacrosOrder = []|[{
12738
- order?: ("defineEmits" | "defineProps" | "defineOptions" | "defineSlots" | "defineModel")[]
13072
+ order?: string[]
12739
13073
  defineExposeLast?: boolean
12740
13074
  }]
12741
13075
  // ----- vue/define-props-declaration -----
@@ -13081,6 +13415,10 @@ type VueKeywordSpacing = []|[{
13081
13415
  before?: boolean
13082
13416
  after?: boolean
13083
13417
  }
13418
+ satisfies?: {
13419
+ before?: boolean
13420
+ after?: boolean
13421
+ }
13084
13422
  set?: {
13085
13423
  before?: boolean
13086
13424
  after?: boolean
@@ -13270,6 +13608,14 @@ type VueMaxLinesPerBlock = []|[{
13270
13608
  script?: number
13271
13609
  skipBlankLines?: boolean
13272
13610
  }]
13611
+ // ----- vue/max-props -----
13612
+ type VueMaxProps = []|[{
13613
+ maxProps?: number
13614
+ }]
13615
+ // ----- vue/max-template-depth -----
13616
+ type VueMaxTemplateDepth = []|[{
13617
+ maxDepth?: number
13618
+ }]
13273
13619
  // ----- vue/multi-word-component-names -----
13274
13620
  type VueMultiWordComponentNames = []|[{
13275
13621
  ignores?: string[]
@@ -13684,6 +14030,10 @@ type VueRequireMacroVariableName = []|[{
13684
14030
  type VueRequirePropComment = []|[{
13685
14031
  type?: ("JSDoc" | "line" | "block" | "any")
13686
14032
  }]
14033
+ // ----- vue/require-toggle-inside-transition -----
14034
+ type VueRequireToggleInsideTransition = []|[{
14035
+ additionalDirectives?: string[]
14036
+ }]
13687
14037
  // ----- vue/return-in-computed-property -----
13688
14038
  type VueReturnInComputedProperty = []|[{
13689
14039
  treatUndefinedAsUnspecified?: boolean
@@ -13994,21 +14344,13 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
13994
14344
 
13995
14345
  type Awaitable<T> = T | Promise<T>;
13996
14346
  type Rules = RuleOptions;
13997
- type TypedFlatConfigItem = Omit<Linter.FlatConfig, 'plugins'> & {
13998
- /**
13999
- * 每个配置项的自定义名称
14000
- */
14001
- name?: string;
14347
+ type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, 'plugins'> & {
14002
14348
  /**
14003
14349
  * An object containing a name-value mapping of plugin names to plugin objects. When `files` is specified, these plugins are only available to the matching files.
14004
14350
  *
14005
14351
  * @see [Using plugins in your configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-plugins-in-your-configuration)
14006
14352
  */
14007
14353
  plugins?: Record<string, any>;
14008
- /**
14009
- * An object containing a name-value mapping of rules to use.
14010
- */
14011
- rules?: Linter.RulesRecord & Rules;
14012
14354
  };
14013
14355
  interface OptionsFiles {
14014
14356
  /**
@@ -14038,6 +14380,18 @@ interface OptionsFormatters {
14038
14380
  * 目前仅支持Prettier.
14039
14381
  */
14040
14382
  html?: 'prettier' | boolean;
14383
+ /**
14384
+ * 启用 XML 格式支持
14385
+ *
14386
+ * 目前仅支持 Prettier
14387
+ */
14388
+ xml?: 'prettier' | boolean;
14389
+ /**
14390
+ * 启用 SVG 格式支持.
14391
+ *
14392
+ * 目前仅支持 Prettier
14393
+ */
14394
+ svg?: 'prettier' | boolean;
14041
14395
  /**
14042
14396
  * 启用对 Markdown 的格式化支持.
14043
14397
  *
@@ -14072,6 +14426,14 @@ interface OptionsComponentExts {
14072
14426
  */
14073
14427
  componentExts?: string[];
14074
14428
  }
14429
+ interface OptionsUnicorn {
14430
+ /**
14431
+ * 是否包括“eslint-plugin-unicorn”推荐的所有规则.
14432
+ *
14433
+ * @default false
14434
+ */
14435
+ allRecommended?: boolean;
14436
+ }
14075
14437
  interface OptionsTypeScriptParserOptions {
14076
14438
  /**
14077
14439
  * TypeScript 的附加解析器选项。
@@ -14082,6 +14444,11 @@ interface OptionsTypeScriptParserOptions {
14082
14444
  * @default ['**\/*.{ts,tsx}']
14083
14445
  */
14084
14446
  filesTypeAware?: string[];
14447
+ /**
14448
+ * Glob patterns for files that should not be type aware.
14449
+ * @default ['**\/*.md\/**']
14450
+ */
14451
+ ignoresTypeAware?: string[];
14085
14452
  }
14086
14453
  interface OptionsTypeScriptWithTypes {
14087
14454
  /**
@@ -14176,6 +14543,12 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
14176
14543
  * @default true
14177
14544
  */
14178
14545
  jsx?: boolean;
14546
+ /**
14547
+ * eslint-plugin-unicorn 的选项.
14548
+ *
14549
+ * @default true
14550
+ */
14551
+ unicorn?: boolean | OptionsUnicorn;
14179
14552
  /**
14180
14553
  * 启用 test 支持.
14181
14554
  *
@@ -14311,10 +14684,14 @@ declare const defaultPluginRenaming: {
14311
14684
  /**
14312
14685
  * 构造一个ESLint扁平化配置项数组。
14313
14686
  */
14314
- declare function lincy(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]): FlatConfigComposer<TypedFlatConfigItem>;
14687
+ declare function lincy(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files'>, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]): FlatConfigComposer<TypedFlatConfigItem>;
14315
14688
 
14316
14689
  declare function comments(): Promise<TypedFlatConfigItem[]>;
14317
14690
 
14691
+ declare function disables(): Promise<TypedFlatConfigItem[]>;
14692
+
14693
+ declare function formatters(options?: OptionsFormatters | true, stylistic?: StylisticConfig): Promise<TypedFlatConfigItem[]>;
14694
+
14318
14695
  declare function ignores(options?: OptionsIgnores): Promise<TypedFlatConfigItem[]>;
14319
14696
 
14320
14697
  declare function imports(options?: OptionsStylistic): Promise<TypedFlatConfigItem[]>;
@@ -14329,6 +14706,8 @@ declare function jsx(): Promise<TypedFlatConfigItem[]>;
14329
14706
 
14330
14707
  declare function markdown(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
14331
14708
 
14709
+ declare function node(): Promise<TypedFlatConfigItem[]>;
14710
+
14332
14711
  /**
14333
14712
  * Optional perfectionist plugin for props and items sorting.
14334
14713
  *
@@ -14336,10 +14715,6 @@ declare function markdown(options?: OptionsFiles & OptionsComponentExts & Option
14336
14715
  */
14337
14716
  declare function perfectionist(): Promise<TypedFlatConfigItem[]>;
14338
14717
 
14339
- declare function formatters(options?: OptionsFormatters | true, stylistic?: StylisticConfig): Promise<TypedFlatConfigItem[]>;
14340
-
14341
- declare function node(): Promise<TypedFlatConfigItem[]>;
14342
-
14343
14718
  declare function react(options?: OptionsFiles & OptionsReact & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
14344
14719
 
14345
14720
  declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
@@ -14362,9 +14737,11 @@ declare function stylistic(options?: OptionsStylistic & OptionsOverrides): Promi
14362
14737
 
14363
14738
  declare function test(options?: OptionsFiles & OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
14364
14739
 
14740
+ declare function toml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
14741
+
14365
14742
  declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsProjectType): Promise<TypedFlatConfigItem[]>;
14366
14743
 
14367
- declare function unicorn(): Promise<TypedFlatConfigItem[]>;
14744
+ declare function unicorn(options?: OptionsUnicorn): Promise<TypedFlatConfigItem[]>;
14368
14745
 
14369
14746
  declare function unocss(options?: OptionsUnoCSS & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
14370
14747
 
@@ -14372,23 +14749,6 @@ declare function vue(options?: OptionsHasTypeScript & OptionsOverrides & Options
14372
14749
 
14373
14750
  declare function yaml(options?: OptionsFiles & OptionsOverrides & OptionsStylistic): Promise<TypedFlatConfigItem[]>;
14374
14751
 
14375
- declare function toml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
14376
-
14377
- /**
14378
- * Combine array and non-array configs into a single array.
14379
- */
14380
- declare function combine(...configs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]): Promise<TypedFlatConfigItem[]>;
14381
- declare function renameRules(rules: Record<string, any>, map: Record<string, string>): {
14382
- [k: string]: any;
14383
- };
14384
- declare function renamePluginInConfigs(configs: TypedFlatConfigItem[], map: Record<string, string>): TypedFlatConfigItem[];
14385
- declare function toArray<T>(value: T | T[]): T[];
14386
- declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
14387
- default: infer U;
14388
- } ? U : T>;
14389
- declare function ensurePackages(packages: string[]): Promise<void>;
14390
- declare function isInEditorEnv(): boolean;
14391
-
14392
14752
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
14393
14753
  declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
14394
14754
  declare const GLOB_JS = "**/*.?([cm])js";
@@ -14409,6 +14769,8 @@ declare const GLOB_SVELTE = "**/*.svelte";
14409
14769
  declare const GLOB_VUE = "**/*.vue";
14410
14770
  declare const GLOB_YAML = "**/*.y?(a)ml";
14411
14771
  declare const GLOB_TOML = "**/*.toml";
14772
+ declare const GLOB_XML = "**/*.xml";
14773
+ declare const GLOB_SVG = "**/*.svg";
14412
14774
  declare const GLOB_HTML = "**/*.htm?(l)";
14413
14775
  declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
14414
14776
  declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
@@ -14416,4 +14778,46 @@ declare const GLOB_TESTS: string[];
14416
14778
  declare const GLOB_ALL_SRC: string[];
14417
14779
  declare const GLOB_EXCLUDE: string[];
14418
14780
 
14419
- export { type Awaitable, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsReact, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsUnoCSS, type OptionsVue, type Rules, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, ensurePackages, formatters, ignores, imports, interopDefault, isInEditorEnv, javascript, jsdoc, jsonc, jsx, lincy, markdown, node, perfectionist, react, regexp, renamePluginInConfigs, renameRules, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
14781
+ declare const parserPlain: {
14782
+ meta: {
14783
+ name: string;
14784
+ };
14785
+ parseForESLint: (code: string) => {
14786
+ ast: {
14787
+ body: never[];
14788
+ comments: never[];
14789
+ loc: {
14790
+ end: number;
14791
+ start: number;
14792
+ };
14793
+ range: number[];
14794
+ tokens: never[];
14795
+ type: string;
14796
+ };
14797
+ scopeManager: null;
14798
+ services: {
14799
+ isPlain: boolean;
14800
+ };
14801
+ visitorKeys: {
14802
+ Program: never[];
14803
+ };
14804
+ };
14805
+ };
14806
+ /**
14807
+ * Combine array and non-array configs into a single array.
14808
+ */
14809
+ declare function combine(...configs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]): Promise<TypedFlatConfigItem[]>;
14810
+ declare function renameRules(rules: Record<string, any>, map: Record<string, string>): {
14811
+ [k: string]: any;
14812
+ };
14813
+ declare function renamePluginInConfigs(configs: TypedFlatConfigItem[], map: Record<string, string>): TypedFlatConfigItem[];
14814
+ declare function toArray<T>(value: T | T[]): T[];
14815
+ declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
14816
+ default: infer U;
14817
+ } ? U : T>;
14818
+ declare function isPackageInScope(name: string): boolean;
14819
+ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>;
14820
+ declare function isInEditorEnv(): boolean;
14821
+ declare function isInGitHooksOrLintStaged(): boolean;
14822
+
14823
+ export { type Awaitable, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsReact, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsUnicorn, type OptionsUnoCSS, type OptionsVue, type Rules, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, disables, ensurePackages, formatters, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, lincy, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };