@zayne-labs/eslint-config 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +20 -24
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +858 -311
- package/dist/index.js +62 -47
- package/dist/index.js.map +1 -1
- package/package.json +40 -37
package/dist/index.d.ts
CHANGED
|
@@ -590,233 +590,233 @@ interface Rules {
|
|
|
590
590
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
|
|
591
591
|
/**
|
|
592
592
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
593
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
593
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/consistent-type-specifier-style.md
|
|
594
594
|
*/
|
|
595
595
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
|
|
596
596
|
/**
|
|
597
597
|
* Ensure a default export is present, given a default import.
|
|
598
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
598
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/default.md
|
|
599
599
|
*/
|
|
600
600
|
'import/default'?: Linter.RuleEntry<[]>;
|
|
601
601
|
/**
|
|
602
602
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
603
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
603
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/dynamic-import-chunkname.md
|
|
604
604
|
*/
|
|
605
605
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>;
|
|
606
606
|
/**
|
|
607
607
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
608
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
608
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/export.md
|
|
609
609
|
*/
|
|
610
610
|
'import/export'?: Linter.RuleEntry<[]>;
|
|
611
611
|
/**
|
|
612
612
|
* Ensure all exports appear after other statements.
|
|
613
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
613
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/exports-last.md
|
|
614
614
|
*/
|
|
615
615
|
'import/exports-last'?: Linter.RuleEntry<[]>;
|
|
616
616
|
/**
|
|
617
617
|
* Ensure consistent use of file extension within the import path.
|
|
618
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
618
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/extensions.md
|
|
619
619
|
*/
|
|
620
620
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>;
|
|
621
621
|
/**
|
|
622
622
|
* Ensure all imports appear before other statements.
|
|
623
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
623
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/first.md
|
|
624
624
|
*/
|
|
625
625
|
'import/first'?: Linter.RuleEntry<ImportFirst>;
|
|
626
626
|
/**
|
|
627
627
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
628
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
628
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/group-exports.md
|
|
629
629
|
*/
|
|
630
630
|
'import/group-exports'?: Linter.RuleEntry<[]>;
|
|
631
631
|
/**
|
|
632
632
|
* Replaced by `import-x/first`.
|
|
633
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
633
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/imports-first.md
|
|
634
634
|
* @deprecated
|
|
635
635
|
*/
|
|
636
636
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>;
|
|
637
637
|
/**
|
|
638
638
|
* Enforce the maximum number of dependencies a module can have.
|
|
639
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
639
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/max-dependencies.md
|
|
640
640
|
*/
|
|
641
641
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>;
|
|
642
642
|
/**
|
|
643
643
|
* Ensure named imports correspond to a named export in the remote file.
|
|
644
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
644
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/named.md
|
|
645
645
|
*/
|
|
646
646
|
'import/named'?: Linter.RuleEntry<ImportNamed>;
|
|
647
647
|
/**
|
|
648
648
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
649
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
649
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/namespace.md
|
|
650
650
|
*/
|
|
651
651
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>;
|
|
652
652
|
/**
|
|
653
653
|
* Enforce a newline after import statements.
|
|
654
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
654
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/newline-after-import.md
|
|
655
655
|
*/
|
|
656
656
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>;
|
|
657
657
|
/**
|
|
658
658
|
* Forbid import of modules using absolute paths.
|
|
659
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
659
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-absolute-path.md
|
|
660
660
|
*/
|
|
661
661
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>;
|
|
662
662
|
/**
|
|
663
663
|
* Forbid AMD `require` and `define` calls.
|
|
664
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
664
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-amd.md
|
|
665
665
|
*/
|
|
666
666
|
'import/no-amd'?: Linter.RuleEntry<[]>;
|
|
667
667
|
/**
|
|
668
668
|
* Forbid anonymous values as default exports.
|
|
669
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
669
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-anonymous-default-export.md
|
|
670
670
|
*/
|
|
671
671
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
|
|
672
672
|
/**
|
|
673
673
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
674
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
674
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-commonjs.md
|
|
675
675
|
*/
|
|
676
676
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>;
|
|
677
677
|
/**
|
|
678
678
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
679
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
679
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-cycle.md
|
|
680
680
|
*/
|
|
681
681
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>;
|
|
682
682
|
/**
|
|
683
683
|
* Forbid default exports.
|
|
684
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
684
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-default-export.md
|
|
685
685
|
*/
|
|
686
686
|
'import/no-default-export'?: Linter.RuleEntry<[]>;
|
|
687
687
|
/**
|
|
688
688
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
689
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
689
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-deprecated.md
|
|
690
690
|
*/
|
|
691
691
|
'import/no-deprecated'?: Linter.RuleEntry<[]>;
|
|
692
692
|
/**
|
|
693
693
|
* Forbid repeated import of the same module in multiple places.
|
|
694
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
694
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-duplicates.md
|
|
695
695
|
*/
|
|
696
696
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>;
|
|
697
697
|
/**
|
|
698
698
|
* Forbid `require()` calls with expressions.
|
|
699
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
699
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-dynamic-require.md
|
|
700
700
|
*/
|
|
701
701
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>;
|
|
702
702
|
/**
|
|
703
703
|
* Forbid empty named import blocks.
|
|
704
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
704
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-empty-named-blocks.md
|
|
705
705
|
*/
|
|
706
706
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
|
|
707
707
|
/**
|
|
708
708
|
* Forbid the use of extraneous packages.
|
|
709
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
709
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-extraneous-dependencies.md
|
|
710
710
|
*/
|
|
711
711
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
|
|
712
712
|
/**
|
|
713
713
|
* Forbid import statements with CommonJS module.exports.
|
|
714
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
714
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-import-module-exports.md
|
|
715
715
|
*/
|
|
716
716
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>;
|
|
717
717
|
/**
|
|
718
718
|
* Forbid importing the submodules of other modules.
|
|
719
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
719
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-internal-modules.md
|
|
720
720
|
*/
|
|
721
721
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>;
|
|
722
722
|
/**
|
|
723
723
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
724
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
724
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-mutable-exports.md
|
|
725
725
|
*/
|
|
726
726
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>;
|
|
727
727
|
/**
|
|
728
728
|
* Forbid use of exported name as identifier of default export.
|
|
729
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
729
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default.md
|
|
730
730
|
*/
|
|
731
731
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>;
|
|
732
732
|
/**
|
|
733
733
|
* Forbid use of exported name as property of default export.
|
|
734
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
734
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default-member.md
|
|
735
735
|
*/
|
|
736
736
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>;
|
|
737
737
|
/**
|
|
738
738
|
* Forbid named default exports.
|
|
739
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
739
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-default.md
|
|
740
740
|
*/
|
|
741
741
|
'import/no-named-default'?: Linter.RuleEntry<[]>;
|
|
742
742
|
/**
|
|
743
743
|
* Forbid named exports.
|
|
744
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
744
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-export.md
|
|
745
745
|
*/
|
|
746
746
|
'import/no-named-export'?: Linter.RuleEntry<[]>;
|
|
747
747
|
/**
|
|
748
748
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
749
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
749
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-namespace.md
|
|
750
750
|
*/
|
|
751
751
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>;
|
|
752
752
|
/**
|
|
753
753
|
* Forbid Node.js builtin modules.
|
|
754
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
754
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-nodejs-modules.md
|
|
755
755
|
*/
|
|
756
756
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>;
|
|
757
757
|
/**
|
|
758
758
|
* Forbid importing packages through relative paths.
|
|
759
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
759
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-packages.md
|
|
760
760
|
*/
|
|
761
761
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>;
|
|
762
762
|
/**
|
|
763
763
|
* Forbid importing modules from parent directories.
|
|
764
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
764
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-parent-imports.md
|
|
765
765
|
*/
|
|
766
766
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>;
|
|
767
767
|
/**
|
|
768
768
|
* Forbid importing a default export by a different name.
|
|
769
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
769
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-rename-default.md
|
|
770
770
|
*/
|
|
771
771
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>;
|
|
772
772
|
/**
|
|
773
773
|
* Enforce which files can be imported in a given folder.
|
|
774
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
774
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-restricted-paths.md
|
|
775
775
|
*/
|
|
776
776
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>;
|
|
777
777
|
/**
|
|
778
778
|
* Forbid a module from importing itself.
|
|
779
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
779
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-self-import.md
|
|
780
780
|
*/
|
|
781
781
|
'import/no-self-import'?: Linter.RuleEntry<[]>;
|
|
782
782
|
/**
|
|
783
783
|
* Forbid unassigned imports.
|
|
784
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
784
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unassigned-import.md
|
|
785
785
|
*/
|
|
786
786
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>;
|
|
787
787
|
/**
|
|
788
788
|
* Ensure imports point to a file/module that can be resolved.
|
|
789
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
789
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unresolved.md
|
|
790
790
|
*/
|
|
791
791
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>;
|
|
792
792
|
/**
|
|
793
793
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
794
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
794
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unused-modules.md
|
|
795
795
|
*/
|
|
796
796
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>;
|
|
797
797
|
/**
|
|
798
798
|
* Forbid unnecessary path segments in import and require statements.
|
|
799
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
799
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-useless-path-segments.md
|
|
800
800
|
*/
|
|
801
801
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>;
|
|
802
802
|
/**
|
|
803
803
|
* Forbid webpack loader syntax in imports.
|
|
804
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
804
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-webpack-loader-syntax.md
|
|
805
805
|
*/
|
|
806
806
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
|
|
807
807
|
/**
|
|
808
808
|
* Enforce a convention in module import order.
|
|
809
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
809
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/order.md
|
|
810
810
|
*/
|
|
811
811
|
'import/order'?: Linter.RuleEntry<ImportOrder>;
|
|
812
812
|
/**
|
|
813
813
|
* Prefer a default export if module exports a single name or multiple names.
|
|
814
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
814
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/prefer-default-export.md
|
|
815
815
|
*/
|
|
816
816
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>;
|
|
817
817
|
/**
|
|
818
818
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
819
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
819
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/unambiguous.md
|
|
820
820
|
*/
|
|
821
821
|
'import/unambiguous'?: Linter.RuleEntry<[]>;
|
|
822
822
|
/**
|
|
@@ -1290,7 +1290,7 @@ interface Rules {
|
|
|
1290
1290
|
* disallow unnecessary escape usage
|
|
1291
1291
|
* @see https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-useless-escape.html
|
|
1292
1292
|
*/
|
|
1293
|
-
'jsonc/no-useless-escape'?: Linter.RuleEntry<
|
|
1293
|
+
'jsonc/no-useless-escape'?: Linter.RuleEntry<JsoncNoUselessEscape>;
|
|
1294
1294
|
/**
|
|
1295
1295
|
* enforce consistent line breaks inside braces
|
|
1296
1296
|
* @see https://ota-meshi.github.io/eslint-plugin-jsonc/rules/object-curly-newline.html
|
|
@@ -2226,6 +2226,11 @@ interface Rules {
|
|
|
2226
2226
|
* @deprecated
|
|
2227
2227
|
*/
|
|
2228
2228
|
'no-trailing-spaces'?: Linter.RuleEntry<NoTrailingSpaces>;
|
|
2229
|
+
/**
|
|
2230
|
+
* Disallow `let` or `var` variables that are read but never assigned
|
|
2231
|
+
* @see https://eslint.org/docs/latest/rules/no-unassigned-vars
|
|
2232
|
+
*/
|
|
2233
|
+
'no-unassigned-vars'?: Linter.RuleEntry<[]>;
|
|
2229
2234
|
/**
|
|
2230
2235
|
* Disallow the use of undeclared variables unless mentioned in `/*global *\/` comments
|
|
2231
2236
|
* @see https://eslint.org/docs/latest/rules/no-undef
|
|
@@ -2350,7 +2355,7 @@ interface Rules {
|
|
|
2350
2355
|
* Disallow unnecessary escape characters
|
|
2351
2356
|
* @see https://eslint.org/docs/latest/rules/no-useless-escape
|
|
2352
2357
|
*/
|
|
2353
|
-
'no-useless-escape'?: Linter.RuleEntry<
|
|
2358
|
+
'no-useless-escape'?: Linter.RuleEntry<NoUselessEscape>;
|
|
2354
2359
|
/**
|
|
2355
2360
|
* Disallow renaming import, export, and destructured assignments to the same name
|
|
2356
2361
|
* @see https://eslint.org/docs/latest/rules/no-useless-rename
|
|
@@ -2498,6 +2503,11 @@ interface Rules {
|
|
|
2498
2503
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-sync.md
|
|
2499
2504
|
*/
|
|
2500
2505
|
'node/no-sync'?: Linter.RuleEntry<NodeNoSync>;
|
|
2506
|
+
/**
|
|
2507
|
+
* disallow top-level `await` in published modules
|
|
2508
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-top-level-await.md
|
|
2509
|
+
*/
|
|
2510
|
+
'node/no-top-level-await'?: Linter.RuleEntry<NodeNoTopLevelAwait>;
|
|
2501
2511
|
/**
|
|
2502
2512
|
* disallow `bin` files that npm ignores
|
|
2503
2513
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unpublished-bin.md
|
|
@@ -3116,6 +3126,11 @@ interface Rules {
|
|
|
3116
3126
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
3117
3127
|
*/
|
|
3118
3128
|
'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>;
|
|
3129
|
+
/**
|
|
3130
|
+
* Disallows 'IIFE' in JSX elements.
|
|
3131
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-iife
|
|
3132
|
+
*/
|
|
3133
|
+
'react/jsx-no-iife'?: Linter.RuleEntry<[]>;
|
|
3119
3134
|
/**
|
|
3120
3135
|
* Disallow undefined variables in JSX.
|
|
3121
3136
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
@@ -3427,6 +3442,76 @@ interface Rules {
|
|
|
3427
3442
|
* @deprecated
|
|
3428
3443
|
*/
|
|
3429
3444
|
'rest-spread-spacing'?: Linter.RuleEntry<RestSpreadSpacing>;
|
|
3445
|
+
/**
|
|
3446
|
+
* Detects trojan source attacks that employ unicode bidi attacks to inject malicious code.
|
|
3447
|
+
* @see https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-bidi-characters.md
|
|
3448
|
+
*/
|
|
3449
|
+
'security/detect-bidi-characters'?: Linter.RuleEntry<[]>;
|
|
3450
|
+
/**
|
|
3451
|
+
* Detects calls to "buffer" with "noAssert" flag set.
|
|
3452
|
+
* @see https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-buffer-noassert.md
|
|
3453
|
+
*/
|
|
3454
|
+
'security/detect-buffer-noassert'?: Linter.RuleEntry<[]>;
|
|
3455
|
+
/**
|
|
3456
|
+
* Detects instances of "child_process" & non-literal "exec()" calls.
|
|
3457
|
+
* @see https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-child-process.md
|
|
3458
|
+
*/
|
|
3459
|
+
'security/detect-child-process'?: Linter.RuleEntry<[]>;
|
|
3460
|
+
/**
|
|
3461
|
+
* Detects "object.escapeMarkup = false", which can be used with some template engines to disable escaping of HTML entities.
|
|
3462
|
+
* @see https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-disable-mustache-escape.md
|
|
3463
|
+
*/
|
|
3464
|
+
'security/detect-disable-mustache-escape'?: Linter.RuleEntry<[]>;
|
|
3465
|
+
/**
|
|
3466
|
+
* Detects "eval(variable)" which can allow an attacker to run arbitrary code inside your process.
|
|
3467
|
+
* @see https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-eval-with-expression.md
|
|
3468
|
+
*/
|
|
3469
|
+
'security/detect-eval-with-expression'?: Linter.RuleEntry<[]>;
|
|
3470
|
+
/**
|
|
3471
|
+
* Detects instances of new Buffer(argument) where argument is any non-literal value.
|
|
3472
|
+
* @see https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-new-buffer.md
|
|
3473
|
+
*/
|
|
3474
|
+
'security/detect-new-buffer'?: Linter.RuleEntry<[]>;
|
|
3475
|
+
/**
|
|
3476
|
+
* Detects Express "csrf" middleware setup before "method-override" middleware.
|
|
3477
|
+
* @see https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-no-csrf-before-method-override.md
|
|
3478
|
+
*/
|
|
3479
|
+
'security/detect-no-csrf-before-method-override'?: Linter.RuleEntry<[]>;
|
|
3480
|
+
/**
|
|
3481
|
+
* Detects variable in filename argument of "fs" calls, which might allow an attacker to access anything on your system.
|
|
3482
|
+
* @see https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-non-literal-fs-filename.md
|
|
3483
|
+
*/
|
|
3484
|
+
'security/detect-non-literal-fs-filename'?: Linter.RuleEntry<[]>;
|
|
3485
|
+
/**
|
|
3486
|
+
* Detects "RegExp(variable)", which might allow an attacker to DOS your server with a long-running regular expression.
|
|
3487
|
+
* @see https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-non-literal-regexp.md
|
|
3488
|
+
*/
|
|
3489
|
+
'security/detect-non-literal-regexp'?: Linter.RuleEntry<[]>;
|
|
3490
|
+
/**
|
|
3491
|
+
* Detects "require(variable)", which might allow an attacker to load and run arbitrary code, or access arbitrary files on disk.
|
|
3492
|
+
* @see https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-non-literal-require.md
|
|
3493
|
+
*/
|
|
3494
|
+
'security/detect-non-literal-require'?: Linter.RuleEntry<[]>;
|
|
3495
|
+
/**
|
|
3496
|
+
* Detects "variable[key]" as a left- or right-hand assignment operand.
|
|
3497
|
+
* @see https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-object-injection.md
|
|
3498
|
+
*/
|
|
3499
|
+
'security/detect-object-injection'?: Linter.RuleEntry<[]>;
|
|
3500
|
+
/**
|
|
3501
|
+
* Detects insecure comparisons (`==`, `!=`, `!==` and `===`), which check input sequentially.
|
|
3502
|
+
* @see https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-possible-timing-attacks.md
|
|
3503
|
+
*/
|
|
3504
|
+
'security/detect-possible-timing-attacks'?: Linter.RuleEntry<[]>;
|
|
3505
|
+
/**
|
|
3506
|
+
* Detects if "pseudoRandomBytes()" is in use, which might not give you the randomness you need and expect.
|
|
3507
|
+
* @see https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-pseudoRandomBytes.md
|
|
3508
|
+
*/
|
|
3509
|
+
'security/detect-pseudoRandomBytes'?: Linter.RuleEntry<[]>;
|
|
3510
|
+
/**
|
|
3511
|
+
* Detects potentially unsafe regular expressions, which may take a very long time to run, blocking the event loop.
|
|
3512
|
+
* @see https://github.com/eslint-community/eslint-plugin-security/blob/main/docs/rules/detect-unsafe-regex.md
|
|
3513
|
+
*/
|
|
3514
|
+
'security/detect-unsafe-regex'?: Linter.RuleEntry<[]>;
|
|
3430
3515
|
/**
|
|
3431
3516
|
* Require or disallow semicolons instead of ASI
|
|
3432
3517
|
* @see https://eslint.org/docs/latest/rules/semi
|
|
@@ -3447,103 +3532,103 @@ interface Rules {
|
|
|
3447
3532
|
'semi-style'?: Linter.RuleEntry<SemiStyle>;
|
|
3448
3533
|
/**
|
|
3449
3534
|
* Disallow early returns in components. Solid components only run once, and so conditionals should be inside JSX.
|
|
3450
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3535
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/components-return-once.md
|
|
3451
3536
|
*/
|
|
3452
3537
|
'solid/components-return-once'?: Linter.RuleEntry<[]>;
|
|
3453
3538
|
/**
|
|
3454
3539
|
* Enforce naming DOM element event handlers consistently and prevent Solid's analysis from misunderstanding whether a prop should be an event handler.
|
|
3455
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3540
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/event-handlers.md
|
|
3456
3541
|
*/
|
|
3457
3542
|
'solid/event-handlers'?: Linter.RuleEntry<SolidEventHandlers>;
|
|
3458
3543
|
/**
|
|
3459
3544
|
* Enforce consistent imports from "solid-js", "solid-js/web", and "solid-js/store".
|
|
3460
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3545
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/imports.md
|
|
3461
3546
|
*/
|
|
3462
3547
|
'solid/imports'?: Linter.RuleEntry<[]>;
|
|
3463
3548
|
/**
|
|
3464
3549
|
* Disallow passing the same prop twice in JSX.
|
|
3465
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3550
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-no-duplicate-props.md
|
|
3466
3551
|
*/
|
|
3467
3552
|
'solid/jsx-no-duplicate-props'?: Linter.RuleEntry<SolidJsxNoDuplicateProps>;
|
|
3468
3553
|
/**
|
|
3469
3554
|
* Disallow javascript: URLs.
|
|
3470
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3555
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-no-script-url.md
|
|
3471
3556
|
*/
|
|
3472
3557
|
'solid/jsx-no-script-url'?: Linter.RuleEntry<[]>;
|
|
3473
3558
|
/**
|
|
3474
3559
|
* Disallow references to undefined variables in JSX. Handles custom directives.
|
|
3475
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3560
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-no-undef.md
|
|
3476
3561
|
*/
|
|
3477
3562
|
'solid/jsx-no-undef'?: Linter.RuleEntry<SolidJsxNoUndef>;
|
|
3478
3563
|
/**
|
|
3479
3564
|
* Prevent variables used in JSX from being marked as unused.
|
|
3480
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3565
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-uses-vars.md
|
|
3481
3566
|
*/
|
|
3482
3567
|
'solid/jsx-uses-vars'?: Linter.RuleEntry<[]>;
|
|
3483
3568
|
/**
|
|
3484
3569
|
* Disallow usage of type-unsafe event handlers.
|
|
3485
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3570
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-array-handlers.md
|
|
3486
3571
|
*/
|
|
3487
3572
|
'solid/no-array-handlers'?: Linter.RuleEntry<[]>;
|
|
3488
3573
|
/**
|
|
3489
3574
|
* Disallow destructuring props. In Solid, props must be used with property accesses (`props.foo`) to preserve reactivity. This rule only tracks destructuring in the parameter list.
|
|
3490
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3575
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-destructure.md
|
|
3491
3576
|
*/
|
|
3492
3577
|
'solid/no-destructure'?: Linter.RuleEntry<[]>;
|
|
3493
3578
|
/**
|
|
3494
3579
|
* Disallow usage of the innerHTML attribute, which can often lead to security vulnerabilities.
|
|
3495
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3580
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-innerhtml.md
|
|
3496
3581
|
*/
|
|
3497
3582
|
'solid/no-innerhtml'?: Linter.RuleEntry<SolidNoInnerhtml>;
|
|
3498
3583
|
/**
|
|
3499
3584
|
* Disallow usage of APIs that use ES6 Proxies, only to target environments that don't support them.
|
|
3500
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3585
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-proxy-apis.md
|
|
3501
3586
|
*/
|
|
3502
3587
|
'solid/no-proxy-apis'?: Linter.RuleEntry<[]>;
|
|
3503
3588
|
/**
|
|
3504
3589
|
* Disallow usage of dependency arrays in `createEffect` and `createMemo`.
|
|
3505
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3590
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-react-deps.md
|
|
3506
3591
|
*/
|
|
3507
3592
|
'solid/no-react-deps'?: Linter.RuleEntry<[]>;
|
|
3508
3593
|
/**
|
|
3509
3594
|
* Disallow usage of React-specific `className`/`htmlFor` props, which were deprecated in v1.4.0.
|
|
3510
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3595
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-react-specific-props.md
|
|
3511
3596
|
*/
|
|
3512
3597
|
'solid/no-react-specific-props'?: Linter.RuleEntry<[]>;
|
|
3513
3598
|
/**
|
|
3514
3599
|
* Enforce using only Solid-specific namespaced attribute names (i.e. `'on:'` in `<div on:click={...} />`).
|
|
3515
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3600
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-unknown-namespaces.md
|
|
3516
3601
|
*/
|
|
3517
3602
|
'solid/no-unknown-namespaces'?: Linter.RuleEntry<SolidNoUnknownNamespaces>;
|
|
3518
3603
|
/**
|
|
3519
3604
|
* Enforce using the classlist prop over importing a classnames helper. The classlist prop accepts an object `{ [class: string]: boolean }` just like classnames.
|
|
3520
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3605
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/prefer-classlist.md
|
|
3521
3606
|
* @deprecated
|
|
3522
3607
|
*/
|
|
3523
3608
|
'solid/prefer-classlist'?: Linter.RuleEntry<SolidPreferClasslist>;
|
|
3524
3609
|
/**
|
|
3525
3610
|
* Enforce using Solid's `<For />` component for mapping an array to JSX elements.
|
|
3526
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3611
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/prefer-for.md
|
|
3527
3612
|
*/
|
|
3528
3613
|
'solid/prefer-for'?: Linter.RuleEntry<[]>;
|
|
3529
3614
|
/**
|
|
3530
3615
|
* Enforce using Solid's `<Show />` component for conditionally showing content. Solid's compiler covers this case, so it's a stylistic rule only.
|
|
3531
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3616
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/prefer-show.md
|
|
3532
3617
|
*/
|
|
3533
3618
|
'solid/prefer-show'?: Linter.RuleEntry<[]>;
|
|
3534
3619
|
/**
|
|
3535
3620
|
* Enforce that reactivity (props, signals, memos, etc.) is properly used, so changes in those values will be tracked and update the view as expected.
|
|
3536
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3621
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/reactivity.md
|
|
3537
3622
|
*/
|
|
3538
3623
|
'solid/reactivity'?: Linter.RuleEntry<SolidReactivity>;
|
|
3539
3624
|
/**
|
|
3540
3625
|
* Disallow extra closing tags for components without children.
|
|
3541
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3626
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/self-closing-comp.md
|
|
3542
3627
|
*/
|
|
3543
3628
|
'solid/self-closing-comp'?: Linter.RuleEntry<SolidSelfClosingComp>;
|
|
3544
3629
|
/**
|
|
3545
3630
|
* Require CSS properties in the `style` prop to be valid and kebab-cased (ex. 'font-size'), not camel-cased (ex. 'fontSize') like in React, and that property values with dimensions are strings, not numbers with implicit 'px' units.
|
|
3546
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/
|
|
3631
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/style-prop.md
|
|
3547
3632
|
*/
|
|
3548
3633
|
'solid/style-prop'?: Linter.RuleEntry<SolidStyleProp>;
|
|
3549
3634
|
/**
|
|
@@ -4095,45 +4180,45 @@ interface Rules {
|
|
|
4095
4180
|
*/
|
|
4096
4181
|
'symbol-description'?: Linter.RuleEntry<[]>;
|
|
4097
4182
|
/**
|
|
4098
|
-
* Enforce
|
|
4099
|
-
* @see https://github.com/
|
|
4183
|
+
* Enforce consistent syntax for css variables.
|
|
4184
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-variable-syntax.md
|
|
4100
4185
|
*/
|
|
4101
|
-
'tailwindcss/
|
|
4186
|
+
'tailwindcss-better/enforce-consistent-variable-syntax'?: Linter.RuleEntry<TailwindcssBetterEnforceConsistentVariableSyntax>;
|
|
4102
4187
|
/**
|
|
4103
|
-
*
|
|
4104
|
-
* @see https://github.com/
|
|
4188
|
+
* Enforce consistent line wrapping for tailwind classes.
|
|
4189
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/multiline.md
|
|
4105
4190
|
*/
|
|
4106
|
-
'tailwindcss/
|
|
4191
|
+
'tailwindcss-better/multiline'?: Linter.RuleEntry<TailwindcssBetterMultiline>;
|
|
4107
4192
|
/**
|
|
4108
|
-
*
|
|
4109
|
-
* @see https://github.com/
|
|
4193
|
+
* Disallow classes that produce conflicting styles.
|
|
4194
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-conflicting-classes.md
|
|
4110
4195
|
*/
|
|
4111
|
-
'tailwindcss/
|
|
4196
|
+
'tailwindcss-better/no-conflicting-classes'?: Linter.RuleEntry<TailwindcssBetterNoConflictingClasses>;
|
|
4112
4197
|
/**
|
|
4113
|
-
*
|
|
4114
|
-
* @see https://github.com/
|
|
4198
|
+
* Disallow duplicate class names in tailwind classes.
|
|
4199
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-duplicate-classes.md
|
|
4115
4200
|
*/
|
|
4116
|
-
'tailwindcss/
|
|
4201
|
+
'tailwindcss-better/no-duplicate-classes'?: Linter.RuleEntry<TailwindcssBetterNoDuplicateClasses>;
|
|
4117
4202
|
/**
|
|
4118
|
-
*
|
|
4119
|
-
* @see https://github.com/
|
|
4203
|
+
* Disallow restricted classes.
|
|
4204
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-restricted-classes.md
|
|
4120
4205
|
*/
|
|
4121
|
-
'tailwindcss/no-
|
|
4206
|
+
'tailwindcss-better/no-restricted-classes'?: Linter.RuleEntry<TailwindcssBetterNoRestrictedClasses>;
|
|
4122
4207
|
/**
|
|
4123
|
-
*
|
|
4124
|
-
* @see https://github.com/
|
|
4208
|
+
* Disallow unnecessary whitespace in tailwind classes.
|
|
4209
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-unnecessary-whitespace.md
|
|
4125
4210
|
*/
|
|
4126
|
-
'tailwindcss/no-
|
|
4211
|
+
'tailwindcss-better/no-unnecessary-whitespace'?: Linter.RuleEntry<TailwindcssBetterNoUnnecessaryWhitespace>;
|
|
4127
4212
|
/**
|
|
4128
|
-
*
|
|
4129
|
-
* @see https://github.com/
|
|
4213
|
+
* Disallow any css classes that are not registered in tailwindcss.
|
|
4214
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-unregistered-classes.md
|
|
4130
4215
|
*/
|
|
4131
|
-
'tailwindcss/no-
|
|
4216
|
+
'tailwindcss-better/no-unregistered-classes'?: Linter.RuleEntry<TailwindcssBetterNoUnregisteredClasses>;
|
|
4132
4217
|
/**
|
|
4133
|
-
*
|
|
4134
|
-
* @see https://github.com/
|
|
4218
|
+
* Enforce a consistent order for tailwind classes.
|
|
4219
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/sort-classes.md
|
|
4135
4220
|
*/
|
|
4136
|
-
'tailwindcss/
|
|
4221
|
+
'tailwindcss-better/sort-classes'?: Linter.RuleEntry<TailwindcssBetterSortClasses>;
|
|
4137
4222
|
/**
|
|
4138
4223
|
* Exhaustive deps rule for useQuery
|
|
4139
4224
|
* @see https://tanstack.com/query/latest/docs/eslint/exhaustive-deps
|
|
@@ -4144,6 +4229,11 @@ interface Rules {
|
|
|
4144
4229
|
* @see https://tanstack.com/query/latest/docs/eslint/infinite-query-property-order
|
|
4145
4230
|
*/
|
|
4146
4231
|
'tanstack-query/infinite-query-property-order'?: Linter.RuleEntry<[]>;
|
|
4232
|
+
/**
|
|
4233
|
+
* Ensure correct order of inference-sensitive properties in useMutation()
|
|
4234
|
+
* @see https://tanstack.com/query/latest/docs/eslint/mutation-property-order
|
|
4235
|
+
*/
|
|
4236
|
+
'tanstack-query/mutation-property-order'?: Linter.RuleEntry<[]>;
|
|
4147
4237
|
/**
|
|
4148
4238
|
* Disallows rest destructuring in queries
|
|
4149
4239
|
* @see https://tanstack.com/query/latest/docs/eslint/no-rest-destructuring
|
|
@@ -4164,6 +4254,11 @@ interface Rules {
|
|
|
4164
4254
|
* @see https://tanstack.com/query/latest/docs/eslint/stable-query-client
|
|
4165
4255
|
*/
|
|
4166
4256
|
'tanstack-query/stable-query-client'?: Linter.RuleEntry<[]>;
|
|
4257
|
+
/**
|
|
4258
|
+
* Ensure correct order of inference sensitive properties for createRoute functions
|
|
4259
|
+
* @see https://tanstack.com/router/latest/docs/eslint/create-route-property-order
|
|
4260
|
+
*/
|
|
4261
|
+
'tanstack-router/create-route-property-order'?: Linter.RuleEntry<[]>;
|
|
4167
4262
|
/**
|
|
4168
4263
|
* Require or disallow spacing around embedded expressions of template strings
|
|
4169
4264
|
* @see https://eslint.org/docs/latest/rules/template-curly-spacing
|
|
@@ -4931,6 +5026,7 @@ interface Rules {
|
|
|
4931
5026
|
/**
|
|
4932
5027
|
* Require type annotations in certain places
|
|
4933
5028
|
* @see https://typescript-eslint.io/rules/typedef
|
|
5029
|
+
* @deprecated
|
|
4934
5030
|
*/
|
|
4935
5031
|
'ts-eslint/typedef'?: Linter.RuleEntry<TsEslintTypedef>;
|
|
4936
5032
|
/**
|
|
@@ -7229,6 +7325,7 @@ type _FuncNamesValue = ("always" | "as-needed" | "never");
|
|
|
7229
7325
|
// ----- func-style -----
|
|
7230
7326
|
type FuncStyle = [] | [("declaration" | "expression")] | [("declaration" | "expression"), {
|
|
7231
7327
|
allowArrowFunctions?: boolean;
|
|
7328
|
+
allowTypeAnnotation?: boolean;
|
|
7232
7329
|
overrides?: {
|
|
7233
7330
|
namedExports?: ("declaration" | "expression" | "ignore");
|
|
7234
7331
|
};
|
|
@@ -7301,6 +7398,14 @@ type ImportExtensions = ([] | [("always" | "ignorePackages" | "never")] | [] | [
|
|
|
7301
7398
|
};
|
|
7302
7399
|
ignorePackages?: boolean;
|
|
7303
7400
|
checkTypeImports?: boolean;
|
|
7401
|
+
pathGroupOverrides?: {
|
|
7402
|
+
pattern: string;
|
|
7403
|
+
patternOptions?: {
|
|
7404
|
+
[k: string]: unknown | undefined;
|
|
7405
|
+
};
|
|
7406
|
+
action: ("enforce" | "ignore");
|
|
7407
|
+
}[];
|
|
7408
|
+
fix?: boolean;
|
|
7304
7409
|
[k: string]: unknown | undefined;
|
|
7305
7410
|
}] | [] | [{
|
|
7306
7411
|
pattern?: {
|
|
@@ -7308,6 +7413,14 @@ type ImportExtensions = ([] | [("always" | "ignorePackages" | "never")] | [] | [
|
|
|
7308
7413
|
};
|
|
7309
7414
|
ignorePackages?: boolean;
|
|
7310
7415
|
checkTypeImports?: boolean;
|
|
7416
|
+
pathGroupOverrides?: {
|
|
7417
|
+
pattern: string;
|
|
7418
|
+
patternOptions?: {
|
|
7419
|
+
[k: string]: unknown | undefined;
|
|
7420
|
+
};
|
|
7421
|
+
action: ("enforce" | "ignore");
|
|
7422
|
+
}[];
|
|
7423
|
+
fix?: boolean;
|
|
7311
7424
|
[k: string]: unknown | undefined;
|
|
7312
7425
|
}] | [] | [("always" | "ignorePackages" | "never")] | [("always" | "ignorePackages" | "never"), {
|
|
7313
7426
|
[k: string]: ("always" | "ignorePackages" | "never");
|
|
@@ -7609,10 +7722,10 @@ type JsdocCheckLineAlignment = [] | [("always" | "never" | "any")] | [("always"
|
|
|
7609
7722
|
postTag?: number;
|
|
7610
7723
|
postType?: number;
|
|
7611
7724
|
};
|
|
7725
|
+
disableWrapIndent?: boolean;
|
|
7612
7726
|
preserveMainDescriptionPostDelimiter?: boolean;
|
|
7613
7727
|
tags?: string[];
|
|
7614
7728
|
wrapIndent?: string;
|
|
7615
|
-
disableWrapIndent?: boolean;
|
|
7616
7729
|
}];
|
|
7617
7730
|
// ----- jsdoc/check-param-names -----
|
|
7618
7731
|
type JsdocCheckParamNames = [] | [{
|
|
@@ -8166,6 +8279,10 @@ type JsoncNoIrregularWhitespace = [] | [{
|
|
|
8166
8279
|
skipRegExps?: boolean;
|
|
8167
8280
|
skipJSXText?: boolean;
|
|
8168
8281
|
}];
|
|
8282
|
+
// ----- jsonc/no-useless-escape -----
|
|
8283
|
+
type JsoncNoUselessEscape = [] | [{
|
|
8284
|
+
allowRegexCharacters?: string[];
|
|
8285
|
+
}];
|
|
8169
8286
|
// ----- jsonc/object-curly-newline -----
|
|
8170
8287
|
type JsoncObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
8171
8288
|
multiline?: boolean;
|
|
@@ -8782,6 +8899,7 @@ type MaxNestedCallbacks = [] | [(number | {
|
|
|
8782
8899
|
type MaxParams = [] | [(number | {
|
|
8783
8900
|
maximum?: number;
|
|
8784
8901
|
max?: number;
|
|
8902
|
+
countVoidThis?: boolean;
|
|
8785
8903
|
})];
|
|
8786
8904
|
// ----- max-statements -----
|
|
8787
8905
|
type MaxStatements = [] | [(number | {
|
|
@@ -8949,6 +9067,10 @@ type NoMagicNumbers = [] | [{
|
|
|
8949
9067
|
ignoreArrayIndexes?: boolean;
|
|
8950
9068
|
ignoreDefaultValues?: boolean;
|
|
8951
9069
|
ignoreClassFieldInitialValues?: boolean;
|
|
9070
|
+
ignoreEnums?: boolean;
|
|
9071
|
+
ignoreNumericLiteralTypes?: boolean;
|
|
9072
|
+
ignoreReadonlyClassProperties?: boolean;
|
|
9073
|
+
ignoreTypeIndexes?: boolean;
|
|
8952
9074
|
}];
|
|
8953
9075
|
// ----- no-misleading-character-class -----
|
|
8954
9076
|
type NoMisleadingCharacterClass = [] | [{
|
|
@@ -9081,9 +9203,11 @@ type NoSequences = [] | [{
|
|
|
9081
9203
|
// ----- no-shadow -----
|
|
9082
9204
|
type NoShadow = [] | [{
|
|
9083
9205
|
builtinGlobals?: boolean;
|
|
9084
|
-
hoist?: ("all" | "functions" | "never");
|
|
9206
|
+
hoist?: ("all" | "functions" | "never" | "types" | "functions-and-types");
|
|
9085
9207
|
allow?: string[];
|
|
9086
9208
|
ignoreOnInitialization?: boolean;
|
|
9209
|
+
ignoreTypeValueShadow?: boolean;
|
|
9210
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean;
|
|
9087
9211
|
}];
|
|
9088
9212
|
// ----- no-shadow-restricted-names -----
|
|
9089
9213
|
type NoShadowRestrictedNames = [] | [{
|
|
@@ -9161,11 +9285,18 @@ type NoUseBeforeDefine = [] | [("nofunc" | {
|
|
|
9161
9285
|
classes?: boolean;
|
|
9162
9286
|
variables?: boolean;
|
|
9163
9287
|
allowNamedExports?: boolean;
|
|
9288
|
+
enums?: boolean;
|
|
9289
|
+
typedefs?: boolean;
|
|
9290
|
+
ignoreTypeReferences?: boolean;
|
|
9164
9291
|
})];
|
|
9165
9292
|
// ----- no-useless-computed-key -----
|
|
9166
9293
|
type NoUselessComputedKey = [] | [{
|
|
9167
9294
|
enforceForClassMembers?: boolean;
|
|
9168
9295
|
}];
|
|
9296
|
+
// ----- no-useless-escape -----
|
|
9297
|
+
type NoUselessEscape = [] | [{
|
|
9298
|
+
allowRegexCharacters?: string[];
|
|
9299
|
+
}];
|
|
9169
9300
|
// ----- no-useless-rename -----
|
|
9170
9301
|
type NoUselessRename = [] | [{
|
|
9171
9302
|
ignoreDestructuring?: boolean;
|
|
@@ -9310,7 +9441,33 @@ type NodeNoRestrictedRequire = [] | [(string | {
|
|
|
9310
9441
|
// ----- node/no-sync -----
|
|
9311
9442
|
type NodeNoSync = [] | [{
|
|
9312
9443
|
allowAtRootLevel?: boolean;
|
|
9313
|
-
ignores?: string
|
|
9444
|
+
ignores?: (string | {
|
|
9445
|
+
from?: "file";
|
|
9446
|
+
path?: string;
|
|
9447
|
+
name?: string[];
|
|
9448
|
+
} | {
|
|
9449
|
+
from?: "lib";
|
|
9450
|
+
name?: string[];
|
|
9451
|
+
} | {
|
|
9452
|
+
from?: "package";
|
|
9453
|
+
package?: string;
|
|
9454
|
+
name?: string[];
|
|
9455
|
+
})[];
|
|
9456
|
+
}];
|
|
9457
|
+
// ----- node/no-top-level-await -----
|
|
9458
|
+
type NodeNoTopLevelAwait = [] | [{
|
|
9459
|
+
ignoreBin?: boolean;
|
|
9460
|
+
convertPath?: ({
|
|
9461
|
+
[k: string]: [string, string];
|
|
9462
|
+
} | [{
|
|
9463
|
+
include: [string, ...(string)[]];
|
|
9464
|
+
exclude?: string[];
|
|
9465
|
+
replace: [string, string];
|
|
9466
|
+
}, ...({
|
|
9467
|
+
include: [string, ...(string)[]];
|
|
9468
|
+
exclude?: string[];
|
|
9469
|
+
replace: [string, string];
|
|
9470
|
+
})[]]);
|
|
9314
9471
|
}];
|
|
9315
9472
|
// ----- node/no-unpublished-bin -----
|
|
9316
9473
|
type NodeNoUnpublishedBin = [] | [{
|
|
@@ -9533,7 +9690,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9533
9690
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
9534
9691
|
groupKind?: ("mixed" | "literals-first" | "spreads-first");
|
|
9535
9692
|
customGroups?: ({
|
|
9536
|
-
newlinesInside?: ("always" | "never");
|
|
9693
|
+
newlinesInside?: (("always" | "never") | number);
|
|
9537
9694
|
fallbackSort?: {
|
|
9538
9695
|
order?: ("asc" | "desc");
|
|
9539
9696
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -9552,7 +9709,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9552
9709
|
} | string));
|
|
9553
9710
|
}[];
|
|
9554
9711
|
} | {
|
|
9555
|
-
newlinesInside?: ("always" | "never");
|
|
9712
|
+
newlinesInside?: (("always" | "never") | number);
|
|
9556
9713
|
fallbackSort?: {
|
|
9557
9714
|
order?: ("asc" | "desc");
|
|
9558
9715
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -9601,9 +9758,10 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9601
9758
|
} | string)));
|
|
9602
9759
|
});
|
|
9603
9760
|
partitionByNewLine?: boolean;
|
|
9604
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9761
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
9605
9762
|
groups?: (string | string[] | {
|
|
9606
|
-
newlinesBetween
|
|
9763
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
9764
|
+
commentAbove?: string;
|
|
9607
9765
|
})[];
|
|
9608
9766
|
}[];
|
|
9609
9767
|
// ----- perfectionist/sort-classes -----
|
|
@@ -9619,7 +9777,7 @@ type PerfectionistSortClasses = [] | [{
|
|
|
9619
9777
|
order?: ("asc" | "desc");
|
|
9620
9778
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
9621
9779
|
customGroups?: ({
|
|
9622
|
-
newlinesInside?: ("always" | "never");
|
|
9780
|
+
newlinesInside?: (("always" | "never") | number);
|
|
9623
9781
|
fallbackSort?: {
|
|
9624
9782
|
order?: ("asc" | "desc");
|
|
9625
9783
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -9653,7 +9811,7 @@ type PerfectionistSortClasses = [] | [{
|
|
|
9653
9811
|
} | string));
|
|
9654
9812
|
}[];
|
|
9655
9813
|
} | {
|
|
9656
|
-
newlinesInside?: ("always" | "never");
|
|
9814
|
+
newlinesInside?: (("always" | "never") | number);
|
|
9657
9815
|
fallbackSort?: {
|
|
9658
9816
|
order?: ("asc" | "desc");
|
|
9659
9817
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -9715,9 +9873,10 @@ type PerfectionistSortClasses = [] | [{
|
|
|
9715
9873
|
} | string)));
|
|
9716
9874
|
});
|
|
9717
9875
|
partitionByNewLine?: boolean;
|
|
9718
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9876
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
9719
9877
|
groups?: (string | string[] | {
|
|
9720
|
-
newlinesBetween
|
|
9878
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
9879
|
+
commentAbove?: string;
|
|
9721
9880
|
})[];
|
|
9722
9881
|
}];
|
|
9723
9882
|
// ----- perfectionist/sort-decorators -----
|
|
@@ -9763,7 +9922,8 @@ type PerfectionistSortDecorators = [] | [{
|
|
|
9763
9922
|
[k: string]: (string | string[]) | undefined;
|
|
9764
9923
|
};
|
|
9765
9924
|
groups?: (string | string[] | {
|
|
9766
|
-
newlinesBetween
|
|
9925
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
9926
|
+
commentAbove?: string;
|
|
9767
9927
|
})[];
|
|
9768
9928
|
}];
|
|
9769
9929
|
// ----- perfectionist/sort-enums -----
|
|
@@ -9781,7 +9941,7 @@ type PerfectionistSortEnums = [] | [{
|
|
|
9781
9941
|
customGroups?: ({
|
|
9782
9942
|
[k: string]: (string | string[]) | undefined;
|
|
9783
9943
|
} | ({
|
|
9784
|
-
newlinesInside?: ("always" | "never");
|
|
9944
|
+
newlinesInside?: (("always" | "never") | number);
|
|
9785
9945
|
fallbackSort?: {
|
|
9786
9946
|
order?: ("asc" | "desc");
|
|
9787
9947
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -9806,7 +9966,7 @@ type PerfectionistSortEnums = [] | [{
|
|
|
9806
9966
|
} | string));
|
|
9807
9967
|
}[];
|
|
9808
9968
|
} | {
|
|
9809
|
-
newlinesInside?: ("always" | "never");
|
|
9969
|
+
newlinesInside?: (("always" | "never") | number);
|
|
9810
9970
|
fallbackSort?: {
|
|
9811
9971
|
order?: ("asc" | "desc");
|
|
9812
9972
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -9854,9 +10014,10 @@ type PerfectionistSortEnums = [] | [{
|
|
|
9854
10014
|
} | string)));
|
|
9855
10015
|
});
|
|
9856
10016
|
partitionByNewLine?: boolean;
|
|
9857
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10017
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
9858
10018
|
groups?: (string | string[] | {
|
|
9859
|
-
newlinesBetween
|
|
10019
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10020
|
+
commentAbove?: string;
|
|
9860
10021
|
})[];
|
|
9861
10022
|
}];
|
|
9862
10023
|
// ----- perfectionist/sort-exports -----
|
|
@@ -9873,7 +10034,7 @@ type PerfectionistSortExports = {
|
|
|
9873
10034
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
9874
10035
|
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
9875
10036
|
customGroups?: ({
|
|
9876
|
-
newlinesInside?: ("always" | "never");
|
|
10037
|
+
newlinesInside?: (("always" | "never") | number);
|
|
9877
10038
|
fallbackSort?: {
|
|
9878
10039
|
order?: ("asc" | "desc");
|
|
9879
10040
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -9893,7 +10054,7 @@ type PerfectionistSortExports = {
|
|
|
9893
10054
|
} | string));
|
|
9894
10055
|
}[];
|
|
9895
10056
|
} | {
|
|
9896
|
-
newlinesInside?: ("always" | "never");
|
|
10057
|
+
newlinesInside?: (("always" | "never") | number);
|
|
9897
10058
|
fallbackSort?: {
|
|
9898
10059
|
order?: ("asc" | "desc");
|
|
9899
10060
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -9934,9 +10095,10 @@ type PerfectionistSortExports = {
|
|
|
9934
10095
|
} | string)));
|
|
9935
10096
|
});
|
|
9936
10097
|
partitionByNewLine?: boolean;
|
|
9937
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10098
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
9938
10099
|
groups?: (string | string[] | {
|
|
9939
|
-
newlinesBetween
|
|
10100
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10101
|
+
commentAbove?: string;
|
|
9940
10102
|
})[];
|
|
9941
10103
|
}[];
|
|
9942
10104
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
@@ -9955,7 +10117,8 @@ type PerfectionistSortHeritageClauses = [] | [{
|
|
|
9955
10117
|
[k: string]: (string | string[]) | undefined;
|
|
9956
10118
|
};
|
|
9957
10119
|
groups?: (string | string[] | {
|
|
9958
|
-
newlinesBetween
|
|
10120
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10121
|
+
commentAbove?: string;
|
|
9959
10122
|
})[];
|
|
9960
10123
|
}];
|
|
9961
10124
|
// ----- perfectionist/sort-imports -----
|
|
@@ -9978,7 +10141,7 @@ type PerfectionistSortImports = {
|
|
|
9978
10141
|
[k: string]: (string | string[]) | undefined;
|
|
9979
10142
|
};
|
|
9980
10143
|
} | ({
|
|
9981
|
-
newlinesInside?: ("always" | "never");
|
|
10144
|
+
newlinesInside?: (("always" | "never") | number);
|
|
9982
10145
|
fallbackSort?: {
|
|
9983
10146
|
order?: ("asc" | "desc");
|
|
9984
10147
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10005,7 +10168,7 @@ type PerfectionistSortImports = {
|
|
|
10005
10168
|
} | string));
|
|
10006
10169
|
}[];
|
|
10007
10170
|
} | {
|
|
10008
|
-
newlinesInside?: ("always" | "never");
|
|
10171
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10009
10172
|
fallbackSort?: {
|
|
10010
10173
|
order?: ("asc" | "desc");
|
|
10011
10174
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10030,6 +10193,10 @@ type PerfectionistSortImports = {
|
|
|
10030
10193
|
flags?: string;
|
|
10031
10194
|
} | string));
|
|
10032
10195
|
})[]);
|
|
10196
|
+
tsconfig?: {
|
|
10197
|
+
rootDir: string;
|
|
10198
|
+
filename?: string;
|
|
10199
|
+
};
|
|
10033
10200
|
maxLineLength?: number;
|
|
10034
10201
|
sortSideEffects?: boolean;
|
|
10035
10202
|
environment?: ("node" | "bun");
|
|
@@ -10057,7 +10224,7 @@ type PerfectionistSortImports = {
|
|
|
10057
10224
|
} | string)));
|
|
10058
10225
|
});
|
|
10059
10226
|
partitionByNewLine?: boolean;
|
|
10060
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10227
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10061
10228
|
internalPattern?: (({
|
|
10062
10229
|
pattern: string;
|
|
10063
10230
|
flags?: string;
|
|
@@ -10066,7 +10233,8 @@ type PerfectionistSortImports = {
|
|
|
10066
10233
|
flags?: string;
|
|
10067
10234
|
} | string));
|
|
10068
10235
|
groups?: (string | string[] | {
|
|
10069
|
-
newlinesBetween
|
|
10236
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10237
|
+
commentAbove?: string;
|
|
10070
10238
|
})[];
|
|
10071
10239
|
}[];
|
|
10072
10240
|
// ----- perfectionist/sort-interfaces -----
|
|
@@ -10085,7 +10253,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10085
10253
|
customGroups?: ({
|
|
10086
10254
|
[k: string]: (string | string[]) | undefined;
|
|
10087
10255
|
} | ({
|
|
10088
|
-
newlinesInside?: ("always" | "never");
|
|
10256
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10089
10257
|
fallbackSort?: {
|
|
10090
10258
|
order?: ("asc" | "desc");
|
|
10091
10259
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10114,7 +10282,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10114
10282
|
sortBy?: ("name" | "value");
|
|
10115
10283
|
}[];
|
|
10116
10284
|
} | {
|
|
10117
|
-
newlinesInside?: ("always" | "never");
|
|
10285
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10118
10286
|
fallbackSort?: {
|
|
10119
10287
|
order?: ("asc" | "desc");
|
|
10120
10288
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10181,7 +10349,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10181
10349
|
} | string)));
|
|
10182
10350
|
});
|
|
10183
10351
|
partitionByNewLine?: boolean;
|
|
10184
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10352
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10185
10353
|
ignorePattern?: (({
|
|
10186
10354
|
pattern: string;
|
|
10187
10355
|
flags?: string;
|
|
@@ -10191,7 +10359,8 @@ type PerfectionistSortInterfaces = {
|
|
|
10191
10359
|
} | string));
|
|
10192
10360
|
sortBy?: ("name" | "value");
|
|
10193
10361
|
groups?: (string | string[] | {
|
|
10194
|
-
newlinesBetween
|
|
10362
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10363
|
+
commentAbove?: string;
|
|
10195
10364
|
})[];
|
|
10196
10365
|
}[];
|
|
10197
10366
|
// ----- perfectionist/sort-intersection-types -----
|
|
@@ -10207,7 +10376,7 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
10207
10376
|
order?: ("asc" | "desc");
|
|
10208
10377
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10209
10378
|
customGroups?: ({
|
|
10210
|
-
newlinesInside?: ("always" | "never");
|
|
10379
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10211
10380
|
fallbackSort?: {
|
|
10212
10381
|
order?: ("asc" | "desc");
|
|
10213
10382
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10226,7 +10395,7 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
10226
10395
|
} | string));
|
|
10227
10396
|
}[];
|
|
10228
10397
|
} | {
|
|
10229
|
-
newlinesInside?: ("always" | "never");
|
|
10398
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10230
10399
|
fallbackSort?: {
|
|
10231
10400
|
order?: ("asc" | "desc");
|
|
10232
10401
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10266,9 +10435,10 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
10266
10435
|
} | string)));
|
|
10267
10436
|
});
|
|
10268
10437
|
partitionByNewLine?: boolean;
|
|
10269
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10438
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10270
10439
|
groups?: (string | string[] | {
|
|
10271
|
-
newlinesBetween
|
|
10440
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10441
|
+
commentAbove?: string;
|
|
10272
10442
|
})[];
|
|
10273
10443
|
}[];
|
|
10274
10444
|
// ----- perfectionist/sort-jsx-props -----
|
|
@@ -10286,7 +10456,7 @@ type PerfectionistSortJsxProps = {
|
|
|
10286
10456
|
customGroups?: ({
|
|
10287
10457
|
[k: string]: (string | string[]) | undefined;
|
|
10288
10458
|
} | ({
|
|
10289
|
-
newlinesInside?: ("always" | "never");
|
|
10459
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10290
10460
|
fallbackSort?: {
|
|
10291
10461
|
order?: ("asc" | "desc");
|
|
10292
10462
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10313,7 +10483,7 @@ type PerfectionistSortJsxProps = {
|
|
|
10313
10483
|
} | string));
|
|
10314
10484
|
}[];
|
|
10315
10485
|
} | {
|
|
10316
|
-
newlinesInside?: ("always" | "never");
|
|
10486
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10317
10487
|
fallbackSort?: {
|
|
10318
10488
|
order?: ("asc" | "desc");
|
|
10319
10489
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10355,7 +10525,7 @@ type PerfectionistSortJsxProps = {
|
|
|
10355
10525
|
} | string));
|
|
10356
10526
|
};
|
|
10357
10527
|
partitionByNewLine?: boolean;
|
|
10358
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10528
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10359
10529
|
ignorePattern?: (({
|
|
10360
10530
|
pattern: string;
|
|
10361
10531
|
flags?: string;
|
|
@@ -10364,7 +10534,8 @@ type PerfectionistSortJsxProps = {
|
|
|
10364
10534
|
flags?: string;
|
|
10365
10535
|
} | string));
|
|
10366
10536
|
groups?: (string | string[] | {
|
|
10367
|
-
newlinesBetween
|
|
10537
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10538
|
+
commentAbove?: string;
|
|
10368
10539
|
})[];
|
|
10369
10540
|
}[];
|
|
10370
10541
|
// ----- perfectionist/sort-maps -----
|
|
@@ -10380,7 +10551,7 @@ type PerfectionistSortMaps = {
|
|
|
10380
10551
|
order?: ("asc" | "desc");
|
|
10381
10552
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10382
10553
|
customGroups?: ({
|
|
10383
|
-
newlinesInside?: ("always" | "never");
|
|
10554
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10384
10555
|
fallbackSort?: {
|
|
10385
10556
|
order?: ("asc" | "desc");
|
|
10386
10557
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10398,7 +10569,7 @@ type PerfectionistSortMaps = {
|
|
|
10398
10569
|
} | string));
|
|
10399
10570
|
}[];
|
|
10400
10571
|
} | {
|
|
10401
|
-
newlinesInside?: ("always" | "never");
|
|
10572
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10402
10573
|
fallbackSort?: {
|
|
10403
10574
|
order?: ("asc" | "desc");
|
|
10404
10575
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10446,9 +10617,10 @@ type PerfectionistSortMaps = {
|
|
|
10446
10617
|
} | string)));
|
|
10447
10618
|
});
|
|
10448
10619
|
partitionByNewLine?: boolean;
|
|
10449
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10620
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10450
10621
|
groups?: (string | string[] | {
|
|
10451
|
-
newlinesBetween
|
|
10622
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10623
|
+
commentAbove?: string;
|
|
10452
10624
|
})[];
|
|
10453
10625
|
}[];
|
|
10454
10626
|
// ----- perfectionist/sort-modules -----
|
|
@@ -10464,7 +10636,7 @@ type PerfectionistSortModules = [] | [{
|
|
|
10464
10636
|
order?: ("asc" | "desc");
|
|
10465
10637
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10466
10638
|
customGroups?: ({
|
|
10467
|
-
newlinesInside?: ("always" | "never");
|
|
10639
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10468
10640
|
fallbackSort?: {
|
|
10469
10641
|
order?: ("asc" | "desc");
|
|
10470
10642
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10491,7 +10663,7 @@ type PerfectionistSortModules = [] | [{
|
|
|
10491
10663
|
} | string));
|
|
10492
10664
|
}[];
|
|
10493
10665
|
} | {
|
|
10494
|
-
newlinesInside?: ("always" | "never");
|
|
10666
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10495
10667
|
fallbackSort?: {
|
|
10496
10668
|
order?: ("asc" | "desc");
|
|
10497
10669
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10539,9 +10711,10 @@ type PerfectionistSortModules = [] | [{
|
|
|
10539
10711
|
} | string)));
|
|
10540
10712
|
});
|
|
10541
10713
|
partitionByNewLine?: boolean;
|
|
10542
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10714
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10543
10715
|
groups?: (string | string[] | {
|
|
10544
|
-
newlinesBetween
|
|
10716
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10717
|
+
commentAbove?: string;
|
|
10545
10718
|
})[];
|
|
10546
10719
|
}];
|
|
10547
10720
|
// ----- perfectionist/sort-named-exports -----
|
|
@@ -10559,7 +10732,7 @@ type PerfectionistSortNamedExports = {
|
|
|
10559
10732
|
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
10560
10733
|
ignoreAlias?: boolean;
|
|
10561
10734
|
customGroups?: ({
|
|
10562
|
-
newlinesInside?: ("always" | "never");
|
|
10735
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10563
10736
|
fallbackSort?: {
|
|
10564
10737
|
order?: ("asc" | "desc");
|
|
10565
10738
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10579,7 +10752,7 @@ type PerfectionistSortNamedExports = {
|
|
|
10579
10752
|
} | string));
|
|
10580
10753
|
}[];
|
|
10581
10754
|
} | {
|
|
10582
|
-
newlinesInside?: ("always" | "never");
|
|
10755
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10583
10756
|
fallbackSort?: {
|
|
10584
10757
|
order?: ("asc" | "desc");
|
|
10585
10758
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10620,9 +10793,10 @@ type PerfectionistSortNamedExports = {
|
|
|
10620
10793
|
} | string)));
|
|
10621
10794
|
});
|
|
10622
10795
|
partitionByNewLine?: boolean;
|
|
10623
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10796
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10624
10797
|
groups?: (string | string[] | {
|
|
10625
|
-
newlinesBetween
|
|
10798
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10799
|
+
commentAbove?: string;
|
|
10626
10800
|
})[];
|
|
10627
10801
|
}[];
|
|
10628
10802
|
// ----- perfectionist/sort-named-imports -----
|
|
@@ -10640,7 +10814,7 @@ type PerfectionistSortNamedImports = {
|
|
|
10640
10814
|
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
10641
10815
|
ignoreAlias?: boolean;
|
|
10642
10816
|
customGroups?: ({
|
|
10643
|
-
newlinesInside?: ("always" | "never");
|
|
10817
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10644
10818
|
fallbackSort?: {
|
|
10645
10819
|
order?: ("asc" | "desc");
|
|
10646
10820
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10660,7 +10834,7 @@ type PerfectionistSortNamedImports = {
|
|
|
10660
10834
|
} | string));
|
|
10661
10835
|
}[];
|
|
10662
10836
|
} | {
|
|
10663
|
-
newlinesInside?: ("always" | "never");
|
|
10837
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10664
10838
|
fallbackSort?: {
|
|
10665
10839
|
order?: ("asc" | "desc");
|
|
10666
10840
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10701,9 +10875,10 @@ type PerfectionistSortNamedImports = {
|
|
|
10701
10875
|
} | string)));
|
|
10702
10876
|
});
|
|
10703
10877
|
partitionByNewLine?: boolean;
|
|
10704
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10878
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10705
10879
|
groups?: (string | string[] | {
|
|
10706
|
-
newlinesBetween
|
|
10880
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10881
|
+
commentAbove?: string;
|
|
10707
10882
|
})[];
|
|
10708
10883
|
}[];
|
|
10709
10884
|
// ----- perfectionist/sort-object-types -----
|
|
@@ -10722,7 +10897,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
10722
10897
|
customGroups?: ({
|
|
10723
10898
|
[k: string]: (string | string[]) | undefined;
|
|
10724
10899
|
} | ({
|
|
10725
|
-
newlinesInside?: ("always" | "never");
|
|
10900
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10726
10901
|
fallbackSort?: {
|
|
10727
10902
|
order?: ("asc" | "desc");
|
|
10728
10903
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10751,7 +10926,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
10751
10926
|
sortBy?: ("name" | "value");
|
|
10752
10927
|
}[];
|
|
10753
10928
|
} | {
|
|
10754
|
-
newlinesInside?: ("always" | "never");
|
|
10929
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10755
10930
|
fallbackSort?: {
|
|
10756
10931
|
order?: ("asc" | "desc");
|
|
10757
10932
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10818,7 +10993,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
10818
10993
|
} | string)));
|
|
10819
10994
|
});
|
|
10820
10995
|
partitionByNewLine?: boolean;
|
|
10821
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10996
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10822
10997
|
ignorePattern?: (({
|
|
10823
10998
|
pattern: string;
|
|
10824
10999
|
flags?: string;
|
|
@@ -10828,7 +11003,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
10828
11003
|
} | string));
|
|
10829
11004
|
sortBy?: ("name" | "value");
|
|
10830
11005
|
groups?: (string | string[] | {
|
|
10831
|
-
newlinesBetween
|
|
11006
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11007
|
+
commentAbove?: string;
|
|
10832
11008
|
})[];
|
|
10833
11009
|
}[];
|
|
10834
11010
|
// ----- perfectionist/sort-objects -----
|
|
@@ -10849,7 +11025,7 @@ type PerfectionistSortObjects = {
|
|
|
10849
11025
|
customGroups?: ({
|
|
10850
11026
|
[k: string]: (string | string[]) | undefined;
|
|
10851
11027
|
} | ({
|
|
10852
|
-
newlinesInside?: ("always" | "never");
|
|
11028
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10853
11029
|
fallbackSort?: {
|
|
10854
11030
|
order?: ("asc" | "desc");
|
|
10855
11031
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10876,7 +11052,7 @@ type PerfectionistSortObjects = {
|
|
|
10876
11052
|
} | string));
|
|
10877
11053
|
}[];
|
|
10878
11054
|
} | {
|
|
10879
|
-
newlinesInside?: ("always" | "never");
|
|
11055
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10880
11056
|
fallbackSort?: {
|
|
10881
11057
|
order?: ("asc" | "desc");
|
|
10882
11058
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10943,7 +11119,7 @@ type PerfectionistSortObjects = {
|
|
|
10943
11119
|
} | string)));
|
|
10944
11120
|
});
|
|
10945
11121
|
partitionByNewLine?: boolean;
|
|
10946
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11122
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10947
11123
|
ignorePattern?: (({
|
|
10948
11124
|
pattern: string;
|
|
10949
11125
|
flags?: string;
|
|
@@ -10952,7 +11128,8 @@ type PerfectionistSortObjects = {
|
|
|
10952
11128
|
flags?: string;
|
|
10953
11129
|
} | string));
|
|
10954
11130
|
groups?: (string | string[] | {
|
|
10955
|
-
newlinesBetween
|
|
11131
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11132
|
+
commentAbove?: string;
|
|
10956
11133
|
})[];
|
|
10957
11134
|
}[];
|
|
10958
11135
|
// ----- perfectionist/sort-sets -----
|
|
@@ -10969,7 +11146,7 @@ type PerfectionistSortSets = {
|
|
|
10969
11146
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10970
11147
|
groupKind?: ("mixed" | "literals-first" | "spreads-first");
|
|
10971
11148
|
customGroups?: ({
|
|
10972
|
-
newlinesInside?: ("always" | "never");
|
|
11149
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10973
11150
|
fallbackSort?: {
|
|
10974
11151
|
order?: ("asc" | "desc");
|
|
10975
11152
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10988,7 +11165,7 @@ type PerfectionistSortSets = {
|
|
|
10988
11165
|
} | string));
|
|
10989
11166
|
}[];
|
|
10990
11167
|
} | {
|
|
10991
|
-
newlinesInside?: ("always" | "never");
|
|
11168
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10992
11169
|
fallbackSort?: {
|
|
10993
11170
|
order?: ("asc" | "desc");
|
|
10994
11171
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11037,9 +11214,10 @@ type PerfectionistSortSets = {
|
|
|
11037
11214
|
} | string)));
|
|
11038
11215
|
});
|
|
11039
11216
|
partitionByNewLine?: boolean;
|
|
11040
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11217
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11041
11218
|
groups?: (string | string[] | {
|
|
11042
|
-
newlinesBetween
|
|
11219
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11220
|
+
commentAbove?: string;
|
|
11043
11221
|
})[];
|
|
11044
11222
|
}[];
|
|
11045
11223
|
// ----- perfectionist/sort-switch-case -----
|
|
@@ -11068,7 +11246,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
11068
11246
|
order?: ("asc" | "desc");
|
|
11069
11247
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11070
11248
|
customGroups?: ({
|
|
11071
|
-
newlinesInside?: ("always" | "never");
|
|
11249
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11072
11250
|
fallbackSort?: {
|
|
11073
11251
|
order?: ("asc" | "desc");
|
|
11074
11252
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11087,7 +11265,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
11087
11265
|
} | string));
|
|
11088
11266
|
}[];
|
|
11089
11267
|
} | {
|
|
11090
|
-
newlinesInside?: ("always" | "never");
|
|
11268
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11091
11269
|
fallbackSort?: {
|
|
11092
11270
|
order?: ("asc" | "desc");
|
|
11093
11271
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11127,9 +11305,10 @@ type PerfectionistSortUnionTypes = {
|
|
|
11127
11305
|
} | string)));
|
|
11128
11306
|
});
|
|
11129
11307
|
partitionByNewLine?: boolean;
|
|
11130
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11308
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11131
11309
|
groups?: (string | string[] | {
|
|
11132
|
-
newlinesBetween
|
|
11310
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11311
|
+
commentAbove?: string;
|
|
11133
11312
|
})[];
|
|
11134
11313
|
}[];
|
|
11135
11314
|
// ----- perfectionist/sort-variable-declarations -----
|
|
@@ -11145,7 +11324,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
11145
11324
|
order?: ("asc" | "desc");
|
|
11146
11325
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11147
11326
|
customGroups?: ({
|
|
11148
|
-
newlinesInside?: ("always" | "never");
|
|
11327
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11149
11328
|
fallbackSort?: {
|
|
11150
11329
|
order?: ("asc" | "desc");
|
|
11151
11330
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11164,7 +11343,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
11164
11343
|
} | string));
|
|
11165
11344
|
}[];
|
|
11166
11345
|
} | {
|
|
11167
|
-
newlinesInside?: ("always" | "never");
|
|
11346
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11168
11347
|
fallbackSort?: {
|
|
11169
11348
|
order?: ("asc" | "desc");
|
|
11170
11349
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11204,9 +11383,10 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
11204
11383
|
} | string)));
|
|
11205
11384
|
});
|
|
11206
11385
|
partitionByNewLine?: boolean;
|
|
11207
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11386
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11208
11387
|
groups?: (string | string[] | {
|
|
11209
|
-
newlinesBetween
|
|
11388
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11389
|
+
commentAbove?: string;
|
|
11210
11390
|
})[];
|
|
11211
11391
|
}];
|
|
11212
11392
|
// ----- pnpm/json-enforce-catalog -----
|
|
@@ -11842,6 +12022,7 @@ type StylisticJsxSortProps = [] | [{
|
|
|
11842
12022
|
ignoreCase?: boolean;
|
|
11843
12023
|
noSortAlphabetically?: boolean;
|
|
11844
12024
|
reservedFirst?: (unknown[] | boolean);
|
|
12025
|
+
reservedLast?: unknown[];
|
|
11845
12026
|
locale?: string;
|
|
11846
12027
|
}];
|
|
11847
12028
|
// ----- stylistic/jsx-tag-spacing -----
|
|
@@ -11918,18 +12099,6 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
11918
12099
|
before?: boolean;
|
|
11919
12100
|
after?: boolean;
|
|
11920
12101
|
};
|
|
11921
|
-
as?: {
|
|
11922
|
-
before?: boolean;
|
|
11923
|
-
after?: boolean;
|
|
11924
|
-
};
|
|
11925
|
-
async?: {
|
|
11926
|
-
before?: boolean;
|
|
11927
|
-
after?: boolean;
|
|
11928
|
-
};
|
|
11929
|
-
await?: {
|
|
11930
|
-
before?: boolean;
|
|
11931
|
-
after?: boolean;
|
|
11932
|
-
};
|
|
11933
12102
|
boolean?: {
|
|
11934
12103
|
before?: boolean;
|
|
11935
12104
|
after?: boolean;
|
|
@@ -12022,18 +12191,10 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
12022
12191
|
before?: boolean;
|
|
12023
12192
|
after?: boolean;
|
|
12024
12193
|
};
|
|
12025
|
-
from?: {
|
|
12026
|
-
before?: boolean;
|
|
12027
|
-
after?: boolean;
|
|
12028
|
-
};
|
|
12029
12194
|
function?: {
|
|
12030
12195
|
before?: boolean;
|
|
12031
12196
|
after?: boolean;
|
|
12032
12197
|
};
|
|
12033
|
-
get?: {
|
|
12034
|
-
before?: boolean;
|
|
12035
|
-
after?: boolean;
|
|
12036
|
-
};
|
|
12037
12198
|
goto?: {
|
|
12038
12199
|
before?: boolean;
|
|
12039
12200
|
after?: boolean;
|
|
@@ -12066,10 +12227,6 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
12066
12227
|
before?: boolean;
|
|
12067
12228
|
after?: boolean;
|
|
12068
12229
|
};
|
|
12069
|
-
let?: {
|
|
12070
|
-
before?: boolean;
|
|
12071
|
-
after?: boolean;
|
|
12072
|
-
};
|
|
12073
12230
|
long?: {
|
|
12074
12231
|
before?: boolean;
|
|
12075
12232
|
after?: boolean;
|
|
@@ -12086,10 +12243,6 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
12086
12243
|
before?: boolean;
|
|
12087
12244
|
after?: boolean;
|
|
12088
12245
|
};
|
|
12089
|
-
of?: {
|
|
12090
|
-
before?: boolean;
|
|
12091
|
-
after?: boolean;
|
|
12092
|
-
};
|
|
12093
12246
|
package?: {
|
|
12094
12247
|
before?: boolean;
|
|
12095
12248
|
after?: boolean;
|
|
@@ -12110,14 +12263,6 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
12110
12263
|
before?: boolean;
|
|
12111
12264
|
after?: boolean;
|
|
12112
12265
|
};
|
|
12113
|
-
satisfies?: {
|
|
12114
|
-
before?: boolean;
|
|
12115
|
-
after?: boolean;
|
|
12116
|
-
};
|
|
12117
|
-
set?: {
|
|
12118
|
-
before?: boolean;
|
|
12119
|
-
after?: boolean;
|
|
12120
|
-
};
|
|
12121
12266
|
short?: {
|
|
12122
12267
|
before?: boolean;
|
|
12123
12268
|
after?: boolean;
|
|
@@ -12186,6 +12331,42 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
12186
12331
|
before?: boolean;
|
|
12187
12332
|
after?: boolean;
|
|
12188
12333
|
};
|
|
12334
|
+
as?: {
|
|
12335
|
+
before?: boolean;
|
|
12336
|
+
after?: boolean;
|
|
12337
|
+
};
|
|
12338
|
+
async?: {
|
|
12339
|
+
before?: boolean;
|
|
12340
|
+
after?: boolean;
|
|
12341
|
+
};
|
|
12342
|
+
await?: {
|
|
12343
|
+
before?: boolean;
|
|
12344
|
+
after?: boolean;
|
|
12345
|
+
};
|
|
12346
|
+
from?: {
|
|
12347
|
+
before?: boolean;
|
|
12348
|
+
after?: boolean;
|
|
12349
|
+
};
|
|
12350
|
+
get?: {
|
|
12351
|
+
before?: boolean;
|
|
12352
|
+
after?: boolean;
|
|
12353
|
+
};
|
|
12354
|
+
let?: {
|
|
12355
|
+
before?: boolean;
|
|
12356
|
+
after?: boolean;
|
|
12357
|
+
};
|
|
12358
|
+
of?: {
|
|
12359
|
+
before?: boolean;
|
|
12360
|
+
after?: boolean;
|
|
12361
|
+
};
|
|
12362
|
+
satisfies?: {
|
|
12363
|
+
before?: boolean;
|
|
12364
|
+
after?: boolean;
|
|
12365
|
+
};
|
|
12366
|
+
set?: {
|
|
12367
|
+
before?: boolean;
|
|
12368
|
+
after?: boolean;
|
|
12369
|
+
};
|
|
12189
12370
|
yield?: {
|
|
12190
12371
|
before?: boolean;
|
|
12191
12372
|
after?: boolean;
|
|
@@ -12615,89 +12796,436 @@ type SwitchColonSpacing = [] | [{
|
|
|
12615
12796
|
before?: boolean;
|
|
12616
12797
|
after?: boolean;
|
|
12617
12798
|
}];
|
|
12618
|
-
// ----- tailwindcss/
|
|
12619
|
-
type
|
|
12620
|
-
callees?: string[]
|
|
12621
|
-
|
|
12622
|
-
config?: (string | {
|
|
12799
|
+
// ----- tailwindcss-better/enforce-consistent-variable-syntax -----
|
|
12800
|
+
type TailwindcssBetterEnforceConsistentVariableSyntax = [] | [{
|
|
12801
|
+
callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
12802
|
+
match?: "strings";
|
|
12623
12803
|
[k: string]: unknown | undefined;
|
|
12624
|
-
}
|
|
12625
|
-
|
|
12626
|
-
|
|
12627
|
-
[k: string]: unknown | undefined;
|
|
12628
|
-
}];
|
|
12629
|
-
// ----- tailwindcss/enforces-negative-arbitrary-values -----
|
|
12630
|
-
type TailwindcssEnforcesNegativeArbitraryValues = [] | [{
|
|
12631
|
-
callees?: string[];
|
|
12632
|
-
ignoredKeys?: string[];
|
|
12633
|
-
config?: (string | {
|
|
12804
|
+
} | {
|
|
12805
|
+
match?: "objectKeys";
|
|
12806
|
+
pathPattern?: string;
|
|
12634
12807
|
[k: string]: unknown | undefined;
|
|
12635
|
-
}
|
|
12636
|
-
|
|
12637
|
-
|
|
12638
|
-
}];
|
|
12639
|
-
// ----- tailwindcss/enforces-shorthand -----
|
|
12640
|
-
type TailwindcssEnforcesShorthand = [] | [{
|
|
12641
|
-
callees?: string[];
|
|
12642
|
-
ignoredKeys?: string[];
|
|
12643
|
-
config?: (string | {
|
|
12808
|
+
} | {
|
|
12809
|
+
match?: "objectValues";
|
|
12810
|
+
pathPattern?: string;
|
|
12644
12811
|
[k: string]: unknown | undefined;
|
|
12645
|
-
});
|
|
12646
|
-
|
|
12647
|
-
|
|
12812
|
+
})[]] | string)[];
|
|
12813
|
+
attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
|
|
12814
|
+
match?: "strings";
|
|
12815
|
+
[k: string]: unknown | undefined;
|
|
12816
|
+
} | {
|
|
12817
|
+
match?: "objectKeys";
|
|
12818
|
+
pathPattern?: string;
|
|
12819
|
+
[k: string]: unknown | undefined;
|
|
12820
|
+
} | {
|
|
12821
|
+
match?: "objectValues";
|
|
12822
|
+
pathPattern?: string;
|
|
12823
|
+
[k: string]: unknown | undefined;
|
|
12824
|
+
})[]])[];
|
|
12825
|
+
variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
12826
|
+
match?: "strings";
|
|
12827
|
+
[k: string]: unknown | undefined;
|
|
12828
|
+
} | {
|
|
12829
|
+
match?: "objectKeys";
|
|
12830
|
+
pathPattern?: string;
|
|
12831
|
+
[k: string]: unknown | undefined;
|
|
12832
|
+
} | {
|
|
12833
|
+
match?: "objectValues";
|
|
12834
|
+
pathPattern?: string;
|
|
12835
|
+
[k: string]: unknown | undefined;
|
|
12836
|
+
})[]] | string)[];
|
|
12837
|
+
tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
12838
|
+
match?: "strings";
|
|
12839
|
+
[k: string]: unknown | undefined;
|
|
12840
|
+
} | {
|
|
12841
|
+
match?: "objectKeys";
|
|
12842
|
+
pathPattern?: string;
|
|
12843
|
+
[k: string]: unknown | undefined;
|
|
12844
|
+
} | {
|
|
12845
|
+
match?: "objectValues";
|
|
12846
|
+
pathPattern?: string;
|
|
12847
|
+
[k: string]: unknown | undefined;
|
|
12848
|
+
})[]] | string)[];
|
|
12849
|
+
syntax?: ("arbitrary" | "parentheses");
|
|
12648
12850
|
}];
|
|
12649
|
-
// ----- tailwindcss/
|
|
12650
|
-
type
|
|
12651
|
-
callees?: string[]
|
|
12652
|
-
|
|
12653
|
-
config?: (string | {
|
|
12851
|
+
// ----- tailwindcss-better/multiline -----
|
|
12852
|
+
type TailwindcssBetterMultiline = [] | [{
|
|
12853
|
+
callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
12854
|
+
match?: "strings";
|
|
12654
12855
|
[k: string]: unknown | undefined;
|
|
12655
|
-
}
|
|
12656
|
-
|
|
12657
|
-
|
|
12856
|
+
} | {
|
|
12857
|
+
match?: "objectKeys";
|
|
12858
|
+
pathPattern?: string;
|
|
12859
|
+
[k: string]: unknown | undefined;
|
|
12860
|
+
} | {
|
|
12861
|
+
match?: "objectValues";
|
|
12862
|
+
pathPattern?: string;
|
|
12863
|
+
[k: string]: unknown | undefined;
|
|
12864
|
+
})[]] | string)[];
|
|
12865
|
+
attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
|
|
12866
|
+
match?: "strings";
|
|
12867
|
+
[k: string]: unknown | undefined;
|
|
12868
|
+
} | {
|
|
12869
|
+
match?: "objectKeys";
|
|
12870
|
+
pathPattern?: string;
|
|
12871
|
+
[k: string]: unknown | undefined;
|
|
12872
|
+
} | {
|
|
12873
|
+
match?: "objectValues";
|
|
12874
|
+
pathPattern?: string;
|
|
12875
|
+
[k: string]: unknown | undefined;
|
|
12876
|
+
})[]])[];
|
|
12877
|
+
variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
12878
|
+
match?: "strings";
|
|
12879
|
+
[k: string]: unknown | undefined;
|
|
12880
|
+
} | {
|
|
12881
|
+
match?: "objectKeys";
|
|
12882
|
+
pathPattern?: string;
|
|
12883
|
+
[k: string]: unknown | undefined;
|
|
12884
|
+
} | {
|
|
12885
|
+
match?: "objectValues";
|
|
12886
|
+
pathPattern?: string;
|
|
12887
|
+
[k: string]: unknown | undefined;
|
|
12888
|
+
})[]] | string)[];
|
|
12889
|
+
tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
12890
|
+
match?: "strings";
|
|
12891
|
+
[k: string]: unknown | undefined;
|
|
12892
|
+
} | {
|
|
12893
|
+
match?: "objectKeys";
|
|
12894
|
+
pathPattern?: string;
|
|
12895
|
+
[k: string]: unknown | undefined;
|
|
12896
|
+
} | {
|
|
12897
|
+
match?: "objectValues";
|
|
12898
|
+
pathPattern?: string;
|
|
12899
|
+
[k: string]: unknown | undefined;
|
|
12900
|
+
})[]] | string)[];
|
|
12901
|
+
entryPoint?: string;
|
|
12902
|
+
tailwindConfig?: string;
|
|
12903
|
+
classesPerLine?: number;
|
|
12904
|
+
group?: ("emptyLine" | "never" | "newLine");
|
|
12905
|
+
indent?: ("tab" | number);
|
|
12906
|
+
lineBreakStyle?: ("unix" | "windows");
|
|
12907
|
+
preferSingleLine?: boolean;
|
|
12908
|
+
printWidth?: number;
|
|
12909
|
+
}];
|
|
12910
|
+
// ----- tailwindcss-better/no-conflicting-classes -----
|
|
12911
|
+
type TailwindcssBetterNoConflictingClasses = [] | [{
|
|
12912
|
+
callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
12913
|
+
match?: "strings";
|
|
12914
|
+
[k: string]: unknown | undefined;
|
|
12915
|
+
} | {
|
|
12916
|
+
match?: "objectKeys";
|
|
12917
|
+
pathPattern?: string;
|
|
12918
|
+
[k: string]: unknown | undefined;
|
|
12919
|
+
} | {
|
|
12920
|
+
match?: "objectValues";
|
|
12921
|
+
pathPattern?: string;
|
|
12922
|
+
[k: string]: unknown | undefined;
|
|
12923
|
+
})[]] | string)[];
|
|
12924
|
+
attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
|
|
12925
|
+
match?: "strings";
|
|
12926
|
+
[k: string]: unknown | undefined;
|
|
12927
|
+
} | {
|
|
12928
|
+
match?: "objectKeys";
|
|
12929
|
+
pathPattern?: string;
|
|
12930
|
+
[k: string]: unknown | undefined;
|
|
12931
|
+
} | {
|
|
12932
|
+
match?: "objectValues";
|
|
12933
|
+
pathPattern?: string;
|
|
12934
|
+
[k: string]: unknown | undefined;
|
|
12935
|
+
})[]])[];
|
|
12936
|
+
variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
12937
|
+
match?: "strings";
|
|
12938
|
+
[k: string]: unknown | undefined;
|
|
12939
|
+
} | {
|
|
12940
|
+
match?: "objectKeys";
|
|
12941
|
+
pathPattern?: string;
|
|
12942
|
+
[k: string]: unknown | undefined;
|
|
12943
|
+
} | {
|
|
12944
|
+
match?: "objectValues";
|
|
12945
|
+
pathPattern?: string;
|
|
12946
|
+
[k: string]: unknown | undefined;
|
|
12947
|
+
})[]] | string)[];
|
|
12948
|
+
tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
12949
|
+
match?: "strings";
|
|
12950
|
+
[k: string]: unknown | undefined;
|
|
12951
|
+
} | {
|
|
12952
|
+
match?: "objectKeys";
|
|
12953
|
+
pathPattern?: string;
|
|
12954
|
+
[k: string]: unknown | undefined;
|
|
12955
|
+
} | {
|
|
12956
|
+
match?: "objectValues";
|
|
12957
|
+
pathPattern?: string;
|
|
12958
|
+
[k: string]: unknown | undefined;
|
|
12959
|
+
})[]] | string)[];
|
|
12960
|
+
entryPoint?: string;
|
|
12961
|
+
tailwindConfig?: string;
|
|
12962
|
+
}];
|
|
12963
|
+
// ----- tailwindcss-better/no-duplicate-classes -----
|
|
12964
|
+
type TailwindcssBetterNoDuplicateClasses = [] | [{
|
|
12965
|
+
callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
12966
|
+
match?: "strings";
|
|
12967
|
+
[k: string]: unknown | undefined;
|
|
12968
|
+
} | {
|
|
12969
|
+
match?: "objectKeys";
|
|
12970
|
+
pathPattern?: string;
|
|
12971
|
+
[k: string]: unknown | undefined;
|
|
12972
|
+
} | {
|
|
12973
|
+
match?: "objectValues";
|
|
12974
|
+
pathPattern?: string;
|
|
12975
|
+
[k: string]: unknown | undefined;
|
|
12976
|
+
})[]] | string)[];
|
|
12977
|
+
attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
|
|
12978
|
+
match?: "strings";
|
|
12979
|
+
[k: string]: unknown | undefined;
|
|
12980
|
+
} | {
|
|
12981
|
+
match?: "objectKeys";
|
|
12982
|
+
pathPattern?: string;
|
|
12983
|
+
[k: string]: unknown | undefined;
|
|
12984
|
+
} | {
|
|
12985
|
+
match?: "objectValues";
|
|
12986
|
+
pathPattern?: string;
|
|
12987
|
+
[k: string]: unknown | undefined;
|
|
12988
|
+
})[]])[];
|
|
12989
|
+
variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
12990
|
+
match?: "strings";
|
|
12991
|
+
[k: string]: unknown | undefined;
|
|
12992
|
+
} | {
|
|
12993
|
+
match?: "objectKeys";
|
|
12994
|
+
pathPattern?: string;
|
|
12995
|
+
[k: string]: unknown | undefined;
|
|
12996
|
+
} | {
|
|
12997
|
+
match?: "objectValues";
|
|
12998
|
+
pathPattern?: string;
|
|
12999
|
+
[k: string]: unknown | undefined;
|
|
13000
|
+
})[]] | string)[];
|
|
13001
|
+
tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13002
|
+
match?: "strings";
|
|
13003
|
+
[k: string]: unknown | undefined;
|
|
13004
|
+
} | {
|
|
13005
|
+
match?: "objectKeys";
|
|
13006
|
+
pathPattern?: string;
|
|
13007
|
+
[k: string]: unknown | undefined;
|
|
13008
|
+
} | {
|
|
13009
|
+
match?: "objectValues";
|
|
13010
|
+
pathPattern?: string;
|
|
13011
|
+
[k: string]: unknown | undefined;
|
|
13012
|
+
})[]] | string)[];
|
|
12658
13013
|
}];
|
|
12659
|
-
// ----- tailwindcss/no-
|
|
12660
|
-
type
|
|
12661
|
-
callees?: string[]
|
|
12662
|
-
|
|
12663
|
-
config?: (string | {
|
|
13014
|
+
// ----- tailwindcss-better/no-restricted-classes -----
|
|
13015
|
+
type TailwindcssBetterNoRestrictedClasses = [] | [{
|
|
13016
|
+
callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13017
|
+
match?: "strings";
|
|
12664
13018
|
[k: string]: unknown | undefined;
|
|
12665
|
-
}
|
|
12666
|
-
|
|
12667
|
-
|
|
13019
|
+
} | {
|
|
13020
|
+
match?: "objectKeys";
|
|
13021
|
+
pathPattern?: string;
|
|
13022
|
+
[k: string]: unknown | undefined;
|
|
13023
|
+
} | {
|
|
13024
|
+
match?: "objectValues";
|
|
13025
|
+
pathPattern?: string;
|
|
13026
|
+
[k: string]: unknown | undefined;
|
|
13027
|
+
})[]] | string)[];
|
|
13028
|
+
attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13029
|
+
match?: "strings";
|
|
13030
|
+
[k: string]: unknown | undefined;
|
|
13031
|
+
} | {
|
|
13032
|
+
match?: "objectKeys";
|
|
13033
|
+
pathPattern?: string;
|
|
13034
|
+
[k: string]: unknown | undefined;
|
|
13035
|
+
} | {
|
|
13036
|
+
match?: "objectValues";
|
|
13037
|
+
pathPattern?: string;
|
|
13038
|
+
[k: string]: unknown | undefined;
|
|
13039
|
+
})[]])[];
|
|
13040
|
+
variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13041
|
+
match?: "strings";
|
|
13042
|
+
[k: string]: unknown | undefined;
|
|
13043
|
+
} | {
|
|
13044
|
+
match?: "objectKeys";
|
|
13045
|
+
pathPattern?: string;
|
|
13046
|
+
[k: string]: unknown | undefined;
|
|
13047
|
+
} | {
|
|
13048
|
+
match?: "objectValues";
|
|
13049
|
+
pathPattern?: string;
|
|
13050
|
+
[k: string]: unknown | undefined;
|
|
13051
|
+
})[]] | string)[];
|
|
13052
|
+
tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13053
|
+
match?: "strings";
|
|
13054
|
+
[k: string]: unknown | undefined;
|
|
13055
|
+
} | {
|
|
13056
|
+
match?: "objectKeys";
|
|
13057
|
+
pathPattern?: string;
|
|
13058
|
+
[k: string]: unknown | undefined;
|
|
13059
|
+
} | {
|
|
13060
|
+
match?: "objectValues";
|
|
13061
|
+
pathPattern?: string;
|
|
13062
|
+
[k: string]: unknown | undefined;
|
|
13063
|
+
})[]] | string)[];
|
|
13064
|
+
restrict?: ({
|
|
13065
|
+
message?: string;
|
|
13066
|
+
pattern: string;
|
|
13067
|
+
} | string)[];
|
|
12668
13068
|
}];
|
|
12669
|
-
// ----- tailwindcss/no-
|
|
12670
|
-
type
|
|
12671
|
-
|
|
12672
|
-
|
|
12673
|
-
|
|
13069
|
+
// ----- tailwindcss-better/no-unnecessary-whitespace -----
|
|
13070
|
+
type TailwindcssBetterNoUnnecessaryWhitespace = [] | [{
|
|
13071
|
+
allowMultiline?: boolean;
|
|
13072
|
+
callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13073
|
+
match?: "strings";
|
|
12674
13074
|
[k: string]: unknown | undefined;
|
|
12675
|
-
}
|
|
12676
|
-
|
|
12677
|
-
|
|
13075
|
+
} | {
|
|
13076
|
+
match?: "objectKeys";
|
|
13077
|
+
pathPattern?: string;
|
|
13078
|
+
[k: string]: unknown | undefined;
|
|
13079
|
+
} | {
|
|
13080
|
+
match?: "objectValues";
|
|
13081
|
+
pathPattern?: string;
|
|
13082
|
+
[k: string]: unknown | undefined;
|
|
13083
|
+
})[]] | string)[];
|
|
13084
|
+
attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13085
|
+
match?: "strings";
|
|
13086
|
+
[k: string]: unknown | undefined;
|
|
13087
|
+
} | {
|
|
13088
|
+
match?: "objectKeys";
|
|
13089
|
+
pathPattern?: string;
|
|
13090
|
+
[k: string]: unknown | undefined;
|
|
13091
|
+
} | {
|
|
13092
|
+
match?: "objectValues";
|
|
13093
|
+
pathPattern?: string;
|
|
13094
|
+
[k: string]: unknown | undefined;
|
|
13095
|
+
})[]])[];
|
|
13096
|
+
variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13097
|
+
match?: "strings";
|
|
13098
|
+
[k: string]: unknown | undefined;
|
|
13099
|
+
} | {
|
|
13100
|
+
match?: "objectKeys";
|
|
13101
|
+
pathPattern?: string;
|
|
13102
|
+
[k: string]: unknown | undefined;
|
|
13103
|
+
} | {
|
|
13104
|
+
match?: "objectValues";
|
|
13105
|
+
pathPattern?: string;
|
|
13106
|
+
[k: string]: unknown | undefined;
|
|
13107
|
+
})[]] | string)[];
|
|
13108
|
+
tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13109
|
+
match?: "strings";
|
|
13110
|
+
[k: string]: unknown | undefined;
|
|
13111
|
+
} | {
|
|
13112
|
+
match?: "objectKeys";
|
|
13113
|
+
pathPattern?: string;
|
|
13114
|
+
[k: string]: unknown | undefined;
|
|
13115
|
+
} | {
|
|
13116
|
+
match?: "objectValues";
|
|
13117
|
+
pathPattern?: string;
|
|
13118
|
+
[k: string]: unknown | undefined;
|
|
13119
|
+
})[]] | string)[];
|
|
12678
13120
|
}];
|
|
12679
|
-
// ----- tailwindcss/no-
|
|
12680
|
-
type
|
|
12681
|
-
callees?: string[]
|
|
12682
|
-
|
|
12683
|
-
config?: (string | {
|
|
13121
|
+
// ----- tailwindcss-better/no-unregistered-classes -----
|
|
13122
|
+
type TailwindcssBetterNoUnregisteredClasses = [] | [{
|
|
13123
|
+
callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13124
|
+
match?: "strings";
|
|
12684
13125
|
[k: string]: unknown | undefined;
|
|
12685
|
-
}
|
|
12686
|
-
|
|
12687
|
-
|
|
12688
|
-
|
|
12689
|
-
|
|
12690
|
-
|
|
13126
|
+
} | {
|
|
13127
|
+
match?: "objectKeys";
|
|
13128
|
+
pathPattern?: string;
|
|
13129
|
+
[k: string]: unknown | undefined;
|
|
13130
|
+
} | {
|
|
13131
|
+
match?: "objectValues";
|
|
13132
|
+
pathPattern?: string;
|
|
13133
|
+
[k: string]: unknown | undefined;
|
|
13134
|
+
})[]] | string)[];
|
|
13135
|
+
attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13136
|
+
match?: "strings";
|
|
13137
|
+
[k: string]: unknown | undefined;
|
|
13138
|
+
} | {
|
|
13139
|
+
match?: "objectKeys";
|
|
13140
|
+
pathPattern?: string;
|
|
13141
|
+
[k: string]: unknown | undefined;
|
|
13142
|
+
} | {
|
|
13143
|
+
match?: "objectValues";
|
|
13144
|
+
pathPattern?: string;
|
|
13145
|
+
[k: string]: unknown | undefined;
|
|
13146
|
+
})[]])[];
|
|
13147
|
+
variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13148
|
+
match?: "strings";
|
|
13149
|
+
[k: string]: unknown | undefined;
|
|
13150
|
+
} | {
|
|
13151
|
+
match?: "objectKeys";
|
|
13152
|
+
pathPattern?: string;
|
|
13153
|
+
[k: string]: unknown | undefined;
|
|
13154
|
+
} | {
|
|
13155
|
+
match?: "objectValues";
|
|
13156
|
+
pathPattern?: string;
|
|
13157
|
+
[k: string]: unknown | undefined;
|
|
13158
|
+
})[]] | string)[];
|
|
13159
|
+
tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13160
|
+
match?: "strings";
|
|
13161
|
+
[k: string]: unknown | undefined;
|
|
13162
|
+
} | {
|
|
13163
|
+
match?: "objectKeys";
|
|
13164
|
+
pathPattern?: string;
|
|
13165
|
+
[k: string]: unknown | undefined;
|
|
13166
|
+
} | {
|
|
13167
|
+
match?: "objectValues";
|
|
13168
|
+
pathPattern?: string;
|
|
13169
|
+
[k: string]: unknown | undefined;
|
|
13170
|
+
})[]] | string)[];
|
|
13171
|
+
entryPoint?: string;
|
|
13172
|
+
tailwindConfig?: string;
|
|
13173
|
+
detectComponentClasses?: boolean;
|
|
13174
|
+
ignore?: string[];
|
|
12691
13175
|
}];
|
|
12692
|
-
// ----- tailwindcss/
|
|
12693
|
-
type
|
|
12694
|
-
callees?: string[]
|
|
12695
|
-
|
|
12696
|
-
config?: (string | {
|
|
13176
|
+
// ----- tailwindcss-better/sort-classes -----
|
|
13177
|
+
type TailwindcssBetterSortClasses = [] | [{
|
|
13178
|
+
callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13179
|
+
match?: "strings";
|
|
12697
13180
|
[k: string]: unknown | undefined;
|
|
12698
|
-
}
|
|
12699
|
-
|
|
12700
|
-
|
|
13181
|
+
} | {
|
|
13182
|
+
match?: "objectKeys";
|
|
13183
|
+
pathPattern?: string;
|
|
13184
|
+
[k: string]: unknown | undefined;
|
|
13185
|
+
} | {
|
|
13186
|
+
match?: "objectValues";
|
|
13187
|
+
pathPattern?: string;
|
|
13188
|
+
[k: string]: unknown | undefined;
|
|
13189
|
+
})[]] | string)[];
|
|
13190
|
+
attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13191
|
+
match?: "strings";
|
|
13192
|
+
[k: string]: unknown | undefined;
|
|
13193
|
+
} | {
|
|
13194
|
+
match?: "objectKeys";
|
|
13195
|
+
pathPattern?: string;
|
|
13196
|
+
[k: string]: unknown | undefined;
|
|
13197
|
+
} | {
|
|
13198
|
+
match?: "objectValues";
|
|
13199
|
+
pathPattern?: string;
|
|
13200
|
+
[k: string]: unknown | undefined;
|
|
13201
|
+
})[]])[];
|
|
13202
|
+
variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13203
|
+
match?: "strings";
|
|
13204
|
+
[k: string]: unknown | undefined;
|
|
13205
|
+
} | {
|
|
13206
|
+
match?: "objectKeys";
|
|
13207
|
+
pathPattern?: string;
|
|
13208
|
+
[k: string]: unknown | undefined;
|
|
13209
|
+
} | {
|
|
13210
|
+
match?: "objectValues";
|
|
13211
|
+
pathPattern?: string;
|
|
13212
|
+
[k: string]: unknown | undefined;
|
|
13213
|
+
})[]] | string)[];
|
|
13214
|
+
tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
|
|
13215
|
+
match?: "strings";
|
|
13216
|
+
[k: string]: unknown | undefined;
|
|
13217
|
+
} | {
|
|
13218
|
+
match?: "objectKeys";
|
|
13219
|
+
pathPattern?: string;
|
|
13220
|
+
[k: string]: unknown | undefined;
|
|
13221
|
+
} | {
|
|
13222
|
+
match?: "objectValues";
|
|
13223
|
+
pathPattern?: string;
|
|
13224
|
+
[k: string]: unknown | undefined;
|
|
13225
|
+
})[]] | string)[];
|
|
13226
|
+
entryPoint?: string;
|
|
13227
|
+
tailwindConfig?: string;
|
|
13228
|
+
order?: ("asc" | "desc" | "official" | "improved");
|
|
12701
13229
|
}];
|
|
12702
13230
|
// ----- template-curly-spacing -----
|
|
12703
13231
|
type TemplateCurlySpacing = [] | [("always" | "never")];
|
|
@@ -14870,7 +15398,7 @@ type VueNoRestrictedCustomEvent = (string | {
|
|
|
14870
15398
|
})[];
|
|
14871
15399
|
// ----- vue/no-restricted-html-elements -----
|
|
14872
15400
|
type VueNoRestrictedHtmlElements = (string | {
|
|
14873
|
-
element: string;
|
|
15401
|
+
element: (string | string[]);
|
|
14874
15402
|
message?: string;
|
|
14875
15403
|
})[];
|
|
14876
15404
|
// ----- vue/no-restricted-props -----
|
|
@@ -15393,9 +15921,11 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
15393
15921
|
}];
|
|
15394
15922
|
|
|
15395
15923
|
// Names of all the configs
|
|
15396
|
-
type ConfigNames = "zayne/js-eslint/setup" | "zayne/js-eslint/recommended" | "zayne/js-eslint/rules" | "zayne/unicorn/recommended" | "zayne/unicorn/rules" | "zayne/ts-eslint/setup" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/
|
|
15924
|
+
type ConfigNames = "zayne/js-eslint/setup" | "zayne/js-eslint/recommended" | "zayne/js-eslint/rules" | "zayne/unicorn/recommended" | "zayne/unicorn/rules" | "zayne/ts-eslint/setup" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/strict" | "zayne/ts-eslint/stylistic" | "zayne/ts-eslint/stylistic" | "zayne/ts-eslint/stylistic" | "zayne/ts-eslint/rules" | "zayne/perfectionist/rules" | "zayne/stylistic/rules" | "zayne/import/setup" | "zayne/import/recommended" | "zayne/import/rules" | "zayne/jsdoc/rules" | "zayne/jsonc/setup" | "zayne/jsonc/rules" | "zayne/react/setup" | "zayne/react/setup-processor" | "zayne/react/recommended" | "zayne/react/rules" | "zayne/react/refresh" | "zayne/react/compiler" | "zayne/react/nextjs" | "zayne/node/recommended" | "zayne/node/rules" | "zayne/node/security/recommended" | "zayne/tanstack-query/recommended" | "zayne/tanstack-query/rules" | "zayne/tanstack-router/recommended" | "zayne/tanstack-router/rules" | "zayne/eslint-comments/rules" | "zayne/toml/setup" | "zayne/toml/rules" | "zayne/yaml/setup" | "zayne/yaml/rules" | "zayne/vue/setup" | "zayne/vue/setup/file-processor" | "zayne/vue/recommended" | "zayne/vue/rules" | "zayne/solid/setup" | "zayne/solid/recommended" | "zayne/solid/rules" | "zayne/pnpm/rules/package-json" | "zayne/pnpm/rules/pnpm-workspace-yaml" | "zayne/astro/setup" | "zayne/astro/recommended" | "zayne/astro/rules" | "zayne/depend/recommended" | "zayne/depend/recommended/package-json" | "zayne/tailwindcss-better/setup" | "zayne/tailwindcss-better/recommended" | "zayne/tailwindcss-better/rules";
|
|
15925
|
+
//#endregion
|
|
15397
15926
|
//#region src/types/eslint-config-types/parser-options.d.ts
|
|
15398
15927
|
// Some types copied from `@types/eslint` `Linter.ParserOptions`
|
|
15928
|
+
|
|
15399
15929
|
/**
|
|
15400
15930
|
* Any valid ECMAScript version number or 'latest':
|
|
15401
15931
|
*
|
|
@@ -15489,7 +16019,6 @@ interface ParserOptions$1 extends Linter.ParserOptions {
|
|
|
15489
16019
|
*/
|
|
15490
16020
|
parser?: Parser;
|
|
15491
16021
|
}
|
|
15492
|
-
|
|
15493
16022
|
//#endregion
|
|
15494
16023
|
//#region src/types/eslint-config-types/language-options.d.ts
|
|
15495
16024
|
/**
|
|
@@ -15537,7 +16066,6 @@ interface LanguageOptions extends Linter.LanguageOptions {
|
|
|
15537
16066
|
parserOptions?: ParserOptions$1;
|
|
15538
16067
|
[key: string]: any;
|
|
15539
16068
|
}
|
|
15540
|
-
|
|
15541
16069
|
//#endregion
|
|
15542
16070
|
//#region src/types/eslint-config-types/linter-options.d.ts
|
|
15543
16071
|
/**
|
|
@@ -15558,7 +16086,6 @@ interface LinterOptions extends Linter.LinterOptions {
|
|
|
15558
16086
|
*/
|
|
15559
16087
|
reportUnusedDisableDirectives?: Linter.LinterOptions["reportUnusedDisableDirectives"];
|
|
15560
16088
|
}
|
|
15561
|
-
|
|
15562
16089
|
//#endregion
|
|
15563
16090
|
//#region src/types/eslint-config-types/index.d.ts
|
|
15564
16091
|
/**
|
|
@@ -15622,7 +16149,6 @@ interface FlatESLintConfigItem<TRules extends Linter.Config["rules"] = Linter.Co
|
|
|
15622
16149
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
15623
16150
|
settings?: Record<string, any>;
|
|
15624
16151
|
}
|
|
15625
|
-
|
|
15626
16152
|
//#endregion
|
|
15627
16153
|
//#region src/types/interfaces.d.ts
|
|
15628
16154
|
interface TypedFlatConfigItem extends FlatESLintConfigItem<Partial<Linter.RulesRecord> & Rules> {
|
|
@@ -15744,6 +16270,11 @@ interface OptionsTanstack {
|
|
|
15744
16270
|
* @default false
|
|
15745
16271
|
*/
|
|
15746
16272
|
query?: boolean;
|
|
16273
|
+
/**
|
|
16274
|
+
* Enable tanstack router linting
|
|
16275
|
+
* @default false
|
|
16276
|
+
*/
|
|
16277
|
+
router?: boolean;
|
|
15747
16278
|
}
|
|
15748
16279
|
interface OptionsHasJsx {
|
|
15749
16280
|
jsx?: boolean;
|
|
@@ -15761,6 +16292,30 @@ interface OptionsTailwindCSS {
|
|
|
15761
16292
|
whitelist: string[];
|
|
15762
16293
|
};
|
|
15763
16294
|
}
|
|
16295
|
+
interface OptionsTailwindCSSBetter {
|
|
16296
|
+
settings?: {
|
|
16297
|
+
/**
|
|
16298
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/settings/settings.md#attributes
|
|
16299
|
+
*/
|
|
16300
|
+
attributes?: unknown[];
|
|
16301
|
+
/**
|
|
16302
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/settings/settings.md#callees
|
|
16303
|
+
*/
|
|
16304
|
+
callees?: unknown[];
|
|
16305
|
+
/**
|
|
16306
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/settings/settings.md#entrypoint
|
|
16307
|
+
*/
|
|
16308
|
+
entryPoint?: string;
|
|
16309
|
+
/**
|
|
16310
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/settings/settings.md#tags
|
|
16311
|
+
*/
|
|
16312
|
+
tags?: string[];
|
|
16313
|
+
/**
|
|
16314
|
+
* @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/settings/settings.md#variables
|
|
16315
|
+
*/
|
|
16316
|
+
variables?: string[];
|
|
16317
|
+
};
|
|
16318
|
+
}
|
|
15764
16319
|
interface OptionsRegExp {
|
|
15765
16320
|
/**
|
|
15766
16321
|
* Override rule levels
|
|
@@ -15780,9 +16335,8 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
15780
16335
|
*
|
|
15781
16336
|
* Requires installing:
|
|
15782
16337
|
* - `eslint-plugin-astro`
|
|
16338
|
+
* - `astro-eslint-parser`
|
|
15783
16339
|
*
|
|
15784
|
-
* Requires installing for formatting .astro:
|
|
15785
|
-
* - `prettier-plugin-astro`
|
|
15786
16340
|
* @default false
|
|
15787
16341
|
*/
|
|
15788
16342
|
astro?: (OptionsFiles & OptionsHasTypeScript & OptionsOverrides) | boolean;
|
|
@@ -15914,10 +16468,22 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
15914
16468
|
*/
|
|
15915
16469
|
svelte?: boolean;
|
|
15916
16470
|
/**
|
|
15917
|
-
* Enable TailwindCSS support.
|
|
16471
|
+
* Enable TailwindCSS support via [eslint-plugin-tailwindcss](https://github.com/francoismassart/eslint-plugin-tailwindcss).
|
|
16472
|
+
* @deprecated until eslint-plugin-tailwindcss supports tailwindcss v4
|
|
16473
|
+
*
|
|
16474
|
+
* Requires installing:
|
|
16475
|
+
* - `eslint-plugin-tailwindcss`
|
|
15918
16476
|
* @default false
|
|
15919
16477
|
*/
|
|
15920
16478
|
tailwindcss?: (OptionsOverrides & OptionsTailwindCSS) | boolean;
|
|
16479
|
+
/**
|
|
16480
|
+
* Enable TailwindCSS support via [eslint-plugin-better-tailwindcss](https://github.com/schoero/eslint-plugin-better-tailwindcss).
|
|
16481
|
+
*
|
|
16482
|
+
* Requires installing:
|
|
16483
|
+
* - `eslint-plugin-better-tailwindcss`
|
|
16484
|
+
* @default false
|
|
16485
|
+
*/
|
|
16486
|
+
tailwindcssBetter?: (OptionsOverrides & OptionsTailwindCSSBetter) | boolean;
|
|
15921
16487
|
/**
|
|
15922
16488
|
* Enable TanStack Query support.
|
|
15923
16489
|
*
|
|
@@ -15970,66 +16536,51 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
15970
16536
|
*/
|
|
15971
16537
|
yaml?: (OptionsFiles & OptionsOverrides & OptionsStylistic) | boolean;
|
|
15972
16538
|
}
|
|
15973
|
-
|
|
15974
16539
|
//#endregion
|
|
15975
16540
|
//#region src/types/utils.d.ts
|
|
15976
16541
|
type Awaitable<T> = Promise<T> | T;
|
|
15977
16542
|
type ExtractOptions<TUnion> = Extract<TUnion, object>;
|
|
15978
16543
|
type Prettify<TObject> = NonNullable<unknown> & { [Key in keyof TObject]: TObject[Key] };
|
|
15979
|
-
|
|
15980
16544
|
//#endregion
|
|
15981
16545
|
//#region src/configs/astro.d.ts
|
|
15982
16546
|
declare const astro: (options?: ExtractOptions<OptionsConfig["astro"]>) => Promise<TypedFlatConfigItem[]>;
|
|
15983
|
-
|
|
15984
16547
|
//#endregion
|
|
15985
16548
|
//#region src/configs/comments.d.ts
|
|
15986
16549
|
declare const comments: (options?: ExtractOptions<OptionsConfig["comments"]>) => Promise<TypedFlatConfigItem[]>;
|
|
15987
|
-
|
|
15988
16550
|
//#endregion
|
|
15989
16551
|
//#region src/configs/depend.d.ts
|
|
15990
16552
|
declare const depend: (options?: ExtractOptions<OptionsConfig["depend"]>) => Promise<TypedFlatConfigItem[]>;
|
|
15991
|
-
|
|
15992
16553
|
//#endregion
|
|
15993
16554
|
//#region src/configs/ignores.d.ts
|
|
15994
16555
|
declare const ignores: (userIgnores?: string[]) => TypedFlatConfigItem[];
|
|
15995
16556
|
declare const gitIgnores: (options?: ExtractOptions<OptionsConfig["gitignore"]>) => Promise<TypedFlatConfigItem[]>;
|
|
15996
|
-
|
|
15997
16557
|
//#endregion
|
|
15998
16558
|
//#region src/configs/imports.d.ts
|
|
15999
16559
|
declare const imports: (options?: ExtractOptions<OptionsConfig["imports"]>) => Promise<TypedFlatConfigItem[]>;
|
|
16000
|
-
|
|
16001
16560
|
//#endregion
|
|
16002
16561
|
//#region src/configs/javascript.d.ts
|
|
16003
16562
|
declare const javascript: (options?: ExtractOptions<OptionsConfig["javascript"]>) => Promise<TypedFlatConfigItem[]>;
|
|
16004
|
-
|
|
16005
16563
|
//#endregion
|
|
16006
16564
|
//#region src/configs/jsdoc.d.ts
|
|
16007
16565
|
declare const jsdoc: (options?: ExtractOptions<OptionsConfig["jsdoc"]>) => Promise<TypedFlatConfigItem[]>;
|
|
16008
|
-
|
|
16009
16566
|
//#endregion
|
|
16010
16567
|
//#region src/configs/jsonc.d.ts
|
|
16011
16568
|
declare const jsonc: (options?: ExtractOptions<OptionsConfig["jsonc"]>) => Promise<TypedFlatConfigItem[]>;
|
|
16012
|
-
|
|
16013
16569
|
//#endregion
|
|
16014
16570
|
//#region src/configs/node.d.ts
|
|
16015
16571
|
declare const node: (options?: ExtractOptions<OptionsConfig["node"]>) => Promise<TypedFlatConfigItem[]>;
|
|
16016
|
-
|
|
16017
16572
|
//#endregion
|
|
16018
16573
|
//#region src/configs/perfectionist.d.ts
|
|
16019
16574
|
declare const perfectionist: (options?: ExtractOptions<OptionsConfig["perfectionist"]>) => Promise<TypedFlatConfigItem[]>;
|
|
16020
|
-
|
|
16021
16575
|
//#endregion
|
|
16022
16576
|
//#region src/configs/pnpm.d.ts
|
|
16023
16577
|
declare function pnpm(options?: ExtractOptions<OptionsConfig["pnpm"]>): Promise<TypedFlatConfigItem[]>;
|
|
16024
|
-
|
|
16025
16578
|
//#endregion
|
|
16026
16579
|
//#region src/configs/react.d.ts
|
|
16027
16580
|
declare const react: (options?: ExtractOptions<OptionsConfig["react"]>) => Promise<TypedFlatConfigItem[]>;
|
|
16028
|
-
|
|
16029
16581
|
//#endregion
|
|
16030
16582
|
//#region src/configs/solid.d.ts
|
|
16031
16583
|
declare const solid: (options?: ExtractOptions<OptionsConfig["solid"]>) => Promise<TypedFlatConfigItem[]>;
|
|
16032
|
-
|
|
16033
16584
|
//#endregion
|
|
16034
16585
|
//#region src/configs/sort.d.ts
|
|
16035
16586
|
/**
|
|
@@ -16044,39 +16595,34 @@ declare const sortPackageJson: () => TypedFlatConfigItem[];
|
|
|
16044
16595
|
* Requires `jsonc` config
|
|
16045
16596
|
*/
|
|
16046
16597
|
declare const sortTsconfig: () => TypedFlatConfigItem[];
|
|
16047
|
-
|
|
16048
16598
|
//#endregion
|
|
16049
16599
|
//#region src/configs/stylistic.d.ts
|
|
16050
16600
|
declare const stylistic: (options?: ExtractOptions<OptionsConfig["stylistic"]>) => Promise<TypedFlatConfigItem[]>;
|
|
16051
|
-
|
|
16052
16601
|
//#endregion
|
|
16053
16602
|
//#region src/configs/tailwindcss.d.ts
|
|
16054
|
-
declare const
|
|
16055
|
-
|
|
16603
|
+
declare const tailwindcssBetter: (options?: ExtractOptions<OptionsConfig["tailwindcssBetter"]>) => Promise<TypedFlatConfigItem[]>;
|
|
16604
|
+
/**
|
|
16605
|
+
* @description tailwindcss v4 is not supported yet
|
|
16606
|
+
* @deprecated until eslint-plugin-tailwindcss supports tailwindcss v4
|
|
16607
|
+
*/
|
|
16056
16608
|
//#endregion
|
|
16057
16609
|
//#region src/configs/tanstack.d.ts
|
|
16058
16610
|
declare const tanstack: (options?: ExtractOptions<OptionsConfig["tanstack"]>) => Promise<TypedFlatConfigItem[]>;
|
|
16059
|
-
|
|
16060
16611
|
//#endregion
|
|
16061
16612
|
//#region src/configs/toml.d.ts
|
|
16062
16613
|
declare const toml: (options?: ExtractOptions<OptionsConfig["toml"]>) => Promise<TypedFlatConfigItem[]>;
|
|
16063
|
-
|
|
16064
16614
|
//#endregion
|
|
16065
16615
|
//#region src/configs/typescript.d.ts
|
|
16066
16616
|
declare const typescript: (options?: ExtractOptions<OptionsConfig["typescript"]> & OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes) => Promise<TypedFlatConfigItem[]>;
|
|
16067
|
-
|
|
16068
16617
|
//#endregion
|
|
16069
16618
|
//#region src/configs/unicorn.d.ts
|
|
16070
16619
|
declare const unicorn: (options?: ExtractOptions<OptionsConfig["unicorn"]>) => Promise<TypedFlatConfigItem[]>;
|
|
16071
|
-
|
|
16072
16620
|
//#endregion
|
|
16073
16621
|
//#region src/configs/vue.d.ts
|
|
16074
16622
|
declare const vue: (options?: ExtractOptions<OptionsConfig["vue"]>) => Promise<TypedFlatConfigItem[]>;
|
|
16075
|
-
|
|
16076
16623
|
//#endregion
|
|
16077
16624
|
//#region src/configs/yaml.d.ts
|
|
16078
16625
|
declare const yaml: (options?: ExtractOptions<OptionsConfig["yaml"]>) => Promise<TypedFlatConfigItem[]>;
|
|
16079
|
-
|
|
16080
16626
|
//#endregion
|
|
16081
16627
|
//#region src/factory.d.ts
|
|
16082
16628
|
/**
|
|
@@ -16089,7 +16635,6 @@ declare const yaml: (options?: ExtractOptions<OptionsConfig["yaml"]>) => Promise
|
|
|
16089
16635
|
* The merged ESLint configurations.
|
|
16090
16636
|
*/
|
|
16091
16637
|
declare const zayne: (options?: OptionsConfig & Prettify<Pick<TypedFlatConfigItem, "ignores">>, ...userConfigs: Array<Awaitable<FlatConfigComposer | Linter.Config[] | TypedFlatConfigItem | TypedFlatConfigItem[]>>) => FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
16092
|
-
|
|
16093
16638
|
//#endregion
|
|
16094
16639
|
//#region src/globs.d.ts
|
|
16095
16640
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
@@ -16119,10 +16664,13 @@ declare const GLOB_ASTRO = "**/*.astro";
|
|
|
16119
16664
|
declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
|
|
16120
16665
|
declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
|
|
16121
16666
|
declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
|
|
16122
|
-
declare const GLOB_TESTS:
|
|
16667
|
+
declare const GLOB_TESTS: ["**/__tests__/**/*.?([cm])[jt]s?(x)", "**/*.spec.?([cm])[jt]s?(x)", "**/*.test.?([cm])[jt]s?(x)", "**/*.bench.?([cm])[jt]s?(x)", "**/*.benchmark.?([cm])[jt]s?(x)"] & {
|
|
16668
|
+
"~inferredUnion": "**/__tests__/**/*.?([cm])[jt]s?(x)" | "**/*.spec.?([cm])[jt]s?(x)" | "**/*.test.?([cm])[jt]s?(x)" | "**/*.bench.?([cm])[jt]s?(x)" | "**/*.benchmark.?([cm])[jt]s?(x)";
|
|
16669
|
+
};
|
|
16123
16670
|
declare const GLOB_ALL_SRC: string[];
|
|
16124
|
-
declare const GLOB_EXCLUDE:
|
|
16125
|
-
|
|
16671
|
+
declare const GLOB_EXCLUDE: ["**/node_modules", "**/dist", "**/package-lock.json", "**/yarn.lock", "**/pnpm-lock.yaml", "**/bun.lockb", "**/output", "**/coverage", "**/temp", "**/.temp", "**/tmp", "**/.tmp", "**/.history", "**/.vitepress/cache", "**/.nuxt", "**/.next", "**/.svelte-kit", "**/.vercel", "**/.changeset", "**/.idea", "**/.cache", "**/.output", "**/.vite-inspect", "**/.yarn", "**/vite.config.*.timestamp-*", "**/CHANGELOG*.md", "**/*.min.*", "**/LICENSE*", "**/__snapshots__", "**/auto-import?(s).d.ts", "**/components.d.ts"] & {
|
|
16672
|
+
"~inferredUnion": "**/node_modules" | "**/dist" | "**/package-lock.json" | "**/yarn.lock" | "**/pnpm-lock.yaml" | "**/bun.lockb" | "**/output" | "**/coverage" | "**/temp" | "**/.temp" | "**/tmp" | "**/.tmp" | "**/.history" | "**/.vitepress/cache" | "**/.nuxt" | "**/.next" | "**/.svelte-kit" | "**/.vercel" | "**/.changeset" | "**/.idea" | "**/.cache" | "**/.output" | "**/.vite-inspect" | "**/.yarn" | "**/vite.config.*.timestamp-*" | "**/CHANGELOG*.md" | "**/*.min.*" | "**/LICENSE*" | "**/__snapshots__" | "**/auto-import?(s).d.ts" | "**/components.d.ts";
|
|
16673
|
+
};
|
|
16126
16674
|
//#endregion
|
|
16127
16675
|
//#region src/utils.d.ts
|
|
16128
16676
|
declare const isObject: <TObject extends Record<string, unknown>>(value: unknown) => value is TObject;
|
|
@@ -16184,7 +16732,6 @@ declare const isPackageInScope: (name: string) => boolean;
|
|
|
16184
16732
|
*/
|
|
16185
16733
|
declare const ensurePackages: (packages: Array<string | undefined>) => Promise<void>;
|
|
16186
16734
|
declare const resolveOptions: <TObject>(option: boolean | TObject | undefined) => TObject;
|
|
16187
|
-
|
|
16188
16735
|
//#endregion
|
|
16189
|
-
export { Awaitable, ConfigNames, ExtractOptions, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, 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_STYLES, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsAppType, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsHasJsx, OptionsHasTypeScript, OptionsNode, OptionsOverrides, OptionsReact, OptionsRegExp, OptionsStylistic, OptionsTailwindCSS, OptionsTanstack, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsVue, Prettify, Rules, TypedFlatConfigItem, astro, combine, comments, depend, ensurePackages, gitIgnores, ignores, imports, interopDefault, isObject, isPackageInScope, javascript, jsdoc, jsonc, node, perfectionist, pnpm, react, renamePluginInConfigs, renamePlugins, renameRules, resolveOptions, solid, sortPackageJson, sortTsconfig, stylistic,
|
|
16736
|
+
export { Awaitable, ConfigNames, ExtractOptions, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, 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_STYLES, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsAppType, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsHasJsx, OptionsHasTypeScript, OptionsNode, OptionsOverrides, OptionsReact, OptionsRegExp, OptionsStylistic, OptionsTailwindCSS, OptionsTailwindCSSBetter, OptionsTanstack, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsVue, Prettify, Rules, TypedFlatConfigItem, astro, combine, comments, depend, ensurePackages, gitIgnores, ignores, imports, interopDefault, isObject, isPackageInScope, javascript, jsdoc, jsonc, node, perfectionist, pnpm, react, renamePluginInConfigs, renamePlugins, renameRules, resolveOptions, solid, sortPackageJson, sortTsconfig, stylistic, tailwindcssBetter, tanstack, toml, typescript, unicorn, vue, yaml, zayne };
|
|
16190
16737
|
//# sourceMappingURL=index.d.ts.map
|