@kitschpatrol/eslint-config 5.4.1 → 5.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -783,233 +783,233 @@ interface RuleOptions {
783
783
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
784
784
  /**
785
785
  * Enforce or ban the use of inline type-only markers for named imports.
786
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/consistent-type-specifier-style.md
786
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/consistent-type-specifier-style.md
787
787
  */
788
788
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
789
789
  /**
790
790
  * Ensure a default export is present, given a default import.
791
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/default.md
791
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/default.md
792
792
  */
793
793
  'import/default'?: Linter.RuleEntry<[]>
794
794
  /**
795
795
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
796
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/dynamic-import-chunkname.md
796
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/dynamic-import-chunkname.md
797
797
  */
798
798
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
799
799
  /**
800
800
  * Forbid any invalid exports, i.e. re-export of the same name.
801
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/export.md
801
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/export.md
802
802
  */
803
803
  'import/export'?: Linter.RuleEntry<[]>
804
804
  /**
805
805
  * Ensure all exports appear after other statements.
806
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/exports-last.md
806
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/exports-last.md
807
807
  */
808
808
  'import/exports-last'?: Linter.RuleEntry<[]>
809
809
  /**
810
810
  * Ensure consistent use of file extension within the import path.
811
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/extensions.md
811
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/extensions.md
812
812
  */
813
813
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
814
814
  /**
815
815
  * Ensure all imports appear before other statements.
816
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/first.md
816
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/first.md
817
817
  */
818
818
  'import/first'?: Linter.RuleEntry<ImportFirst>
819
819
  /**
820
820
  * Prefer named exports to be grouped together in a single export declaration.
821
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/group-exports.md
821
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/group-exports.md
822
822
  */
823
823
  'import/group-exports'?: Linter.RuleEntry<[]>
824
824
  /**
825
825
  * Replaced by `import-x/first`.
826
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/imports-first.md
826
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/imports-first.md
827
827
  * @deprecated
828
828
  */
829
829
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
830
830
  /**
831
831
  * Enforce the maximum number of dependencies a module can have.
832
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/max-dependencies.md
832
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/max-dependencies.md
833
833
  */
834
834
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
835
835
  /**
836
836
  * Ensure named imports correspond to a named export in the remote file.
837
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/named.md
837
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/named.md
838
838
  */
839
839
  'import/named'?: Linter.RuleEntry<ImportNamed>
840
840
  /**
841
841
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
842
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/namespace.md
842
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/namespace.md
843
843
  */
844
844
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
845
845
  /**
846
846
  * Enforce a newline after import statements.
847
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/newline-after-import.md
847
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/newline-after-import.md
848
848
  */
849
849
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
850
850
  /**
851
851
  * Forbid import of modules using absolute paths.
852
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-absolute-path.md
852
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-absolute-path.md
853
853
  */
854
854
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
855
855
  /**
856
856
  * Forbid AMD `require` and `define` calls.
857
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-amd.md
857
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-amd.md
858
858
  */
859
859
  'import/no-amd'?: Linter.RuleEntry<[]>
860
860
  /**
861
861
  * Forbid anonymous values as default exports.
862
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-anonymous-default-export.md
862
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-anonymous-default-export.md
863
863
  */
864
864
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
865
865
  /**
866
866
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
867
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-commonjs.md
867
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-commonjs.md
868
868
  */
869
869
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
870
870
  /**
871
871
  * Forbid a module from importing a module with a dependency path back to itself.
872
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-cycle.md
872
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-cycle.md
873
873
  */
874
874
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
875
875
  /**
876
876
  * Forbid default exports.
877
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-default-export.md
877
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-default-export.md
878
878
  */
879
879
  'import/no-default-export'?: Linter.RuleEntry<[]>
880
880
  /**
881
881
  * Forbid imported names marked with `@deprecated` documentation tag.
882
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-deprecated.md
882
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-deprecated.md
883
883
  */
884
884
  'import/no-deprecated'?: Linter.RuleEntry<[]>
885
885
  /**
886
886
  * Forbid repeated import of the same module in multiple places.
887
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-duplicates.md
887
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-duplicates.md
888
888
  */
889
889
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
890
890
  /**
891
891
  * Forbid `require()` calls with expressions.
892
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-dynamic-require.md
892
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-dynamic-require.md
893
893
  */
894
894
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
895
895
  /**
896
896
  * Forbid empty named import blocks.
897
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-empty-named-blocks.md
897
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-empty-named-blocks.md
898
898
  */
899
899
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
900
900
  /**
901
901
  * Forbid the use of extraneous packages.
902
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-extraneous-dependencies.md
902
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-extraneous-dependencies.md
903
903
  */
904
904
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
905
905
  /**
906
906
  * Forbid import statements with CommonJS module.exports.
907
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-import-module-exports.md
907
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-import-module-exports.md
908
908
  */
909
909
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
910
910
  /**
911
911
  * Forbid importing the submodules of other modules.
912
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-internal-modules.md
912
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-internal-modules.md
913
913
  */
914
914
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
915
915
  /**
916
916
  * Forbid the use of mutable exports with `var` or `let`.
917
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-mutable-exports.md
917
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-mutable-exports.md
918
918
  */
919
919
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
920
920
  /**
921
921
  * Forbid use of exported name as identifier of default export.
922
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-as-default.md
922
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-named-as-default.md
923
923
  */
924
924
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
925
925
  /**
926
926
  * Forbid use of exported name as property of default export.
927
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-as-default-member.md
927
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-named-as-default-member.md
928
928
  */
929
929
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
930
930
  /**
931
931
  * Forbid named default exports.
932
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-default.md
932
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-named-default.md
933
933
  */
934
934
  'import/no-named-default'?: Linter.RuleEntry<[]>
935
935
  /**
936
936
  * Forbid named exports.
937
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-export.md
937
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-named-export.md
938
938
  */
939
939
  'import/no-named-export'?: Linter.RuleEntry<[]>
940
940
  /**
941
941
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
942
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-namespace.md
942
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-namespace.md
943
943
  */
944
944
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
945
945
  /**
946
946
  * Forbid Node.js builtin modules.
947
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-nodejs-modules.md
947
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-nodejs-modules.md
948
948
  */
949
949
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
950
950
  /**
951
951
  * Forbid importing packages through relative paths.
952
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-relative-packages.md
952
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-relative-packages.md
953
953
  */
954
954
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
955
955
  /**
956
956
  * Forbid importing modules from parent directories.
957
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-relative-parent-imports.md
957
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-relative-parent-imports.md
958
958
  */
959
959
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
960
960
  /**
961
961
  * Forbid importing a default export by a different name.
962
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-rename-default.md
962
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-rename-default.md
963
963
  */
964
964
  'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
965
965
  /**
966
966
  * Enforce which files can be imported in a given folder.
967
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-restricted-paths.md
967
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-restricted-paths.md
968
968
  */
969
969
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
970
970
  /**
971
971
  * Forbid a module from importing itself.
972
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-self-import.md
972
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-self-import.md
973
973
  */
974
974
  'import/no-self-import'?: Linter.RuleEntry<[]>
975
975
  /**
976
976
  * Forbid unassigned imports.
977
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-unassigned-import.md
977
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-unassigned-import.md
978
978
  */
979
979
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
980
980
  /**
981
981
  * Ensure imports point to a file/module that can be resolved.
982
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-unresolved.md
982
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-unresolved.md
983
983
  */
984
984
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
985
985
  /**
986
986
  * Forbid modules without exports, or exports without matching import in another module.
987
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-unused-modules.md
987
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-unused-modules.md
988
988
  */
989
989
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
990
990
  /**
991
991
  * Forbid unnecessary path segments in import and require statements.
992
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-useless-path-segments.md
992
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-useless-path-segments.md
993
993
  */
994
994
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
995
995
  /**
996
996
  * Forbid webpack loader syntax in imports.
997
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-webpack-loader-syntax.md
997
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-webpack-loader-syntax.md
998
998
  */
999
999
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
1000
1000
  /**
1001
1001
  * Enforce a convention in module import order.
1002
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/order.md
1002
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/order.md
1003
1003
  */
1004
1004
  'import/order'?: Linter.RuleEntry<ImportOrder>
1005
1005
  /**
1006
1006
  * Prefer a default export if module exports a single name or multiple names.
1007
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/prefer-default-export.md
1007
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/prefer-default-export.md
1008
1008
  */
1009
1009
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
1010
1010
  /**
1011
1011
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
1012
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/unambiguous.md
1012
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/unambiguous.md
1013
1013
  */
1014
1014
  'import/unambiguous'?: Linter.RuleEntry<[]>
1015
1015
  /**
@@ -1568,7 +1568,7 @@ interface RuleOptions {
1568
1568
  * disallow unnecessary escape usage
1569
1569
  * @see https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-useless-escape.html
1570
1570
  */
1571
- 'json/no-useless-escape'?: Linter.RuleEntry<[]>
1571
+ 'json/no-useless-escape'?: Linter.RuleEntry<JsonNoUselessEscape>
1572
1572
  /**
1573
1573
  * enforce consistent line breaks inside braces
1574
1574
  * @see https://ota-meshi.github.io/eslint-plugin-jsonc/rules/object-curly-newline.html
@@ -2602,6 +2602,11 @@ interface RuleOptions {
2602
2602
  * @deprecated
2603
2603
  */
2604
2604
  'no-trailing-spaces'?: Linter.RuleEntry<NoTrailingSpaces>
2605
+ /**
2606
+ * Disallow `let` or `var` variables that are read but never assigned
2607
+ * @see https://eslint.org/docs/latest/rules/no-unassigned-vars
2608
+ */
2609
+ 'no-unassigned-vars'?: Linter.RuleEntry<[]>
2605
2610
  /**
2606
2611
  * Disallow the use of undeclared variables unless mentioned in `/*global *\/` comments
2607
2612
  * @see https://eslint.org/docs/latest/rules/no-undef
@@ -2726,7 +2731,7 @@ interface RuleOptions {
2726
2731
  * Disallow unnecessary escape characters
2727
2732
  * @see https://eslint.org/docs/latest/rules/no-useless-escape
2728
2733
  */
2729
- 'no-useless-escape'?: Linter.RuleEntry<[]>
2734
+ 'no-useless-escape'?: Linter.RuleEntry<NoUselessEscape>
2730
2735
  /**
2731
2736
  * Disallow renaming import, export, and destructured assignments to the same name
2732
2737
  * @see https://eslint.org/docs/latest/rules/no-useless-rename
@@ -4337,6 +4342,11 @@ interface RuleOptions {
4337
4342
  * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/mustache-spacing/
4338
4343
  */
4339
4344
  'svelte/mustache-spacing'?: Linter.RuleEntry<SvelteMustacheSpacing>
4345
+ /**
4346
+ * Warns against the use of `addEventListener`
4347
+ * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-add-event-listener/
4348
+ */
4349
+ 'svelte/no-add-event-listener'?: Linter.RuleEntry<[]>
4340
4350
  /**
4341
4351
  * disallow the use of `{@debug}`
4342
4352
  * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-at-debug-tags/
@@ -4484,6 +4494,11 @@ interface RuleOptions {
4484
4494
  * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-target-blank/
4485
4495
  */
4486
4496
  'svelte/no-target-blank'?: Linter.RuleEntry<SvelteNoTargetBlank>
4497
+ /**
4498
+ * disallow using top-level browser global variables
4499
+ * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-top-level-browser-globals/
4500
+ */
4501
+ 'svelte/no-top-level-browser-globals'?: Linter.RuleEntry<[]>
4487
4502
  /**
4488
4503
  * disallow trailing whitespace at the end of lines
4489
4504
  * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-trailing-spaces/
@@ -4544,6 +4559,11 @@ interface RuleOptions {
4544
4559
  * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-style-directive/
4545
4560
  */
4546
4561
  'svelte/prefer-style-directive'?: Linter.RuleEntry<[]>
4562
+ /**
4563
+ * Prefer using writable $derived instead of $state and $effect
4564
+ * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-writable-derived/
4565
+ */
4566
+ 'svelte/prefer-writable-derived'?: Linter.RuleEntry<[]>
4547
4567
  /**
4548
4568
  * require keyed `{#each}` block
4549
4569
  * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/require-each-key/
@@ -4554,6 +4574,11 @@ interface RuleOptions {
4554
4574
  * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/require-event-dispatcher-types/
4555
4575
  */
4556
4576
  'svelte/require-event-dispatcher-types'?: Linter.RuleEntry<[]>
4577
+ /**
4578
+ * require component event names to start with "on"
4579
+ * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/require-event-prefix/
4580
+ */
4581
+ 'svelte/require-event-prefix'?: Linter.RuleEntry<SvelteRequireEventPrefix>
4557
4582
  /**
4558
4583
  * require style attributes that can be optimized
4559
4584
  * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/require-optimized-style-attribute/
@@ -7639,6 +7664,14 @@ type ImportExtensions =
7639
7664
  }
7640
7665
  ignorePackages?: boolean
7641
7666
  checkTypeImports?: boolean
7667
+ pathGroupOverrides?: {
7668
+ pattern: string
7669
+ patternOptions?: {
7670
+ [k: string]: unknown | undefined
7671
+ }
7672
+ action: 'enforce' | 'ignore'
7673
+ }[]
7674
+ fix?: boolean
7642
7675
  [k: string]: unknown | undefined
7643
7676
  },
7644
7677
  ]
@@ -7650,6 +7683,14 @@ type ImportExtensions =
7650
7683
  }
7651
7684
  ignorePackages?: boolean
7652
7685
  checkTypeImports?: boolean
7686
+ pathGroupOverrides?: {
7687
+ pattern: string
7688
+ patternOptions?: {
7689
+ [k: string]: unknown | undefined
7690
+ }
7691
+ action: 'enforce' | 'ignore'
7692
+ }[]
7693
+ fix?: boolean
7653
7694
  [k: string]: unknown | undefined
7654
7695
  },
7655
7696
  ]
@@ -9057,6 +9098,14 @@ type JsonNoIrregularWhitespace =
9057
9098
  skipJSXText?: boolean
9058
9099
  },
9059
9100
  ]
9101
+ // ----- json/no-useless-escape -----
9102
+ type JsonNoUselessEscape =
9103
+ | []
9104
+ | [
9105
+ {
9106
+ allowRegexCharacters?: string[]
9107
+ },
9108
+ ]
9060
9109
  // ----- json/object-curly-newline -----
9061
9110
  type JsonObjectCurlyNewline =
9062
9111
  | []
@@ -10269,6 +10318,8 @@ type MaxParams =
10269
10318
  | {
10270
10319
  maximum?: number
10271
10320
  max?: number
10321
+
10322
+ countVoidThis?: boolean
10272
10323
  },
10273
10324
  ]
10274
10325
  // ----- max-statements -----
@@ -11064,6 +11115,14 @@ type NoUselessComputedKey =
11064
11115
  enforceForClassMembers?: boolean
11065
11116
  },
11066
11117
  ]
11118
+ // ----- no-useless-escape -----
11119
+ type NoUselessEscape =
11120
+ | []
11121
+ | [
11122
+ {
11123
+ allowRegexCharacters?: string[]
11124
+ },
11125
+ ]
11067
11126
  // ----- no-useless-rename -----
11068
11127
  type NoUselessRename =
11069
11128
  | []
@@ -14297,7 +14356,6 @@ type PerfectionistSortArrayIncludes = {
14297
14356
  order?: 'asc' | 'desc'
14298
14357
 
14299
14358
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14300
- [k: string]: unknown | undefined
14301
14359
  }
14302
14360
 
14303
14361
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -14322,10 +14380,9 @@ type PerfectionistSortArrayIncludes = {
14322
14380
  order?: 'asc' | 'desc'
14323
14381
 
14324
14382
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14325
- [k: string]: unknown | undefined
14326
14383
  }
14327
14384
 
14328
- groupName?: string
14385
+ groupName: string
14329
14386
 
14330
14387
  order?: 'asc' | 'desc'
14331
14388
 
@@ -14336,14 +14393,16 @@ type PerfectionistSortArrayIncludes = {
14336
14393
  elementNamePattern?:
14337
14394
  | (
14338
14395
  | {
14339
- pattern?: string
14396
+ pattern: string
14397
+
14340
14398
  flags?: string
14341
14399
  }
14342
14400
  | string
14343
14401
  )[]
14344
14402
  | (
14345
14403
  | {
14346
- pattern?: string
14404
+ pattern: string
14405
+
14347
14406
  flags?: string
14348
14407
  }
14349
14408
  | string
@@ -14357,10 +14416,9 @@ type PerfectionistSortArrayIncludes = {
14357
14416
  order?: 'asc' | 'desc'
14358
14417
 
14359
14418
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14360
- [k: string]: unknown | undefined
14361
14419
  }
14362
14420
 
14363
- groupName?: string
14421
+ groupName: string
14364
14422
 
14365
14423
  order?: 'asc' | 'desc'
14366
14424
 
@@ -14371,32 +14429,37 @@ type PerfectionistSortArrayIncludes = {
14371
14429
  elementNamePattern?:
14372
14430
  | (
14373
14431
  | {
14374
- pattern?: string
14432
+ pattern: string
14433
+
14375
14434
  flags?: string
14376
14435
  }
14377
14436
  | string
14378
14437
  )[]
14379
14438
  | (
14380
14439
  | {
14381
- pattern?: string
14440
+ pattern: string
14441
+
14382
14442
  flags?: string
14383
14443
  }
14384
14444
  | string
14385
14445
  )
14386
14446
  }
14387
14447
  )[]
14448
+
14388
14449
  useConfigurationIf?: {
14389
14450
  allNamesMatchPattern?:
14390
14451
  | (
14391
14452
  | {
14392
- pattern?: string
14453
+ pattern: string
14454
+
14393
14455
  flags?: string
14394
14456
  }
14395
14457
  | string
14396
14458
  )[]
14397
14459
  | (
14398
14460
  | {
14399
- pattern?: string
14461
+ pattern: string
14462
+
14400
14463
  flags?: string
14401
14464
  }
14402
14465
  | string
@@ -14408,14 +14471,16 @@ type PerfectionistSortArrayIncludes = {
14408
14471
  | (
14409
14472
  | (
14410
14473
  | {
14411
- pattern?: string
14474
+ pattern: string
14475
+
14412
14476
  flags?: string
14413
14477
  }
14414
14478
  | string
14415
14479
  )[]
14416
14480
  | (
14417
14481
  | {
14418
- pattern?: string
14482
+ pattern: string
14483
+
14419
14484
  flags?: string
14420
14485
  }
14421
14486
  | string
@@ -14427,32 +14492,37 @@ type PerfectionistSortArrayIncludes = {
14427
14492
  | (
14428
14493
  | (
14429
14494
  | {
14430
- pattern?: string
14495
+ pattern: string
14496
+
14431
14497
  flags?: string
14432
14498
  }
14433
14499
  | string
14434
14500
  )[]
14435
14501
  | (
14436
14502
  | {
14437
- pattern?: string
14503
+ pattern: string
14504
+
14438
14505
  flags?: string
14439
14506
  }
14440
14507
  | string
14441
14508
  )
14442
14509
  )
14510
+
14443
14511
  line?:
14444
14512
  | boolean
14445
14513
  | (
14446
14514
  | (
14447
14515
  | {
14448
- pattern?: string
14516
+ pattern: string
14517
+
14449
14518
  flags?: string
14450
14519
  }
14451
14520
  | string
14452
14521
  )[]
14453
14522
  | (
14454
14523
  | {
14455
- pattern?: string
14524
+ pattern: string
14525
+
14456
14526
  flags?: string
14457
14527
  }
14458
14528
  | string
@@ -14468,7 +14538,7 @@ type PerfectionistSortArrayIncludes = {
14468
14538
  | string
14469
14539
  | string[]
14470
14540
  | {
14471
- newlinesBetween?: 'ignore' | 'always' | 'never'
14541
+ newlinesBetween: 'ignore' | 'always' | 'never'
14472
14542
  }
14473
14543
  )[]
14474
14544
  }[]
@@ -14481,7 +14551,6 @@ type PerfectionistSortClasses =
14481
14551
  order?: 'asc' | 'desc'
14482
14552
 
14483
14553
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14484
- [k: string]: unknown | undefined
14485
14554
  }
14486
14555
 
14487
14556
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -14504,10 +14573,9 @@ type PerfectionistSortClasses =
14504
14573
  order?: 'asc' | 'desc'
14505
14574
 
14506
14575
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14507
- [k: string]: unknown | undefined
14508
14576
  }
14509
14577
 
14510
- groupName?: string
14578
+ groupName: string
14511
14579
 
14512
14580
  order?: 'asc' | 'desc'
14513
14581
 
@@ -14541,14 +14609,16 @@ type PerfectionistSortClasses =
14541
14609
  decoratorNamePattern?:
14542
14610
  | (
14543
14611
  | {
14544
- pattern?: string
14612
+ pattern: string
14613
+
14545
14614
  flags?: string
14546
14615
  }
14547
14616
  | string
14548
14617
  )[]
14549
14618
  | (
14550
14619
  | {
14551
- pattern?: string
14620
+ pattern: string
14621
+
14552
14622
  flags?: string
14553
14623
  }
14554
14624
  | string
@@ -14557,14 +14627,16 @@ type PerfectionistSortClasses =
14557
14627
  elementValuePattern?:
14558
14628
  | (
14559
14629
  | {
14560
- pattern?: string
14630
+ pattern: string
14631
+
14561
14632
  flags?: string
14562
14633
  }
14563
14634
  | string
14564
14635
  )[]
14565
14636
  | (
14566
14637
  | {
14567
- pattern?: string
14638
+ pattern: string
14639
+
14568
14640
  flags?: string
14569
14641
  }
14570
14642
  | string
@@ -14573,14 +14645,16 @@ type PerfectionistSortClasses =
14573
14645
  elementNamePattern?:
14574
14646
  | (
14575
14647
  | {
14576
- pattern?: string
14648
+ pattern: string
14649
+
14577
14650
  flags?: string
14578
14651
  }
14579
14652
  | string
14580
14653
  )[]
14581
14654
  | (
14582
14655
  | {
14583
- pattern?: string
14656
+ pattern: string
14657
+
14584
14658
  flags?: string
14585
14659
  }
14586
14660
  | string
@@ -14594,10 +14668,9 @@ type PerfectionistSortClasses =
14594
14668
  order?: 'asc' | 'desc'
14595
14669
 
14596
14670
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14597
- [k: string]: unknown | undefined
14598
14671
  }
14599
14672
 
14600
- groupName?: string
14673
+ groupName: string
14601
14674
 
14602
14675
  order?: 'asc' | 'desc'
14603
14676
 
@@ -14631,14 +14704,16 @@ type PerfectionistSortClasses =
14631
14704
  decoratorNamePattern?:
14632
14705
  | (
14633
14706
  | {
14634
- pattern?: string
14707
+ pattern: string
14708
+
14635
14709
  flags?: string
14636
14710
  }
14637
14711
  | string
14638
14712
  )[]
14639
14713
  | (
14640
14714
  | {
14641
- pattern?: string
14715
+ pattern: string
14716
+
14642
14717
  flags?: string
14643
14718
  }
14644
14719
  | string
@@ -14647,14 +14722,16 @@ type PerfectionistSortClasses =
14647
14722
  elementValuePattern?:
14648
14723
  | (
14649
14724
  | {
14650
- pattern?: string
14725
+ pattern: string
14726
+
14651
14727
  flags?: string
14652
14728
  }
14653
14729
  | string
14654
14730
  )[]
14655
14731
  | (
14656
14732
  | {
14657
- pattern?: string
14733
+ pattern: string
14734
+
14658
14735
  flags?: string
14659
14736
  }
14660
14737
  | string
@@ -14663,14 +14740,16 @@ type PerfectionistSortClasses =
14663
14740
  elementNamePattern?:
14664
14741
  | (
14665
14742
  | {
14666
- pattern?: string
14743
+ pattern: string
14744
+
14667
14745
  flags?: string
14668
14746
  }
14669
14747
  | string
14670
14748
  )[]
14671
14749
  | (
14672
14750
  | {
14673
- pattern?: string
14751
+ pattern: string
14752
+
14674
14753
  flags?: string
14675
14754
  }
14676
14755
  | string
@@ -14681,14 +14760,16 @@ type PerfectionistSortClasses =
14681
14760
  ignoreCallbackDependenciesPatterns?:
14682
14761
  | (
14683
14762
  | {
14684
- pattern?: string
14763
+ pattern: string
14764
+
14685
14765
  flags?: string
14686
14766
  }
14687
14767
  | string
14688
14768
  )[]
14689
14769
  | (
14690
14770
  | {
14691
- pattern?: string
14771
+ pattern: string
14772
+
14692
14773
  flags?: string
14693
14774
  }
14694
14775
  | string
@@ -14699,14 +14780,16 @@ type PerfectionistSortClasses =
14699
14780
  | (
14700
14781
  | (
14701
14782
  | {
14702
- pattern?: string
14783
+ pattern: string
14784
+
14703
14785
  flags?: string
14704
14786
  }
14705
14787
  | string
14706
14788
  )[]
14707
14789
  | (
14708
14790
  | {
14709
- pattern?: string
14791
+ pattern: string
14792
+
14710
14793
  flags?: string
14711
14794
  }
14712
14795
  | string
@@ -14718,32 +14801,37 @@ type PerfectionistSortClasses =
14718
14801
  | (
14719
14802
  | (
14720
14803
  | {
14721
- pattern?: string
14804
+ pattern: string
14805
+
14722
14806
  flags?: string
14723
14807
  }
14724
14808
  | string
14725
14809
  )[]
14726
14810
  | (
14727
14811
  | {
14728
- pattern?: string
14812
+ pattern: string
14813
+
14729
14814
  flags?: string
14730
14815
  }
14731
14816
  | string
14732
14817
  )
14733
14818
  )
14819
+
14734
14820
  line?:
14735
14821
  | boolean
14736
14822
  | (
14737
14823
  | (
14738
14824
  | {
14739
- pattern?: string
14825
+ pattern: string
14826
+
14740
14827
  flags?: string
14741
14828
  }
14742
14829
  | string
14743
14830
  )[]
14744
14831
  | (
14745
14832
  | {
14746
- pattern?: string
14833
+ pattern: string
14834
+
14747
14835
  flags?: string
14748
14836
  }
14749
14837
  | string
@@ -14759,7 +14847,7 @@ type PerfectionistSortClasses =
14759
14847
  | string
14760
14848
  | string[]
14761
14849
  | {
14762
- newlinesBetween?: 'ignore' | 'always' | 'never'
14850
+ newlinesBetween: 'ignore' | 'always' | 'never'
14763
14851
  }
14764
14852
  )[]
14765
14853
  },
@@ -14773,7 +14861,6 @@ type PerfectionistSortDecorators =
14773
14861
  order?: 'asc' | 'desc'
14774
14862
 
14775
14863
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14776
- [k: string]: unknown | undefined
14777
14864
  }
14778
14865
 
14779
14866
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -14803,14 +14890,16 @@ type PerfectionistSortDecorators =
14803
14890
  | (
14804
14891
  | (
14805
14892
  | {
14806
- pattern?: string
14893
+ pattern: string
14894
+
14807
14895
  flags?: string
14808
14896
  }
14809
14897
  | string
14810
14898
  )[]
14811
14899
  | (
14812
14900
  | {
14813
- pattern?: string
14901
+ pattern: string
14902
+
14814
14903
  flags?: string
14815
14904
  }
14816
14905
  | string
@@ -14822,32 +14911,37 @@ type PerfectionistSortDecorators =
14822
14911
  | (
14823
14912
  | (
14824
14913
  | {
14825
- pattern?: string
14914
+ pattern: string
14915
+
14826
14916
  flags?: string
14827
14917
  }
14828
14918
  | string
14829
14919
  )[]
14830
14920
  | (
14831
14921
  | {
14832
- pattern?: string
14922
+ pattern: string
14923
+
14833
14924
  flags?: string
14834
14925
  }
14835
14926
  | string
14836
14927
  )
14837
14928
  )
14929
+
14838
14930
  line?:
14839
14931
  | boolean
14840
14932
  | (
14841
14933
  | (
14842
14934
  | {
14843
- pattern?: string
14935
+ pattern: string
14936
+
14844
14937
  flags?: string
14845
14938
  }
14846
14939
  | string
14847
14940
  )[]
14848
14941
  | (
14849
14942
  | {
14850
- pattern?: string
14943
+ pattern: string
14944
+
14851
14945
  flags?: string
14852
14946
  }
14853
14947
  | string
@@ -14863,7 +14957,7 @@ type PerfectionistSortDecorators =
14863
14957
  | string
14864
14958
  | string[]
14865
14959
  | {
14866
- newlinesBetween?: 'ignore' | 'always' | 'never'
14960
+ newlinesBetween: 'ignore' | 'always' | 'never'
14867
14961
  }
14868
14962
  )[]
14869
14963
  },
@@ -14877,7 +14971,6 @@ type PerfectionistSortEnums =
14877
14971
  order?: 'asc' | 'desc'
14878
14972
 
14879
14973
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14880
- [k: string]: unknown | undefined
14881
14974
  }
14882
14975
 
14883
14976
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -14891,8 +14984,6 @@ type PerfectionistSortEnums =
14891
14984
  order?: 'asc' | 'desc'
14892
14985
 
14893
14986
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14894
-
14895
- forceNumericSort?: boolean
14896
14987
  customGroups?:
14897
14988
  | {
14898
14989
  [k: string]: (string | string[]) | undefined
@@ -14905,10 +14996,9 @@ type PerfectionistSortEnums =
14905
14996
  order?: 'asc' | 'desc'
14906
14997
 
14907
14998
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14908
- [k: string]: unknown | undefined
14909
14999
  }
14910
15000
 
14911
- groupName?: string
15001
+ groupName: string
14912
15002
 
14913
15003
  order?: 'asc' | 'desc'
14914
15004
 
@@ -14917,14 +15007,16 @@ type PerfectionistSortEnums =
14917
15007
  elementValuePattern?:
14918
15008
  | (
14919
15009
  | {
14920
- pattern?: string
15010
+ pattern: string
15011
+
14921
15012
  flags?: string
14922
15013
  }
14923
15014
  | string
14924
15015
  )[]
14925
15016
  | (
14926
15017
  | {
14927
- pattern?: string
15018
+ pattern: string
15019
+
14928
15020
  flags?: string
14929
15021
  }
14930
15022
  | string
@@ -14933,14 +15025,16 @@ type PerfectionistSortEnums =
14933
15025
  elementNamePattern?:
14934
15026
  | (
14935
15027
  | {
14936
- pattern?: string
15028
+ pattern: string
15029
+
14937
15030
  flags?: string
14938
15031
  }
14939
15032
  | string
14940
15033
  )[]
14941
15034
  | (
14942
15035
  | {
14943
- pattern?: string
15036
+ pattern: string
15037
+
14944
15038
  flags?: string
14945
15039
  }
14946
15040
  | string
@@ -14954,10 +15048,9 @@ type PerfectionistSortEnums =
14954
15048
  order?: 'asc' | 'desc'
14955
15049
 
14956
15050
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
14957
- [k: string]: unknown | undefined
14958
15051
  }
14959
15052
 
14960
- groupName?: string
15053
+ groupName: string
14961
15054
 
14962
15055
  order?: 'asc' | 'desc'
14963
15056
 
@@ -14966,14 +15059,16 @@ type PerfectionistSortEnums =
14966
15059
  elementValuePattern?:
14967
15060
  | (
14968
15061
  | {
14969
- pattern?: string
15062
+ pattern: string
15063
+
14970
15064
  flags?: string
14971
15065
  }
14972
15066
  | string
14973
15067
  )[]
14974
15068
  | (
14975
15069
  | {
14976
- pattern?: string
15070
+ pattern: string
15071
+
14977
15072
  flags?: string
14978
15073
  }
14979
15074
  | string
@@ -14982,14 +15077,16 @@ type PerfectionistSortEnums =
14982
15077
  elementNamePattern?:
14983
15078
  | (
14984
15079
  | {
14985
- pattern?: string
15080
+ pattern: string
15081
+
14986
15082
  flags?: string
14987
15083
  }
14988
15084
  | string
14989
15085
  )[]
14990
15086
  | (
14991
15087
  | {
14992
- pattern?: string
15088
+ pattern: string
15089
+
14993
15090
  flags?: string
14994
15091
  }
14995
15092
  | string
@@ -14997,6 +15094,8 @@ type PerfectionistSortEnums =
14997
15094
  }
14998
15095
  )[]
14999
15096
 
15097
+ forceNumericSort?: boolean
15098
+
15000
15099
  sortByValue?: boolean
15001
15100
 
15002
15101
  partitionByComment?:
@@ -15004,14 +15103,16 @@ type PerfectionistSortEnums =
15004
15103
  | (
15005
15104
  | (
15006
15105
  | {
15007
- pattern?: string
15106
+ pattern: string
15107
+
15008
15108
  flags?: string
15009
15109
  }
15010
15110
  | string
15011
15111
  )[]
15012
15112
  | (
15013
15113
  | {
15014
- pattern?: string
15114
+ pattern: string
15115
+
15015
15116
  flags?: string
15016
15117
  }
15017
15118
  | string
@@ -15023,32 +15124,37 @@ type PerfectionistSortEnums =
15023
15124
  | (
15024
15125
  | (
15025
15126
  | {
15026
- pattern?: string
15127
+ pattern: string
15128
+
15027
15129
  flags?: string
15028
15130
  }
15029
15131
  | string
15030
15132
  )[]
15031
15133
  | (
15032
15134
  | {
15033
- pattern?: string
15135
+ pattern: string
15136
+
15034
15137
  flags?: string
15035
15138
  }
15036
15139
  | string
15037
15140
  )
15038
15141
  )
15142
+
15039
15143
  line?:
15040
15144
  | boolean
15041
15145
  | (
15042
15146
  | (
15043
15147
  | {
15044
- pattern?: string
15148
+ pattern: string
15149
+
15045
15150
  flags?: string
15046
15151
  }
15047
15152
  | string
15048
15153
  )[]
15049
15154
  | (
15050
15155
  | {
15051
- pattern?: string
15156
+ pattern: string
15157
+
15052
15158
  flags?: string
15053
15159
  }
15054
15160
  | string
@@ -15064,7 +15170,7 @@ type PerfectionistSortEnums =
15064
15170
  | string
15065
15171
  | string[]
15066
15172
  | {
15067
- newlinesBetween?: 'ignore' | 'always' | 'never'
15173
+ newlinesBetween: 'ignore' | 'always' | 'never'
15068
15174
  }
15069
15175
  )[]
15070
15176
  },
@@ -15075,7 +15181,6 @@ type PerfectionistSortExports = {
15075
15181
  order?: 'asc' | 'desc'
15076
15182
 
15077
15183
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15078
- [k: string]: unknown | undefined
15079
15184
  }
15080
15185
 
15081
15186
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -15100,10 +15205,9 @@ type PerfectionistSortExports = {
15100
15205
  order?: 'asc' | 'desc'
15101
15206
 
15102
15207
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15103
- [k: string]: unknown | undefined
15104
15208
  }
15105
15209
 
15106
- groupName?: string
15210
+ groupName: string
15107
15211
 
15108
15212
  order?: 'asc' | 'desc'
15109
15213
 
@@ -15116,14 +15220,16 @@ type PerfectionistSortExports = {
15116
15220
  elementNamePattern?:
15117
15221
  | (
15118
15222
  | {
15119
- pattern?: string
15223
+ pattern: string
15224
+
15120
15225
  flags?: string
15121
15226
  }
15122
15227
  | string
15123
15228
  )[]
15124
15229
  | (
15125
15230
  | {
15126
- pattern?: string
15231
+ pattern: string
15232
+
15127
15233
  flags?: string
15128
15234
  }
15129
15235
  | string
@@ -15137,10 +15243,9 @@ type PerfectionistSortExports = {
15137
15243
  order?: 'asc' | 'desc'
15138
15244
 
15139
15245
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15140
- [k: string]: unknown | undefined
15141
15246
  }
15142
15247
 
15143
- groupName?: string
15248
+ groupName: string
15144
15249
 
15145
15250
  order?: 'asc' | 'desc'
15146
15251
 
@@ -15153,14 +15258,16 @@ type PerfectionistSortExports = {
15153
15258
  elementNamePattern?:
15154
15259
  | (
15155
15260
  | {
15156
- pattern?: string
15261
+ pattern: string
15262
+
15157
15263
  flags?: string
15158
15264
  }
15159
15265
  | string
15160
15266
  )[]
15161
15267
  | (
15162
15268
  | {
15163
- pattern?: string
15269
+ pattern: string
15270
+
15164
15271
  flags?: string
15165
15272
  }
15166
15273
  | string
@@ -15173,14 +15280,16 @@ type PerfectionistSortExports = {
15173
15280
  | (
15174
15281
  | (
15175
15282
  | {
15176
- pattern?: string
15283
+ pattern: string
15284
+
15177
15285
  flags?: string
15178
15286
  }
15179
15287
  | string
15180
15288
  )[]
15181
15289
  | (
15182
15290
  | {
15183
- pattern?: string
15291
+ pattern: string
15292
+
15184
15293
  flags?: string
15185
15294
  }
15186
15295
  | string
@@ -15192,32 +15301,37 @@ type PerfectionistSortExports = {
15192
15301
  | (
15193
15302
  | (
15194
15303
  | {
15195
- pattern?: string
15304
+ pattern: string
15305
+
15196
15306
  flags?: string
15197
15307
  }
15198
15308
  | string
15199
15309
  )[]
15200
15310
  | (
15201
15311
  | {
15202
- pattern?: string
15312
+ pattern: string
15313
+
15203
15314
  flags?: string
15204
15315
  }
15205
15316
  | string
15206
15317
  )
15207
15318
  )
15319
+
15208
15320
  line?:
15209
15321
  | boolean
15210
15322
  | (
15211
15323
  | (
15212
15324
  | {
15213
- pattern?: string
15325
+ pattern: string
15326
+
15214
15327
  flags?: string
15215
15328
  }
15216
15329
  | string
15217
15330
  )[]
15218
15331
  | (
15219
15332
  | {
15220
- pattern?: string
15333
+ pattern: string
15334
+
15221
15335
  flags?: string
15222
15336
  }
15223
15337
  | string
@@ -15233,7 +15347,7 @@ type PerfectionistSortExports = {
15233
15347
  | string
15234
15348
  | string[]
15235
15349
  | {
15236
- newlinesBetween?: 'ignore' | 'always' | 'never'
15350
+ newlinesBetween: 'ignore' | 'always' | 'never'
15237
15351
  }
15238
15352
  )[]
15239
15353
  }[]
@@ -15246,7 +15360,6 @@ type PerfectionistSortHeritageClauses =
15246
15360
  order?: 'asc' | 'desc'
15247
15361
 
15248
15362
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15249
- [k: string]: unknown | undefined
15250
15363
  }
15251
15364
 
15252
15365
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -15269,18 +15382,17 @@ type PerfectionistSortHeritageClauses =
15269
15382
  | string
15270
15383
  | string[]
15271
15384
  | {
15272
- newlinesBetween?: 'ignore' | 'always' | 'never'
15385
+ newlinesBetween: 'ignore' | 'always' | 'never'
15273
15386
  }
15274
15387
  )[]
15275
15388
  },
15276
15389
  ]
15277
- // ----- perfectionist/sort-interfaces -----
15278
- type PerfectionistSortInterfaces = {
15390
+ // ----- perfectionist/sort-imports -----
15391
+ type PerfectionistSortImports = {
15279
15392
  fallbackSort?: {
15280
15393
  order?: 'asc' | 'desc'
15281
15394
 
15282
15395
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15283
- [k: string]: unknown | undefined
15284
15396
  }
15285
15397
 
15286
15398
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -15296,7 +15408,13 @@ type PerfectionistSortInterfaces = {
15296
15408
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15297
15409
  customGroups?:
15298
15410
  | {
15299
- [k: string]: (string | string[]) | undefined
15411
+ value?: {
15412
+ [k: string]: (string | string[]) | undefined
15413
+ }
15414
+
15415
+ type?: {
15416
+ [k: string]: (string | string[]) | undefined
15417
+ }
15300
15418
  }
15301
15419
  | (
15302
15420
  | {
@@ -15306,31 +15424,53 @@ type PerfectionistSortInterfaces = {
15306
15424
  order?: 'asc' | 'desc'
15307
15425
 
15308
15426
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15309
- sortBy?: 'name' | 'value'
15310
- [k: string]: unknown | undefined
15311
15427
  }
15312
15428
 
15313
- groupName?: string
15429
+ groupName: string
15314
15430
 
15315
15431
  order?: 'asc' | 'desc'
15316
15432
 
15317
15433
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15318
15434
  anyOf?: {
15319
- modifiers?: ('optional' | 'required' | 'multiline')[]
15435
+ modifiers?: (
15436
+ | 'default'
15437
+ | 'named'
15438
+ | 'require'
15439
+ | 'side-effect'
15440
+ | 'ts-equals'
15441
+ | 'type'
15442
+ | 'value'
15443
+ | 'wildcard'
15444
+ )[]
15320
15445
 
15321
- selector?: 'index-signature' | 'member' | 'method' | 'multiline' | 'property'
15446
+ selector?:
15447
+ | 'side-effect-style'
15448
+ | 'tsconfig-path'
15449
+ | 'side-effect'
15450
+ | 'external'
15451
+ | 'internal'
15452
+ | 'builtin'
15453
+ | 'sibling'
15454
+ | 'subpath'
15455
+ | 'import'
15456
+ | 'parent'
15457
+ | 'index'
15458
+ | 'style'
15459
+ | 'type'
15322
15460
 
15323
15461
  elementValuePattern?:
15324
15462
  | (
15325
15463
  | {
15326
- pattern?: string
15464
+ pattern: string
15465
+
15327
15466
  flags?: string
15328
15467
  }
15329
15468
  | string
15330
15469
  )[]
15331
15470
  | (
15332
15471
  | {
15333
- pattern?: string
15472
+ pattern: string
15473
+
15334
15474
  flags?: string
15335
15475
  }
15336
15476
  | string
@@ -15339,19 +15479,20 @@ type PerfectionistSortInterfaces = {
15339
15479
  elementNamePattern?:
15340
15480
  | (
15341
15481
  | {
15342
- pattern?: string
15482
+ pattern: string
15483
+
15343
15484
  flags?: string
15344
15485
  }
15345
15486
  | string
15346
15487
  )[]
15347
15488
  | (
15348
15489
  | {
15349
- pattern?: string
15490
+ pattern: string
15491
+
15350
15492
  flags?: string
15351
15493
  }
15352
15494
  | string
15353
15495
  )
15354
- sortBy?: 'name' | 'value'
15355
15496
  }[]
15356
15497
  }
15357
15498
  | {
@@ -15361,31 +15502,53 @@ type PerfectionistSortInterfaces = {
15361
15502
  order?: 'asc' | 'desc'
15362
15503
 
15363
15504
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15364
- sortBy?: 'name' | 'value'
15365
- [k: string]: unknown | undefined
15366
15505
  }
15367
15506
 
15368
- groupName?: string
15507
+ groupName: string
15369
15508
 
15370
15509
  order?: 'asc' | 'desc'
15371
15510
 
15372
15511
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15373
15512
 
15374
- modifiers?: ('optional' | 'required' | 'multiline')[]
15375
-
15376
- selector?: 'index-signature' | 'member' | 'method' | 'multiline' | 'property'
15513
+ modifiers?: (
15514
+ | 'default'
15515
+ | 'named'
15516
+ | 'require'
15517
+ | 'side-effect'
15518
+ | 'ts-equals'
15519
+ | 'type'
15520
+ | 'value'
15521
+ | 'wildcard'
15522
+ )[]
15523
+
15524
+ selector?:
15525
+ | 'side-effect-style'
15526
+ | 'tsconfig-path'
15527
+ | 'side-effect'
15528
+ | 'external'
15529
+ | 'internal'
15530
+ | 'builtin'
15531
+ | 'sibling'
15532
+ | 'subpath'
15533
+ | 'import'
15534
+ | 'parent'
15535
+ | 'index'
15536
+ | 'style'
15537
+ | 'type'
15377
15538
 
15378
15539
  elementValuePattern?:
15379
15540
  | (
15380
15541
  | {
15381
- pattern?: string
15542
+ pattern: string
15543
+
15382
15544
  flags?: string
15383
15545
  }
15384
15546
  | string
15385
15547
  )[]
15386
15548
  | (
15387
15549
  | {
15388
- pattern?: string
15550
+ pattern: string
15551
+
15389
15552
  flags?: string
15390
15553
  }
15391
15554
  | string
@@ -15394,70 +15557,46 @@ type PerfectionistSortInterfaces = {
15394
15557
  elementNamePattern?:
15395
15558
  | (
15396
15559
  | {
15397
- pattern?: string
15560
+ pattern: string
15561
+
15398
15562
  flags?: string
15399
15563
  }
15400
15564
  | string
15401
15565
  )[]
15402
15566
  | (
15403
15567
  | {
15404
- pattern?: string
15568
+ pattern: string
15569
+
15405
15570
  flags?: string
15406
15571
  }
15407
15572
  | string
15408
15573
  )
15409
- sortBy?: 'name' | 'value'
15410
15574
  }
15411
15575
  )[]
15412
15576
 
15413
- groupKind?: 'mixed' | 'required-first' | 'optional-first'
15414
- useConfigurationIf?: {
15415
- allNamesMatchPattern?:
15416
- | (
15417
- | {
15418
- pattern?: string
15419
- flags?: string
15420
- }
15421
- | string
15422
- )[]
15423
- | (
15424
- | {
15425
- pattern?: string
15426
- flags?: string
15427
- }
15428
- | string
15429
- )
15577
+ maxLineLength?: number
15430
15578
 
15431
- declarationMatchesPattern?:
15432
- | (
15433
- | {
15434
- pattern?: string
15435
- flags?: string
15436
- }
15437
- | string
15438
- )[]
15439
- | (
15440
- | {
15441
- pattern?: string
15442
- flags?: string
15443
- }
15444
- | string
15445
- )
15446
- }
15579
+ sortSideEffects?: boolean
15580
+
15581
+ environment?: 'node' | 'bun'
15582
+
15583
+ tsconfigRootDir?: string
15447
15584
 
15448
15585
  partitionByComment?:
15449
15586
  | boolean
15450
15587
  | (
15451
15588
  | (
15452
15589
  | {
15453
- pattern?: string
15590
+ pattern: string
15591
+
15454
15592
  flags?: string
15455
15593
  }
15456
15594
  | string
15457
15595
  )[]
15458
15596
  | (
15459
15597
  | {
15460
- pattern?: string
15598
+ pattern: string
15599
+
15461
15600
  flags?: string
15462
15601
  }
15463
15602
  | string
@@ -15469,32 +15608,37 @@ type PerfectionistSortInterfaces = {
15469
15608
  | (
15470
15609
  | (
15471
15610
  | {
15472
- pattern?: string
15611
+ pattern: string
15612
+
15473
15613
  flags?: string
15474
15614
  }
15475
15615
  | string
15476
15616
  )[]
15477
15617
  | (
15478
15618
  | {
15479
- pattern?: string
15619
+ pattern: string
15620
+
15480
15621
  flags?: string
15481
15622
  }
15482
15623
  | string
15483
15624
  )
15484
15625
  )
15626
+
15485
15627
  line?:
15486
15628
  | boolean
15487
15629
  | (
15488
15630
  | (
15489
15631
  | {
15490
- pattern?: string
15632
+ pattern: string
15633
+
15491
15634
  flags?: string
15492
15635
  }
15493
15636
  | string
15494
15637
  )[]
15495
15638
  | (
15496
15639
  | {
15497
- pattern?: string
15640
+ pattern: string
15641
+
15498
15642
  flags?: string
15499
15643
  }
15500
15644
  | string
@@ -15506,132 +15650,509 @@ type PerfectionistSortInterfaces = {
15506
15650
 
15507
15651
  newlinesBetween?: 'ignore' | 'always' | 'never'
15508
15652
 
15509
- ignorePattern?:
15653
+ internalPattern?:
15510
15654
  | (
15511
15655
  | {
15512
- pattern?: string
15656
+ pattern: string
15657
+
15513
15658
  flags?: string
15514
15659
  }
15515
15660
  | string
15516
15661
  )[]
15517
15662
  | (
15518
15663
  | {
15519
- pattern?: string
15664
+ pattern: string
15665
+
15520
15666
  flags?: string
15521
15667
  }
15522
15668
  | string
15523
15669
  )
15524
- sortBy?: 'name' | 'value'
15525
15670
 
15526
15671
  groups?: (
15527
15672
  | string
15528
15673
  | string[]
15529
15674
  | {
15530
- newlinesBetween?: 'ignore' | 'always' | 'never'
15675
+ newlinesBetween: 'ignore' | 'always' | 'never'
15531
15676
  }
15532
15677
  )[]
15533
15678
  }[]
15534
- // ----- perfectionist/sort-intersection-types -----
15535
- type PerfectionistSortIntersectionTypes =
15536
- | []
15537
- | [
15538
- {
15539
- fallbackSort?: {
15540
- order?: 'asc' | 'desc'
15679
+ // ----- perfectionist/sort-interfaces -----
15680
+ type PerfectionistSortInterfaces = {
15681
+ fallbackSort?: {
15682
+ order?: 'asc' | 'desc'
15541
15683
 
15542
- type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15543
- [k: string]: unknown | undefined
15544
- }
15684
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15685
+ sortBy?: 'name' | 'value'
15686
+ }
15545
15687
 
15546
- specialCharacters?: 'remove' | 'trim' | 'keep'
15688
+ specialCharacters?: 'remove' | 'trim' | 'keep'
15547
15689
 
15548
- ignoreCase?: boolean
15690
+ ignoreCase?: boolean
15549
15691
 
15550
- alphabet?: string
15692
+ alphabet?: string
15551
15693
 
15552
- locales?: string | string[]
15694
+ locales?: string | string[]
15553
15695
 
15554
- order?: 'asc' | 'desc'
15696
+ order?: 'asc' | 'desc'
15555
15697
 
15556
- type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15698
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15699
+ customGroups?:
15700
+ | {
15701
+ [k: string]: (string | string[]) | undefined
15702
+ }
15703
+ | (
15704
+ | {
15705
+ newlinesInside?: 'always' | 'never'
15557
15706
 
15558
- partitionByComment?:
15559
- | boolean
15560
- | (
15561
- | (
15562
- | {
15563
- pattern?: string
15564
- flags?: string
15565
- }
15566
- | string
15567
- )[]
15568
- | (
15569
- | {
15570
- pattern?: string
15571
- flags?: string
15572
- }
15573
- | string
15574
- )
15575
- )
15576
- | {
15577
- block?:
15578
- | boolean
15579
- | (
15580
- | (
15581
- | {
15582
- pattern?: string
15583
- flags?: string
15584
- }
15585
- | string
15586
- )[]
15587
- | (
15588
- | {
15589
- pattern?: string
15590
- flags?: string
15591
- }
15592
- | string
15593
- )
15594
- )
15595
- line?:
15596
- | boolean
15707
+ fallbackSort?: {
15708
+ order?: 'asc' | 'desc'
15709
+
15710
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15711
+ sortBy?: 'name' | 'value'
15712
+ }
15713
+
15714
+ groupName: string
15715
+
15716
+ order?: 'asc' | 'desc'
15717
+
15718
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15719
+ anyOf?: {
15720
+ modifiers?: ('optional' | 'required' | 'multiline')[]
15721
+
15722
+ selector?: 'index-signature' | 'member' | 'method' | 'multiline' | 'property'
15723
+
15724
+ elementValuePattern?:
15597
15725
  | (
15598
- | (
15599
- | {
15600
- pattern?: string
15601
- flags?: string
15602
- }
15603
- | string
15604
- )[]
15605
- | (
15606
- | {
15607
- pattern?: string
15608
- flags?: string
15609
- }
15610
- | string
15611
- )
15726
+ | {
15727
+ pattern: string
15728
+
15729
+ flags?: string
15730
+ }
15731
+ | string
15732
+ )[]
15733
+ | (
15734
+ | {
15735
+ pattern: string
15736
+
15737
+ flags?: string
15738
+ }
15739
+ | string
15612
15740
  )
15741
+
15742
+ elementNamePattern?:
15743
+ | (
15744
+ | {
15745
+ pattern: string
15746
+
15747
+ flags?: string
15748
+ }
15749
+ | string
15750
+ )[]
15751
+ | (
15752
+ | {
15753
+ pattern: string
15754
+
15755
+ flags?: string
15756
+ }
15757
+ | string
15758
+ )
15759
+ sortBy?: 'name' | 'value'
15760
+ }[]
15761
+ }
15762
+ | {
15763
+ newlinesInside?: 'always' | 'never'
15764
+
15765
+ fallbackSort?: {
15766
+ order?: 'asc' | 'desc'
15767
+
15768
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15769
+ sortBy?: 'name' | 'value'
15770
+ }
15771
+
15772
+ groupName: string
15773
+
15774
+ order?: 'asc' | 'desc'
15775
+
15776
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15777
+
15778
+ modifiers?: ('optional' | 'required' | 'multiline')[]
15779
+
15780
+ selector?: 'index-signature' | 'member' | 'method' | 'multiline' | 'property'
15781
+
15782
+ elementValuePattern?:
15783
+ | (
15784
+ | {
15785
+ pattern: string
15786
+
15787
+ flags?: string
15788
+ }
15789
+ | string
15790
+ )[]
15791
+ | (
15792
+ | {
15793
+ pattern: string
15794
+
15795
+ flags?: string
15796
+ }
15797
+ | string
15798
+ )
15799
+
15800
+ elementNamePattern?:
15801
+ | (
15802
+ | {
15803
+ pattern: string
15804
+
15805
+ flags?: string
15806
+ }
15807
+ | string
15808
+ )[]
15809
+ | (
15810
+ | {
15811
+ pattern: string
15812
+
15813
+ flags?: string
15814
+ }
15815
+ | string
15816
+ )
15817
+ sortBy?: 'name' | 'value'
15818
+ }
15819
+ )[]
15820
+
15821
+ groupKind?: 'mixed' | 'required-first' | 'optional-first'
15822
+
15823
+ useConfigurationIf?: {
15824
+ allNamesMatchPattern?:
15825
+ | (
15826
+ | {
15827
+ pattern: string
15828
+
15829
+ flags?: string
15613
15830
  }
15831
+ | string
15832
+ )[]
15833
+ | (
15834
+ | {
15835
+ pattern: string
15614
15836
 
15615
- partitionByNewLine?: boolean
15837
+ flags?: string
15838
+ }
15839
+ | string
15840
+ )
15616
15841
 
15617
- newlinesBetween?: 'ignore' | 'always' | 'never'
15842
+ declarationMatchesPattern?:
15843
+ | (
15844
+ | {
15845
+ pattern: string
15618
15846
 
15619
- groups?: (
15847
+ flags?: string
15848
+ }
15620
15849
  | string
15621
- | string[]
15850
+ )[]
15851
+ | (
15622
15852
  | {
15623
- newlinesBetween?: 'ignore' | 'always' | 'never'
15853
+ pattern: string
15854
+
15855
+ flags?: string
15624
15856
  }
15625
- )[]
15626
- },
15627
- ]
15857
+ | string
15858
+ )
15859
+ }
15860
+
15861
+ partitionByComment?:
15862
+ | boolean
15863
+ | (
15864
+ | (
15865
+ | {
15866
+ pattern: string
15867
+
15868
+ flags?: string
15869
+ }
15870
+ | string
15871
+ )[]
15872
+ | (
15873
+ | {
15874
+ pattern: string
15875
+
15876
+ flags?: string
15877
+ }
15878
+ | string
15879
+ )
15880
+ )
15881
+ | {
15882
+ block?:
15883
+ | boolean
15884
+ | (
15885
+ | (
15886
+ | {
15887
+ pattern: string
15888
+
15889
+ flags?: string
15890
+ }
15891
+ | string
15892
+ )[]
15893
+ | (
15894
+ | {
15895
+ pattern: string
15896
+
15897
+ flags?: string
15898
+ }
15899
+ | string
15900
+ )
15901
+ )
15902
+
15903
+ line?:
15904
+ | boolean
15905
+ | (
15906
+ | (
15907
+ | {
15908
+ pattern: string
15909
+
15910
+ flags?: string
15911
+ }
15912
+ | string
15913
+ )[]
15914
+ | (
15915
+ | {
15916
+ pattern: string
15917
+
15918
+ flags?: string
15919
+ }
15920
+ | string
15921
+ )
15922
+ )
15923
+ }
15924
+
15925
+ partitionByNewLine?: boolean
15926
+
15927
+ newlinesBetween?: 'ignore' | 'always' | 'never'
15928
+
15929
+ ignorePattern?:
15930
+ | (
15931
+ | {
15932
+ pattern: string
15933
+
15934
+ flags?: string
15935
+ }
15936
+ | string
15937
+ )[]
15938
+ | (
15939
+ | {
15940
+ pattern: string
15941
+
15942
+ flags?: string
15943
+ }
15944
+ | string
15945
+ )
15946
+ sortBy?: 'name' | 'value'
15947
+
15948
+ groups?: (
15949
+ | string
15950
+ | string[]
15951
+ | {
15952
+ newlinesBetween: 'ignore' | 'always' | 'never'
15953
+ }
15954
+ )[]
15955
+ }[]
15956
+ // ----- perfectionist/sort-intersection-types -----
15957
+ type PerfectionistSortIntersectionTypes = {
15958
+ fallbackSort?: {
15959
+ order?: 'asc' | 'desc'
15960
+
15961
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15962
+ }
15963
+
15964
+ specialCharacters?: 'remove' | 'trim' | 'keep'
15965
+
15966
+ ignoreCase?: boolean
15967
+
15968
+ alphabet?: string
15969
+
15970
+ locales?: string | string[]
15971
+
15972
+ order?: 'asc' | 'desc'
15973
+
15974
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15975
+
15976
+ customGroups?: (
15977
+ | {
15978
+ newlinesInside?: 'always' | 'never'
15979
+
15980
+ fallbackSort?: {
15981
+ order?: 'asc' | 'desc'
15982
+
15983
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15984
+ }
15985
+
15986
+ groupName: string
15987
+
15988
+ order?: 'asc' | 'desc'
15989
+
15990
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15991
+ anyOf?: {
15992
+ selector?:
15993
+ | 'intersection'
15994
+ | 'conditional'
15995
+ | 'function'
15996
+ | 'operator'
15997
+ | 'keyword'
15998
+ | 'literal'
15999
+ | 'nullish'
16000
+ | 'import'
16001
+ | 'object'
16002
+ | 'named'
16003
+ | 'tuple'
16004
+ | 'union'
16005
+
16006
+ elementNamePattern?:
16007
+ | (
16008
+ | {
16009
+ pattern: string
16010
+
16011
+ flags?: string
16012
+ }
16013
+ | string
16014
+ )[]
16015
+ | (
16016
+ | {
16017
+ pattern: string
16018
+
16019
+ flags?: string
16020
+ }
16021
+ | string
16022
+ )
16023
+ }[]
16024
+ }
16025
+ | {
16026
+ newlinesInside?: 'always' | 'never'
16027
+
16028
+ fallbackSort?: {
16029
+ order?: 'asc' | 'desc'
16030
+
16031
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16032
+ }
16033
+
16034
+ groupName: string
16035
+
16036
+ order?: 'asc' | 'desc'
16037
+
16038
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16039
+
16040
+ selector?:
16041
+ | 'intersection'
16042
+ | 'conditional'
16043
+ | 'function'
16044
+ | 'operator'
16045
+ | 'keyword'
16046
+ | 'literal'
16047
+ | 'nullish'
16048
+ | 'import'
16049
+ | 'object'
16050
+ | 'named'
16051
+ | 'tuple'
16052
+ | 'union'
16053
+
16054
+ elementNamePattern?:
16055
+ | (
16056
+ | {
16057
+ pattern: string
16058
+
16059
+ flags?: string
16060
+ }
16061
+ | string
16062
+ )[]
16063
+ | (
16064
+ | {
16065
+ pattern: string
16066
+
16067
+ flags?: string
16068
+ }
16069
+ | string
16070
+ )
16071
+ }
16072
+ )[]
16073
+
16074
+ partitionByComment?:
16075
+ | boolean
16076
+ | (
16077
+ | (
16078
+ | {
16079
+ pattern: string
16080
+
16081
+ flags?: string
16082
+ }
16083
+ | string
16084
+ )[]
16085
+ | (
16086
+ | {
16087
+ pattern: string
16088
+
16089
+ flags?: string
16090
+ }
16091
+ | string
16092
+ )
16093
+ )
16094
+ | {
16095
+ block?:
16096
+ | boolean
16097
+ | (
16098
+ | (
16099
+ | {
16100
+ pattern: string
16101
+
16102
+ flags?: string
16103
+ }
16104
+ | string
16105
+ )[]
16106
+ | (
16107
+ | {
16108
+ pattern: string
16109
+
16110
+ flags?: string
16111
+ }
16112
+ | string
16113
+ )
16114
+ )
16115
+
16116
+ line?:
16117
+ | boolean
16118
+ | (
16119
+ | (
16120
+ | {
16121
+ pattern: string
16122
+
16123
+ flags?: string
16124
+ }
16125
+ | string
16126
+ )[]
16127
+ | (
16128
+ | {
16129
+ pattern: string
16130
+
16131
+ flags?: string
16132
+ }
16133
+ | string
16134
+ )
16135
+ )
16136
+ }
16137
+
16138
+ partitionByNewLine?: boolean
16139
+
16140
+ newlinesBetween?: 'ignore' | 'always' | 'never'
16141
+
16142
+ groups?: (
16143
+ | string
16144
+ | string[]
16145
+ | {
16146
+ newlinesBetween: 'ignore' | 'always' | 'never'
16147
+ }
16148
+ )[]
16149
+ }[]
15628
16150
  // ----- perfectionist/sort-jsx-props -----
15629
16151
  type PerfectionistSortJsxProps = {
15630
16152
  fallbackSort?: {
15631
16153
  order?: 'asc' | 'desc'
15632
16154
 
15633
16155
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15634
- [k: string]: unknown | undefined
15635
16156
  }
15636
16157
 
15637
16158
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -15657,10 +16178,9 @@ type PerfectionistSortJsxProps = {
15657
16178
  order?: 'asc' | 'desc'
15658
16179
 
15659
16180
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15660
- [k: string]: unknown | undefined
15661
16181
  }
15662
16182
 
15663
- groupName?: string
16183
+ groupName: string
15664
16184
 
15665
16185
  order?: 'asc' | 'desc'
15666
16186
 
@@ -15673,14 +16193,16 @@ type PerfectionistSortJsxProps = {
15673
16193
  elementValuePattern?:
15674
16194
  | (
15675
16195
  | {
15676
- pattern?: string
16196
+ pattern: string
16197
+
15677
16198
  flags?: string
15678
16199
  }
15679
16200
  | string
15680
16201
  )[]
15681
16202
  | (
15682
16203
  | {
15683
- pattern?: string
16204
+ pattern: string
16205
+
15684
16206
  flags?: string
15685
16207
  }
15686
16208
  | string
@@ -15689,14 +16211,16 @@ type PerfectionistSortJsxProps = {
15689
16211
  elementNamePattern?:
15690
16212
  | (
15691
16213
  | {
15692
- pattern?: string
16214
+ pattern: string
16215
+
15693
16216
  flags?: string
15694
16217
  }
15695
16218
  | string
15696
16219
  )[]
15697
16220
  | (
15698
16221
  | {
15699
- pattern?: string
16222
+ pattern: string
16223
+
15700
16224
  flags?: string
15701
16225
  }
15702
16226
  | string
@@ -15710,10 +16234,9 @@ type PerfectionistSortJsxProps = {
15710
16234
  order?: 'asc' | 'desc'
15711
16235
 
15712
16236
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15713
- [k: string]: unknown | undefined
15714
16237
  }
15715
16238
 
15716
- groupName?: string
16239
+ groupName: string
15717
16240
 
15718
16241
  order?: 'asc' | 'desc'
15719
16242
 
@@ -15726,14 +16249,16 @@ type PerfectionistSortJsxProps = {
15726
16249
  elementValuePattern?:
15727
16250
  | (
15728
16251
  | {
15729
- pattern?: string
16252
+ pattern: string
16253
+
15730
16254
  flags?: string
15731
16255
  }
15732
16256
  | string
15733
16257
  )[]
15734
16258
  | (
15735
16259
  | {
15736
- pattern?: string
16260
+ pattern: string
16261
+
15737
16262
  flags?: string
15738
16263
  }
15739
16264
  | string
@@ -15742,32 +16267,37 @@ type PerfectionistSortJsxProps = {
15742
16267
  elementNamePattern?:
15743
16268
  | (
15744
16269
  | {
15745
- pattern?: string
16270
+ pattern: string
16271
+
15746
16272
  flags?: string
15747
16273
  }
15748
16274
  | string
15749
16275
  )[]
15750
16276
  | (
15751
16277
  | {
15752
- pattern?: string
16278
+ pattern: string
16279
+
15753
16280
  flags?: string
15754
16281
  }
15755
16282
  | string
15756
16283
  )
15757
16284
  }
15758
16285
  )[]
16286
+
15759
16287
  useConfigurationIf?: {
15760
16288
  allNamesMatchPattern?:
15761
16289
  | (
15762
16290
  | {
15763
- pattern?: string
16291
+ pattern: string
16292
+
15764
16293
  flags?: string
15765
16294
  }
15766
16295
  | string
15767
16296
  )[]
15768
16297
  | (
15769
16298
  | {
15770
- pattern?: string
16299
+ pattern: string
16300
+
15771
16301
  flags?: string
15772
16302
  }
15773
16303
  | string
@@ -15776,14 +16306,16 @@ type PerfectionistSortJsxProps = {
15776
16306
  tagMatchesPattern?:
15777
16307
  | (
15778
16308
  | {
15779
- pattern?: string
16309
+ pattern: string
16310
+
15780
16311
  flags?: string
15781
16312
  }
15782
16313
  | string
15783
16314
  )[]
15784
16315
  | (
15785
16316
  | {
15786
- pattern?: string
16317
+ pattern: string
16318
+
15787
16319
  flags?: string
15788
16320
  }
15789
16321
  | string
@@ -15797,14 +16329,16 @@ type PerfectionistSortJsxProps = {
15797
16329
  ignorePattern?:
15798
16330
  | (
15799
16331
  | {
15800
- pattern?: string
16332
+ pattern: string
16333
+
15801
16334
  flags?: string
15802
16335
  }
15803
16336
  | string
15804
16337
  )[]
15805
16338
  | (
15806
16339
  | {
15807
- pattern?: string
16340
+ pattern: string
16341
+
15808
16342
  flags?: string
15809
16343
  }
15810
16344
  | string
@@ -15814,7 +16348,7 @@ type PerfectionistSortJsxProps = {
15814
16348
  | string
15815
16349
  | string[]
15816
16350
  | {
15817
- newlinesBetween?: 'ignore' | 'always' | 'never'
16351
+ newlinesBetween: 'ignore' | 'always' | 'never'
15818
16352
  }
15819
16353
  )[]
15820
16354
  }[]
@@ -15824,7 +16358,6 @@ type PerfectionistSortMaps = {
15824
16358
  order?: 'asc' | 'desc'
15825
16359
 
15826
16360
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15827
- [k: string]: unknown | undefined
15828
16361
  }
15829
16362
 
15830
16363
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -15847,10 +16380,9 @@ type PerfectionistSortMaps = {
15847
16380
  order?: 'asc' | 'desc'
15848
16381
 
15849
16382
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15850
- [k: string]: unknown | undefined
15851
16383
  }
15852
16384
 
15853
- groupName?: string
16385
+ groupName: string
15854
16386
 
15855
16387
  order?: 'asc' | 'desc'
15856
16388
 
@@ -15859,14 +16391,16 @@ type PerfectionistSortMaps = {
15859
16391
  elementNamePattern?:
15860
16392
  | (
15861
16393
  | {
15862
- pattern?: string
16394
+ pattern: string
16395
+
15863
16396
  flags?: string
15864
16397
  }
15865
16398
  | string
15866
16399
  )[]
15867
16400
  | (
15868
16401
  | {
15869
- pattern?: string
16402
+ pattern: string
16403
+
15870
16404
  flags?: string
15871
16405
  }
15872
16406
  | string
@@ -15880,10 +16414,9 @@ type PerfectionistSortMaps = {
15880
16414
  order?: 'asc' | 'desc'
15881
16415
 
15882
16416
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
15883
- [k: string]: unknown | undefined
15884
16417
  }
15885
16418
 
15886
- groupName?: string
16419
+ groupName: string
15887
16420
 
15888
16421
  order?: 'asc' | 'desc'
15889
16422
 
@@ -15892,32 +16425,37 @@ type PerfectionistSortMaps = {
15892
16425
  elementNamePattern?:
15893
16426
  | (
15894
16427
  | {
15895
- pattern?: string
16428
+ pattern: string
16429
+
15896
16430
  flags?: string
15897
16431
  }
15898
16432
  | string
15899
16433
  )[]
15900
16434
  | (
15901
16435
  | {
15902
- pattern?: string
16436
+ pattern: string
16437
+
15903
16438
  flags?: string
15904
16439
  }
15905
16440
  | string
15906
16441
  )
15907
16442
  }
15908
16443
  )[]
16444
+
15909
16445
  useConfigurationIf?: {
15910
16446
  allNamesMatchPattern?:
15911
16447
  | (
15912
16448
  | {
15913
- pattern?: string
16449
+ pattern: string
16450
+
15914
16451
  flags?: string
15915
16452
  }
15916
16453
  | string
15917
16454
  )[]
15918
16455
  | (
15919
16456
  | {
15920
- pattern?: string
16457
+ pattern: string
16458
+
15921
16459
  flags?: string
15922
16460
  }
15923
16461
  | string
@@ -15929,14 +16467,16 @@ type PerfectionistSortMaps = {
15929
16467
  | (
15930
16468
  | (
15931
16469
  | {
15932
- pattern?: string
16470
+ pattern: string
16471
+
15933
16472
  flags?: string
15934
16473
  }
15935
16474
  | string
15936
16475
  )[]
15937
16476
  | (
15938
16477
  | {
15939
- pattern?: string
16478
+ pattern: string
16479
+
15940
16480
  flags?: string
15941
16481
  }
15942
16482
  | string
@@ -15948,32 +16488,37 @@ type PerfectionistSortMaps = {
15948
16488
  | (
15949
16489
  | (
15950
16490
  | {
15951
- pattern?: string
16491
+ pattern: string
16492
+
15952
16493
  flags?: string
15953
16494
  }
15954
16495
  | string
15955
16496
  )[]
15956
16497
  | (
15957
16498
  | {
15958
- pattern?: string
16499
+ pattern: string
16500
+
15959
16501
  flags?: string
15960
16502
  }
15961
16503
  | string
15962
16504
  )
15963
16505
  )
16506
+
15964
16507
  line?:
15965
16508
  | boolean
15966
16509
  | (
15967
16510
  | (
15968
16511
  | {
15969
- pattern?: string
16512
+ pattern: string
16513
+
15970
16514
  flags?: string
15971
16515
  }
15972
16516
  | string
15973
16517
  )[]
15974
16518
  | (
15975
16519
  | {
15976
- pattern?: string
16520
+ pattern: string
16521
+
15977
16522
  flags?: string
15978
16523
  }
15979
16524
  | string
@@ -15989,7 +16534,7 @@ type PerfectionistSortMaps = {
15989
16534
  | string
15990
16535
  | string[]
15991
16536
  | {
15992
- newlinesBetween?: 'ignore' | 'always' | 'never'
16537
+ newlinesBetween: 'ignore' | 'always' | 'never'
15993
16538
  }
15994
16539
  )[]
15995
16540
  }[]
@@ -16002,7 +16547,6 @@ type PerfectionistSortModules =
16002
16547
  order?: 'asc' | 'desc'
16003
16548
 
16004
16549
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16005
- [k: string]: unknown | undefined
16006
16550
  }
16007
16551
 
16008
16552
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -16025,10 +16569,9 @@ type PerfectionistSortModules =
16025
16569
  order?: 'asc' | 'desc'
16026
16570
 
16027
16571
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16028
- [k: string]: unknown | undefined
16029
16572
  }
16030
16573
 
16031
- groupName?: string
16574
+ groupName: string
16032
16575
 
16033
16576
  order?: 'asc' | 'desc'
16034
16577
 
@@ -16041,14 +16584,16 @@ type PerfectionistSortModules =
16041
16584
  decoratorNamePattern?:
16042
16585
  | (
16043
16586
  | {
16044
- pattern?: string
16587
+ pattern: string
16588
+
16045
16589
  flags?: string
16046
16590
  }
16047
16591
  | string
16048
16592
  )[]
16049
16593
  | (
16050
16594
  | {
16051
- pattern?: string
16595
+ pattern: string
16596
+
16052
16597
  flags?: string
16053
16598
  }
16054
16599
  | string
@@ -16057,14 +16602,16 @@ type PerfectionistSortModules =
16057
16602
  elementNamePattern?:
16058
16603
  | (
16059
16604
  | {
16060
- pattern?: string
16605
+ pattern: string
16606
+
16061
16607
  flags?: string
16062
16608
  }
16063
16609
  | string
16064
16610
  )[]
16065
16611
  | (
16066
16612
  | {
16067
- pattern?: string
16613
+ pattern: string
16614
+
16068
16615
  flags?: string
16069
16616
  }
16070
16617
  | string
@@ -16078,10 +16625,9 @@ type PerfectionistSortModules =
16078
16625
  order?: 'asc' | 'desc'
16079
16626
 
16080
16627
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16081
- [k: string]: unknown | undefined
16082
16628
  }
16083
16629
 
16084
- groupName?: string
16630
+ groupName: string
16085
16631
 
16086
16632
  order?: 'asc' | 'desc'
16087
16633
 
@@ -16094,14 +16640,16 @@ type PerfectionistSortModules =
16094
16640
  decoratorNamePattern?:
16095
16641
  | (
16096
16642
  | {
16097
- pattern?: string
16643
+ pattern: string
16644
+
16098
16645
  flags?: string
16099
16646
  }
16100
16647
  | string
16101
16648
  )[]
16102
16649
  | (
16103
16650
  | {
16104
- pattern?: string
16651
+ pattern: string
16652
+
16105
16653
  flags?: string
16106
16654
  }
16107
16655
  | string
@@ -16110,14 +16658,16 @@ type PerfectionistSortModules =
16110
16658
  elementNamePattern?:
16111
16659
  | (
16112
16660
  | {
16113
- pattern?: string
16661
+ pattern: string
16662
+
16114
16663
  flags?: string
16115
16664
  }
16116
16665
  | string
16117
16666
  )[]
16118
16667
  | (
16119
16668
  | {
16120
- pattern?: string
16669
+ pattern: string
16670
+
16121
16671
  flags?: string
16122
16672
  }
16123
16673
  | string
@@ -16130,14 +16680,16 @@ type PerfectionistSortModules =
16130
16680
  | (
16131
16681
  | (
16132
16682
  | {
16133
- pattern?: string
16683
+ pattern: string
16684
+
16134
16685
  flags?: string
16135
16686
  }
16136
16687
  | string
16137
16688
  )[]
16138
16689
  | (
16139
16690
  | {
16140
- pattern?: string
16691
+ pattern: string
16692
+
16141
16693
  flags?: string
16142
16694
  }
16143
16695
  | string
@@ -16149,32 +16701,37 @@ type PerfectionistSortModules =
16149
16701
  | (
16150
16702
  | (
16151
16703
  | {
16152
- pattern?: string
16704
+ pattern: string
16705
+
16153
16706
  flags?: string
16154
16707
  }
16155
16708
  | string
16156
16709
  )[]
16157
16710
  | (
16158
16711
  | {
16159
- pattern?: string
16712
+ pattern: string
16713
+
16160
16714
  flags?: string
16161
16715
  }
16162
16716
  | string
16163
16717
  )
16164
16718
  )
16719
+
16165
16720
  line?:
16166
16721
  | boolean
16167
16722
  | (
16168
16723
  | (
16169
16724
  | {
16170
- pattern?: string
16725
+ pattern: string
16726
+
16171
16727
  flags?: string
16172
16728
  }
16173
16729
  | string
16174
16730
  )[]
16175
16731
  | (
16176
16732
  | {
16177
- pattern?: string
16733
+ pattern: string
16734
+
16178
16735
  flags?: string
16179
16736
  }
16180
16737
  | string
@@ -16190,7 +16747,7 @@ type PerfectionistSortModules =
16190
16747
  | string
16191
16748
  | string[]
16192
16749
  | {
16193
- newlinesBetween?: 'ignore' | 'always' | 'never'
16750
+ newlinesBetween: 'ignore' | 'always' | 'never'
16194
16751
  }
16195
16752
  )[]
16196
16753
  },
@@ -16201,7 +16758,6 @@ type PerfectionistSortNamedExports = {
16201
16758
  order?: 'asc' | 'desc'
16202
16759
 
16203
16760
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16204
- [k: string]: unknown | undefined
16205
16761
  }
16206
16762
 
16207
16763
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -16228,10 +16784,9 @@ type PerfectionistSortNamedExports = {
16228
16784
  order?: 'asc' | 'desc'
16229
16785
 
16230
16786
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16231
- [k: string]: unknown | undefined
16232
16787
  }
16233
16788
 
16234
- groupName?: string
16789
+ groupName: string
16235
16790
 
16236
16791
  order?: 'asc' | 'desc'
16237
16792
 
@@ -16244,14 +16799,16 @@ type PerfectionistSortNamedExports = {
16244
16799
  elementNamePattern?:
16245
16800
  | (
16246
16801
  | {
16247
- pattern?: string
16802
+ pattern: string
16803
+
16248
16804
  flags?: string
16249
16805
  }
16250
16806
  | string
16251
16807
  )[]
16252
16808
  | (
16253
16809
  | {
16254
- pattern?: string
16810
+ pattern: string
16811
+
16255
16812
  flags?: string
16256
16813
  }
16257
16814
  | string
@@ -16265,10 +16822,9 @@ type PerfectionistSortNamedExports = {
16265
16822
  order?: 'asc' | 'desc'
16266
16823
 
16267
16824
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16268
- [k: string]: unknown | undefined
16269
16825
  }
16270
16826
 
16271
- groupName?: string
16827
+ groupName: string
16272
16828
 
16273
16829
  order?: 'asc' | 'desc'
16274
16830
 
@@ -16281,14 +16837,16 @@ type PerfectionistSortNamedExports = {
16281
16837
  elementNamePattern?:
16282
16838
  | (
16283
16839
  | {
16284
- pattern?: string
16840
+ pattern: string
16841
+
16285
16842
  flags?: string
16286
16843
  }
16287
16844
  | string
16288
16845
  )[]
16289
16846
  | (
16290
16847
  | {
16291
- pattern?: string
16848
+ pattern: string
16849
+
16292
16850
  flags?: string
16293
16851
  }
16294
16852
  | string
@@ -16301,14 +16859,16 @@ type PerfectionistSortNamedExports = {
16301
16859
  | (
16302
16860
  | (
16303
16861
  | {
16304
- pattern?: string
16862
+ pattern: string
16863
+
16305
16864
  flags?: string
16306
16865
  }
16307
16866
  | string
16308
16867
  )[]
16309
16868
  | (
16310
16869
  | {
16311
- pattern?: string
16870
+ pattern: string
16871
+
16312
16872
  flags?: string
16313
16873
  }
16314
16874
  | string
@@ -16320,32 +16880,37 @@ type PerfectionistSortNamedExports = {
16320
16880
  | (
16321
16881
  | (
16322
16882
  | {
16323
- pattern?: string
16883
+ pattern: string
16884
+
16324
16885
  flags?: string
16325
16886
  }
16326
16887
  | string
16327
16888
  )[]
16328
16889
  | (
16329
16890
  | {
16330
- pattern?: string
16891
+ pattern: string
16892
+
16331
16893
  flags?: string
16332
16894
  }
16333
16895
  | string
16334
16896
  )
16335
16897
  )
16898
+
16336
16899
  line?:
16337
16900
  | boolean
16338
16901
  | (
16339
16902
  | (
16340
16903
  | {
16341
- pattern?: string
16904
+ pattern: string
16905
+
16342
16906
  flags?: string
16343
16907
  }
16344
16908
  | string
16345
16909
  )[]
16346
16910
  | (
16347
16911
  | {
16348
- pattern?: string
16912
+ pattern: string
16913
+
16349
16914
  flags?: string
16350
16915
  }
16351
16916
  | string
@@ -16361,7 +16926,7 @@ type PerfectionistSortNamedExports = {
16361
16926
  | string
16362
16927
  | string[]
16363
16928
  | {
16364
- newlinesBetween?: 'ignore' | 'always' | 'never'
16929
+ newlinesBetween: 'ignore' | 'always' | 'never'
16365
16930
  }
16366
16931
  )[]
16367
16932
  }[]
@@ -16371,7 +16936,6 @@ type PerfectionistSortNamedImports = {
16371
16936
  order?: 'asc' | 'desc'
16372
16937
 
16373
16938
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16374
- [k: string]: unknown | undefined
16375
16939
  }
16376
16940
 
16377
16941
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -16398,10 +16962,9 @@ type PerfectionistSortNamedImports = {
16398
16962
  order?: 'asc' | 'desc'
16399
16963
 
16400
16964
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16401
- [k: string]: unknown | undefined
16402
16965
  }
16403
16966
 
16404
- groupName?: string
16967
+ groupName: string
16405
16968
 
16406
16969
  order?: 'asc' | 'desc'
16407
16970
 
@@ -16414,14 +16977,16 @@ type PerfectionistSortNamedImports = {
16414
16977
  elementNamePattern?:
16415
16978
  | (
16416
16979
  | {
16417
- pattern?: string
16980
+ pattern: string
16981
+
16418
16982
  flags?: string
16419
16983
  }
16420
16984
  | string
16421
16985
  )[]
16422
16986
  | (
16423
16987
  | {
16424
- pattern?: string
16988
+ pattern: string
16989
+
16425
16990
  flags?: string
16426
16991
  }
16427
16992
  | string
@@ -16435,10 +17000,9 @@ type PerfectionistSortNamedImports = {
16435
17000
  order?: 'asc' | 'desc'
16436
17001
 
16437
17002
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16438
- [k: string]: unknown | undefined
16439
17003
  }
16440
17004
 
16441
- groupName?: string
17005
+ groupName: string
16442
17006
 
16443
17007
  order?: 'asc' | 'desc'
16444
17008
 
@@ -16451,14 +17015,16 @@ type PerfectionistSortNamedImports = {
16451
17015
  elementNamePattern?:
16452
17016
  | (
16453
17017
  | {
16454
- pattern?: string
17018
+ pattern: string
17019
+
16455
17020
  flags?: string
16456
17021
  }
16457
17022
  | string
16458
17023
  )[]
16459
17024
  | (
16460
17025
  | {
16461
- pattern?: string
17026
+ pattern: string
17027
+
16462
17028
  flags?: string
16463
17029
  }
16464
17030
  | string
@@ -16471,14 +17037,16 @@ type PerfectionistSortNamedImports = {
16471
17037
  | (
16472
17038
  | (
16473
17039
  | {
16474
- pattern?: string
17040
+ pattern: string
17041
+
16475
17042
  flags?: string
16476
17043
  }
16477
17044
  | string
16478
17045
  )[]
16479
17046
  | (
16480
17047
  | {
16481
- pattern?: string
17048
+ pattern: string
17049
+
16482
17050
  flags?: string
16483
17051
  }
16484
17052
  | string
@@ -16490,32 +17058,37 @@ type PerfectionistSortNamedImports = {
16490
17058
  | (
16491
17059
  | (
16492
17060
  | {
16493
- pattern?: string
17061
+ pattern: string
17062
+
16494
17063
  flags?: string
16495
17064
  }
16496
17065
  | string
16497
17066
  )[]
16498
17067
  | (
16499
17068
  | {
16500
- pattern?: string
17069
+ pattern: string
17070
+
16501
17071
  flags?: string
16502
17072
  }
16503
17073
  | string
16504
17074
  )
16505
17075
  )
17076
+
16506
17077
  line?:
16507
17078
  | boolean
16508
17079
  | (
16509
17080
  | (
16510
17081
  | {
16511
- pattern?: string
17082
+ pattern: string
17083
+
16512
17084
  flags?: string
16513
17085
  }
16514
17086
  | string
16515
17087
  )[]
16516
17088
  | (
16517
17089
  | {
16518
- pattern?: string
17090
+ pattern: string
17091
+
16519
17092
  flags?: string
16520
17093
  }
16521
17094
  | string
@@ -16531,7 +17104,7 @@ type PerfectionistSortNamedImports = {
16531
17104
  | string
16532
17105
  | string[]
16533
17106
  | {
16534
- newlinesBetween?: 'ignore' | 'always' | 'never'
17107
+ newlinesBetween: 'ignore' | 'always' | 'never'
16535
17108
  }
16536
17109
  )[]
16537
17110
  }[]
@@ -16541,7 +17114,7 @@ type PerfectionistSortObjectTypes = {
16541
17114
  order?: 'asc' | 'desc'
16542
17115
 
16543
17116
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16544
- [k: string]: unknown | undefined
17117
+ sortBy?: 'name' | 'value'
16545
17118
  }
16546
17119
 
16547
17120
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -16568,10 +17141,9 @@ type PerfectionistSortObjectTypes = {
16568
17141
 
16569
17142
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16570
17143
  sortBy?: 'name' | 'value'
16571
- [k: string]: unknown | undefined
16572
17144
  }
16573
17145
 
16574
- groupName?: string
17146
+ groupName: string
16575
17147
 
16576
17148
  order?: 'asc' | 'desc'
16577
17149
 
@@ -16584,14 +17156,16 @@ type PerfectionistSortObjectTypes = {
16584
17156
  elementValuePattern?:
16585
17157
  | (
16586
17158
  | {
16587
- pattern?: string
17159
+ pattern: string
17160
+
16588
17161
  flags?: string
16589
17162
  }
16590
17163
  | string
16591
17164
  )[]
16592
17165
  | (
16593
17166
  | {
16594
- pattern?: string
17167
+ pattern: string
17168
+
16595
17169
  flags?: string
16596
17170
  }
16597
17171
  | string
@@ -16600,14 +17174,16 @@ type PerfectionistSortObjectTypes = {
16600
17174
  elementNamePattern?:
16601
17175
  | (
16602
17176
  | {
16603
- pattern?: string
17177
+ pattern: string
17178
+
16604
17179
  flags?: string
16605
17180
  }
16606
17181
  | string
16607
17182
  )[]
16608
17183
  | (
16609
17184
  | {
16610
- pattern?: string
17185
+ pattern: string
17186
+
16611
17187
  flags?: string
16612
17188
  }
16613
17189
  | string
@@ -16623,10 +17199,9 @@ type PerfectionistSortObjectTypes = {
16623
17199
 
16624
17200
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16625
17201
  sortBy?: 'name' | 'value'
16626
- [k: string]: unknown | undefined
16627
17202
  }
16628
17203
 
16629
- groupName?: string
17204
+ groupName: string
16630
17205
 
16631
17206
  order?: 'asc' | 'desc'
16632
17207
 
@@ -16639,14 +17214,16 @@ type PerfectionistSortObjectTypes = {
16639
17214
  elementValuePattern?:
16640
17215
  | (
16641
17216
  | {
16642
- pattern?: string
17217
+ pattern: string
17218
+
16643
17219
  flags?: string
16644
17220
  }
16645
17221
  | string
16646
17222
  )[]
16647
17223
  | (
16648
17224
  | {
16649
- pattern?: string
17225
+ pattern: string
17226
+
16650
17227
  flags?: string
16651
17228
  }
16652
17229
  | string
@@ -16655,14 +17232,16 @@ type PerfectionistSortObjectTypes = {
16655
17232
  elementNamePattern?:
16656
17233
  | (
16657
17234
  | {
16658
- pattern?: string
17235
+ pattern: string
17236
+
16659
17237
  flags?: string
16660
17238
  }
16661
17239
  | string
16662
17240
  )[]
16663
17241
  | (
16664
17242
  | {
16665
- pattern?: string
17243
+ pattern: string
17244
+
16666
17245
  flags?: string
16667
17246
  }
16668
17247
  | string
@@ -16672,18 +17251,21 @@ type PerfectionistSortObjectTypes = {
16672
17251
  )[]
16673
17252
 
16674
17253
  groupKind?: 'mixed' | 'required-first' | 'optional-first'
17254
+
16675
17255
  useConfigurationIf?: {
16676
17256
  allNamesMatchPattern?:
16677
17257
  | (
16678
17258
  | {
16679
- pattern?: string
17259
+ pattern: string
17260
+
16680
17261
  flags?: string
16681
17262
  }
16682
17263
  | string
16683
17264
  )[]
16684
17265
  | (
16685
17266
  | {
16686
- pattern?: string
17267
+ pattern: string
17268
+
16687
17269
  flags?: string
16688
17270
  }
16689
17271
  | string
@@ -16692,14 +17274,16 @@ type PerfectionistSortObjectTypes = {
16692
17274
  declarationMatchesPattern?:
16693
17275
  | (
16694
17276
  | {
16695
- pattern?: string
17277
+ pattern: string
17278
+
16696
17279
  flags?: string
16697
17280
  }
16698
17281
  | string
16699
17282
  )[]
16700
17283
  | (
16701
17284
  | {
16702
- pattern?: string
17285
+ pattern: string
17286
+
16703
17287
  flags?: string
16704
17288
  }
16705
17289
  | string
@@ -16711,14 +17295,16 @@ type PerfectionistSortObjectTypes = {
16711
17295
  | (
16712
17296
  | (
16713
17297
  | {
16714
- pattern?: string
17298
+ pattern: string
17299
+
16715
17300
  flags?: string
16716
17301
  }
16717
17302
  | string
16718
17303
  )[]
16719
17304
  | (
16720
17305
  | {
16721
- pattern?: string
17306
+ pattern: string
17307
+
16722
17308
  flags?: string
16723
17309
  }
16724
17310
  | string
@@ -16730,32 +17316,37 @@ type PerfectionistSortObjectTypes = {
16730
17316
  | (
16731
17317
  | (
16732
17318
  | {
16733
- pattern?: string
17319
+ pattern: string
17320
+
16734
17321
  flags?: string
16735
17322
  }
16736
17323
  | string
16737
17324
  )[]
16738
17325
  | (
16739
17326
  | {
16740
- pattern?: string
17327
+ pattern: string
17328
+
16741
17329
  flags?: string
16742
17330
  }
16743
17331
  | string
16744
17332
  )
16745
17333
  )
17334
+
16746
17335
  line?:
16747
17336
  | boolean
16748
17337
  | (
16749
17338
  | (
16750
17339
  | {
16751
- pattern?: string
17340
+ pattern: string
17341
+
16752
17342
  flags?: string
16753
17343
  }
16754
17344
  | string
16755
17345
  )[]
16756
17346
  | (
16757
17347
  | {
16758
- pattern?: string
17348
+ pattern: string
17349
+
16759
17350
  flags?: string
16760
17351
  }
16761
17352
  | string
@@ -16770,14 +17361,16 @@ type PerfectionistSortObjectTypes = {
16770
17361
  ignorePattern?:
16771
17362
  | (
16772
17363
  | {
16773
- pattern?: string
17364
+ pattern: string
17365
+
16774
17366
  flags?: string
16775
17367
  }
16776
17368
  | string
16777
17369
  )[]
16778
17370
  | (
16779
17371
  | {
16780
- pattern?: string
17372
+ pattern: string
17373
+
16781
17374
  flags?: string
16782
17375
  }
16783
17376
  | string
@@ -16788,7 +17381,7 @@ type PerfectionistSortObjectTypes = {
16788
17381
  | string
16789
17382
  | string[]
16790
17383
  | {
16791
- newlinesBetween?: 'ignore' | 'always' | 'never'
17384
+ newlinesBetween: 'ignore' | 'always' | 'never'
16792
17385
  }
16793
17386
  )[]
16794
17387
  }[]
@@ -16798,7 +17391,6 @@ type PerfectionistSortObjects = {
16798
17391
  order?: 'asc' | 'desc'
16799
17392
 
16800
17393
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16801
- [k: string]: unknown | undefined
16802
17394
  }
16803
17395
 
16804
17396
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -16830,10 +17422,9 @@ type PerfectionistSortObjects = {
16830
17422
  order?: 'asc' | 'desc'
16831
17423
 
16832
17424
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16833
- [k: string]: unknown | undefined
16834
17425
  }
16835
17426
 
16836
- groupName?: string
17427
+ groupName: string
16837
17428
 
16838
17429
  order?: 'asc' | 'desc'
16839
17430
 
@@ -16846,14 +17437,16 @@ type PerfectionistSortObjects = {
16846
17437
  elementValuePattern?:
16847
17438
  | (
16848
17439
  | {
16849
- pattern?: string
17440
+ pattern: string
17441
+
16850
17442
  flags?: string
16851
17443
  }
16852
17444
  | string
16853
17445
  )[]
16854
17446
  | (
16855
17447
  | {
16856
- pattern?: string
17448
+ pattern: string
17449
+
16857
17450
  flags?: string
16858
17451
  }
16859
17452
  | string
@@ -16862,14 +17455,16 @@ type PerfectionistSortObjects = {
16862
17455
  elementNamePattern?:
16863
17456
  | (
16864
17457
  | {
16865
- pattern?: string
17458
+ pattern: string
17459
+
16866
17460
  flags?: string
16867
17461
  }
16868
17462
  | string
16869
17463
  )[]
16870
17464
  | (
16871
17465
  | {
16872
- pattern?: string
17466
+ pattern: string
17467
+
16873
17468
  flags?: string
16874
17469
  }
16875
17470
  | string
@@ -16883,10 +17478,9 @@ type PerfectionistSortObjects = {
16883
17478
  order?: 'asc' | 'desc'
16884
17479
 
16885
17480
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
16886
- [k: string]: unknown | undefined
16887
17481
  }
16888
17482
 
16889
- groupName?: string
17483
+ groupName: string
16890
17484
 
16891
17485
  order?: 'asc' | 'desc'
16892
17486
 
@@ -16899,14 +17493,16 @@ type PerfectionistSortObjects = {
16899
17493
  elementValuePattern?:
16900
17494
  | (
16901
17495
  | {
16902
- pattern?: string
17496
+ pattern: string
17497
+
16903
17498
  flags?: string
16904
17499
  }
16905
17500
  | string
16906
17501
  )[]
16907
17502
  | (
16908
17503
  | {
16909
- pattern?: string
17504
+ pattern: string
17505
+
16910
17506
  flags?: string
16911
17507
  }
16912
17508
  | string
@@ -16915,32 +17511,37 @@ type PerfectionistSortObjects = {
16915
17511
  elementNamePattern?:
16916
17512
  | (
16917
17513
  | {
16918
- pattern?: string
17514
+ pattern: string
17515
+
16919
17516
  flags?: string
16920
17517
  }
16921
17518
  | string
16922
17519
  )[]
16923
17520
  | (
16924
17521
  | {
16925
- pattern?: string
17522
+ pattern: string
17523
+
16926
17524
  flags?: string
16927
17525
  }
16928
17526
  | string
16929
17527
  )
16930
17528
  }
16931
17529
  )[]
17530
+
16932
17531
  useConfigurationIf?: {
16933
17532
  allNamesMatchPattern?:
16934
17533
  | (
16935
17534
  | {
16936
- pattern?: string
17535
+ pattern: string
17536
+
16937
17537
  flags?: string
16938
17538
  }
16939
17539
  | string
16940
17540
  )[]
16941
17541
  | (
16942
17542
  | {
16943
- pattern?: string
17543
+ pattern: string
17544
+
16944
17545
  flags?: string
16945
17546
  }
16946
17547
  | string
@@ -16949,14 +17550,16 @@ type PerfectionistSortObjects = {
16949
17550
  callingFunctionNamePattern?:
16950
17551
  | (
16951
17552
  | {
16952
- pattern?: string
17553
+ pattern: string
17554
+
16953
17555
  flags?: string
16954
17556
  }
16955
17557
  | string
16956
17558
  )[]
16957
17559
  | (
16958
17560
  | {
16959
- pattern?: string
17561
+ pattern: string
17562
+
16960
17563
  flags?: string
16961
17564
  }
16962
17565
  | string
@@ -16974,14 +17577,226 @@ type PerfectionistSortObjects = {
16974
17577
  | (
16975
17578
  | (
16976
17579
  | {
16977
- pattern?: string
17580
+ pattern: string
17581
+
17582
+ flags?: string
17583
+ }
17584
+ | string
17585
+ )[]
17586
+ | (
17587
+ | {
17588
+ pattern: string
17589
+
17590
+ flags?: string
17591
+ }
17592
+ | string
17593
+ )
17594
+ )
17595
+ | {
17596
+ block?:
17597
+ | boolean
17598
+ | (
17599
+ | (
17600
+ | {
17601
+ pattern: string
17602
+
17603
+ flags?: string
17604
+ }
17605
+ | string
17606
+ )[]
17607
+ | (
17608
+ | {
17609
+ pattern: string
17610
+
17611
+ flags?: string
17612
+ }
17613
+ | string
17614
+ )
17615
+ )
17616
+
17617
+ line?:
17618
+ | boolean
17619
+ | (
17620
+ | (
17621
+ | {
17622
+ pattern: string
17623
+
17624
+ flags?: string
17625
+ }
17626
+ | string
17627
+ )[]
17628
+ | (
17629
+ | {
17630
+ pattern: string
17631
+
17632
+ flags?: string
17633
+ }
17634
+ | string
17635
+ )
17636
+ )
17637
+ }
17638
+
17639
+ partitionByNewLine?: boolean
17640
+
17641
+ newlinesBetween?: 'ignore' | 'always' | 'never'
17642
+
17643
+ ignorePattern?:
17644
+ | (
17645
+ | {
17646
+ pattern: string
17647
+
17648
+ flags?: string
17649
+ }
17650
+ | string
17651
+ )[]
17652
+ | (
17653
+ | {
17654
+ pattern: string
17655
+
17656
+ flags?: string
17657
+ }
17658
+ | string
17659
+ )
17660
+
17661
+ groups?: (
17662
+ | string
17663
+ | string[]
17664
+ | {
17665
+ newlinesBetween: 'ignore' | 'always' | 'never'
17666
+ }
17667
+ )[]
17668
+ }[]
17669
+ // ----- perfectionist/sort-sets -----
17670
+ type PerfectionistSortSets = {
17671
+ fallbackSort?: {
17672
+ order?: 'asc' | 'desc'
17673
+
17674
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17675
+ }
17676
+
17677
+ specialCharacters?: 'remove' | 'trim' | 'keep'
17678
+
17679
+ ignoreCase?: boolean
17680
+
17681
+ alphabet?: string
17682
+
17683
+ locales?: string | string[]
17684
+
17685
+ order?: 'asc' | 'desc'
17686
+
17687
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17688
+
17689
+ groupKind?: 'mixed' | 'literals-first' | 'spreads-first'
17690
+
17691
+ customGroups?: (
17692
+ | {
17693
+ newlinesInside?: 'always' | 'never'
17694
+
17695
+ fallbackSort?: {
17696
+ order?: 'asc' | 'desc'
17697
+
17698
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17699
+ }
17700
+
17701
+ groupName: string
17702
+
17703
+ order?: 'asc' | 'desc'
17704
+
17705
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17706
+ anyOf?: {
17707
+ selector?: 'literal' | 'spread'
17708
+
17709
+ elementNamePattern?:
17710
+ | (
17711
+ | {
17712
+ pattern: string
17713
+
17714
+ flags?: string
17715
+ }
17716
+ | string
17717
+ )[]
17718
+ | (
17719
+ | {
17720
+ pattern: string
17721
+
17722
+ flags?: string
17723
+ }
17724
+ | string
17725
+ )
17726
+ }[]
17727
+ }
17728
+ | {
17729
+ newlinesInside?: 'always' | 'never'
17730
+
17731
+ fallbackSort?: {
17732
+ order?: 'asc' | 'desc'
17733
+
17734
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17735
+ }
17736
+
17737
+ groupName: string
17738
+
17739
+ order?: 'asc' | 'desc'
17740
+
17741
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17742
+
17743
+ selector?: 'literal' | 'spread'
17744
+
17745
+ elementNamePattern?:
17746
+ | (
17747
+ | {
17748
+ pattern: string
17749
+
17750
+ flags?: string
17751
+ }
17752
+ | string
17753
+ )[]
17754
+ | (
17755
+ | {
17756
+ pattern: string
17757
+
17758
+ flags?: string
17759
+ }
17760
+ | string
17761
+ )
17762
+ }
17763
+ )[]
17764
+
17765
+ useConfigurationIf?: {
17766
+ allNamesMatchPattern?:
17767
+ | (
17768
+ | {
17769
+ pattern: string
17770
+
17771
+ flags?: string
17772
+ }
17773
+ | string
17774
+ )[]
17775
+ | (
17776
+ | {
17777
+ pattern: string
17778
+
17779
+ flags?: string
17780
+ }
17781
+ | string
17782
+ )
17783
+ }
17784
+
17785
+ partitionByComment?:
17786
+ | boolean
17787
+ | (
17788
+ | (
17789
+ | {
17790
+ pattern: string
17791
+
16978
17792
  flags?: string
16979
17793
  }
16980
17794
  | string
16981
17795
  )[]
16982
17796
  | (
16983
17797
  | {
16984
- pattern?: string
17798
+ pattern: string
17799
+
16985
17800
  flags?: string
16986
17801
  }
16987
17802
  | string
@@ -16993,32 +17808,37 @@ type PerfectionistSortObjects = {
16993
17808
  | (
16994
17809
  | (
16995
17810
  | {
16996
- pattern?: string
17811
+ pattern: string
17812
+
16997
17813
  flags?: string
16998
17814
  }
16999
17815
  | string
17000
17816
  )[]
17001
17817
  | (
17002
17818
  | {
17003
- pattern?: string
17819
+ pattern: string
17820
+
17004
17821
  flags?: string
17005
17822
  }
17006
17823
  | string
17007
17824
  )
17008
17825
  )
17826
+
17009
17827
  line?:
17010
17828
  | boolean
17011
17829
  | (
17012
17830
  | (
17013
17831
  | {
17014
- pattern?: string
17832
+ pattern: string
17833
+
17015
17834
  flags?: string
17016
17835
  }
17017
17836
  | string
17018
17837
  )[]
17019
17838
  | (
17020
17839
  | {
17021
- pattern?: string
17840
+ pattern: string
17841
+
17022
17842
  flags?: string
17023
17843
  }
17024
17844
  | string
@@ -17030,37 +17850,44 @@ type PerfectionistSortObjects = {
17030
17850
 
17031
17851
  newlinesBetween?: 'ignore' | 'always' | 'never'
17032
17852
 
17033
- ignorePattern?:
17034
- | (
17035
- | {
17036
- pattern?: string
17037
- flags?: string
17038
- }
17039
- | string
17040
- )[]
17041
- | (
17042
- | {
17043
- pattern?: string
17044
- flags?: string
17045
- }
17046
- | string
17047
- )
17048
-
17049
17853
  groups?: (
17050
17854
  | string
17051
17855
  | string[]
17052
17856
  | {
17053
- newlinesBetween?: 'ignore' | 'always' | 'never'
17857
+ newlinesBetween: 'ignore' | 'always' | 'never'
17054
17858
  }
17055
17859
  )[]
17056
17860
  }[]
17057
- // ----- perfectionist/sort-sets -----
17058
- type PerfectionistSortSets = {
17861
+ // ----- perfectionist/sort-switch-case -----
17862
+ type PerfectionistSortSwitchCase =
17863
+ | []
17864
+ | [
17865
+ {
17866
+ fallbackSort?: {
17867
+ order?: 'asc' | 'desc'
17868
+
17869
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17870
+ }
17871
+
17872
+ specialCharacters?: 'remove' | 'trim' | 'keep'
17873
+
17874
+ ignoreCase?: boolean
17875
+
17876
+ alphabet?: string
17877
+
17878
+ locales?: string | string[]
17879
+
17880
+ order?: 'asc' | 'desc'
17881
+
17882
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17883
+ },
17884
+ ]
17885
+ // ----- perfectionist/sort-union-types -----
17886
+ type PerfectionistSortUnionTypes = {
17059
17887
  fallbackSort?: {
17060
17888
  order?: 'asc' | 'desc'
17061
17889
 
17062
17890
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17063
- [k: string]: unknown | undefined
17064
17891
  }
17065
17892
 
17066
17893
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -17075,8 +17902,6 @@ type PerfectionistSortSets = {
17075
17902
 
17076
17903
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17077
17904
 
17078
- groupKind?: 'mixed' | 'literals-first' | 'spreads-first'
17079
-
17080
17905
  customGroups?: (
17081
17906
  | {
17082
17907
  newlinesInside?: 'always' | 'never'
@@ -17085,28 +17910,41 @@ type PerfectionistSortSets = {
17085
17910
  order?: 'asc' | 'desc'
17086
17911
 
17087
17912
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17088
- [k: string]: unknown | undefined
17089
17913
  }
17090
17914
 
17091
- groupName?: string
17915
+ groupName: string
17092
17916
 
17093
17917
  order?: 'asc' | 'desc'
17094
17918
 
17095
17919
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17096
17920
  anyOf?: {
17097
- selector?: 'literal' | 'spread'
17921
+ selector?:
17922
+ | 'intersection'
17923
+ | 'conditional'
17924
+ | 'function'
17925
+ | 'operator'
17926
+ | 'keyword'
17927
+ | 'literal'
17928
+ | 'nullish'
17929
+ | 'import'
17930
+ | 'object'
17931
+ | 'named'
17932
+ | 'tuple'
17933
+ | 'union'
17098
17934
 
17099
17935
  elementNamePattern?:
17100
17936
  | (
17101
17937
  | {
17102
- pattern?: string
17938
+ pattern: string
17939
+
17103
17940
  flags?: string
17104
17941
  }
17105
17942
  | string
17106
17943
  )[]
17107
17944
  | (
17108
17945
  | {
17109
- pattern?: string
17946
+ pattern: string
17947
+
17110
17948
  flags?: string
17111
17949
  }
17112
17950
  | string
@@ -17120,65 +17958,63 @@ type PerfectionistSortSets = {
17120
17958
  order?: 'asc' | 'desc'
17121
17959
 
17122
17960
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17123
- [k: string]: unknown | undefined
17124
17961
  }
17125
17962
 
17126
- groupName?: string
17963
+ groupName: string
17127
17964
 
17128
17965
  order?: 'asc' | 'desc'
17129
17966
 
17130
17967
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17131
17968
 
17132
- selector?: 'literal' | 'spread'
17969
+ selector?:
17970
+ | 'intersection'
17971
+ | 'conditional'
17972
+ | 'function'
17973
+ | 'operator'
17974
+ | 'keyword'
17975
+ | 'literal'
17976
+ | 'nullish'
17977
+ | 'import'
17978
+ | 'object'
17979
+ | 'named'
17980
+ | 'tuple'
17981
+ | 'union'
17133
17982
 
17134
17983
  elementNamePattern?:
17135
17984
  | (
17136
17985
  | {
17137
- pattern?: string
17986
+ pattern: string
17987
+
17138
17988
  flags?: string
17139
17989
  }
17140
17990
  | string
17141
17991
  )[]
17142
17992
  | (
17143
17993
  | {
17144
- pattern?: string
17994
+ pattern: string
17995
+
17145
17996
  flags?: string
17146
17997
  }
17147
17998
  | string
17148
17999
  )
17149
18000
  }
17150
18001
  )[]
17151
- useConfigurationIf?: {
17152
- allNamesMatchPattern?:
17153
- | (
17154
- | {
17155
- pattern?: string
17156
- flags?: string
17157
- }
17158
- | string
17159
- )[]
17160
- | (
17161
- | {
17162
- pattern?: string
17163
- flags?: string
17164
- }
17165
- | string
17166
- )
17167
- }
17168
18002
 
17169
18003
  partitionByComment?:
17170
18004
  | boolean
17171
18005
  | (
17172
18006
  | (
17173
18007
  | {
17174
- pattern?: string
18008
+ pattern: string
18009
+
17175
18010
  flags?: string
17176
18011
  }
17177
18012
  | string
17178
18013
  )[]
17179
18014
  | (
17180
18015
  | {
17181
- pattern?: string
18016
+ pattern: string
18017
+
17182
18018
  flags?: string
17183
18019
  }
17184
18020
  | string
@@ -17190,32 +18026,37 @@ type PerfectionistSortSets = {
17190
18026
  | (
17191
18027
  | (
17192
18028
  | {
17193
- pattern?: string
18029
+ pattern: string
18030
+
17194
18031
  flags?: string
17195
18032
  }
17196
18033
  | string
17197
18034
  )[]
17198
18035
  | (
17199
18036
  | {
17200
- pattern?: string
18037
+ pattern: string
18038
+
17201
18039
  flags?: string
17202
18040
  }
17203
18041
  | string
17204
18042
  )
17205
18043
  )
18044
+
17206
18045
  line?:
17207
18046
  | boolean
17208
18047
  | (
17209
18048
  | (
17210
18049
  | {
17211
- pattern?: string
18050
+ pattern: string
18051
+
17212
18052
  flags?: string
17213
18053
  }
17214
18054
  | string
17215
18055
  )[]
17216
18056
  | (
17217
18057
  | {
17218
- pattern?: string
18058
+ pattern: string
18059
+
17219
18060
  flags?: string
17220
18061
  }
17221
18062
  | string
@@ -17231,12 +18072,12 @@ type PerfectionistSortSets = {
17231
18072
  | string
17232
18073
  | string[]
17233
18074
  | {
17234
- newlinesBetween?: 'ignore' | 'always' | 'never'
18075
+ newlinesBetween: 'ignore' | 'always' | 'never'
17235
18076
  }
17236
18077
  )[]
17237
18078
  }[]
17238
- // ----- perfectionist/sort-switch-case -----
17239
- type PerfectionistSortSwitchCase =
18079
+ // ----- perfectionist/sort-variable-declarations -----
18080
+ type PerfectionistSortVariableDeclarations =
17240
18081
  | []
17241
18082
  | [
17242
18083
  {
@@ -17244,7 +18085,6 @@ type PerfectionistSortSwitchCase =
17244
18085
  order?: 'asc' | 'desc'
17245
18086
 
17246
18087
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17247
- [k: string]: unknown | undefined
17248
18088
  }
17249
18089
 
17250
18090
  specialCharacters?: 'remove' | 'trim' | 'keep'
@@ -17258,139 +18098,96 @@ type PerfectionistSortSwitchCase =
17258
18098
  order?: 'asc' | 'desc'
17259
18099
 
17260
18100
  type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17261
- },
17262
- ]
17263
- // ----- perfectionist/sort-union-types -----
17264
- type PerfectionistSortUnionTypes =
17265
- | []
17266
- | [
17267
- {
17268
- fallbackSort?: {
17269
- order?: 'asc' | 'desc'
17270
18101
 
17271
- type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17272
- [k: string]: unknown | undefined
17273
- }
18102
+ customGroups?: (
18103
+ | {
18104
+ newlinesInside?: 'always' | 'never'
17274
18105
 
17275
- specialCharacters?: 'remove' | 'trim' | 'keep'
18106
+ fallbackSort?: {
18107
+ order?: 'asc' | 'desc'
17276
18108
 
17277
- ignoreCase?: boolean
18109
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
18110
+ }
17278
18111
 
17279
- alphabet?: string
18112
+ groupName: string
17280
18113
 
17281
- locales?: string | string[]
18114
+ order?: 'asc' | 'desc'
17282
18115
 
17283
- order?: 'asc' | 'desc'
18116
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
18117
+ anyOf?: {
18118
+ selector?: 'initialized' | 'uninitialized'
17284
18119
 
17285
- type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
18120
+ elementNamePattern?:
18121
+ | (
18122
+ | {
18123
+ pattern: string
17286
18124
 
17287
- partitionByComment?:
17288
- | boolean
17289
- | (
17290
- | (
17291
- | {
17292
- pattern?: string
17293
- flags?: string
17294
- }
17295
- | string
17296
- )[]
17297
- | (
17298
- | {
17299
- pattern?: string
17300
- flags?: string
17301
- }
17302
- | string
17303
- )
17304
- )
17305
- | {
17306
- block?:
17307
- | boolean
17308
- | (
17309
- | (
17310
- | {
17311
- pattern?: string
17312
- flags?: string
17313
- }
17314
- | string
17315
- )[]
17316
- | (
17317
- | {
17318
- pattern?: string
17319
- flags?: string
17320
- }
17321
- | string
17322
- )
17323
- )
17324
- line?:
17325
- | boolean
17326
- | (
17327
- | (
17328
- | {
17329
- pattern?: string
17330
- flags?: string
17331
- }
17332
- | string
17333
- )[]
17334
- | (
17335
- | {
17336
- pattern?: string
17337
- flags?: string
17338
- }
17339
- | string
17340
- )
17341
- )
17342
- }
18125
+ flags?: string
18126
+ }
18127
+ | string
18128
+ )[]
18129
+ | (
18130
+ | {
18131
+ pattern: string
17343
18132
 
17344
- partitionByNewLine?: boolean
18133
+ flags?: string
18134
+ }
18135
+ | string
18136
+ )
18137
+ }[]
18138
+ }
18139
+ | {
18140
+ newlinesInside?: 'always' | 'never'
17345
18141
 
17346
- newlinesBetween?: 'ignore' | 'always' | 'never'
18142
+ fallbackSort?: {
18143
+ order?: 'asc' | 'desc'
17347
18144
 
17348
- groups?: (
17349
- | string
17350
- | string[]
17351
- | {
17352
- newlinesBetween?: 'ignore' | 'always' | 'never'
17353
- }
17354
- )[]
17355
- },
17356
- ]
17357
- // ----- perfectionist/sort-variable-declarations -----
17358
- type PerfectionistSortVariableDeclarations =
17359
- | []
17360
- | [
17361
- {
17362
- fallbackSort?: {
17363
- order?: 'asc' | 'desc'
18145
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
18146
+ }
17364
18147
 
17365
- type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17366
- [k: string]: unknown | undefined
17367
- }
18148
+ groupName: string
17368
18149
 
17369
- specialCharacters?: 'remove' | 'trim' | 'keep'
18150
+ order?: 'asc' | 'desc'
17370
18151
 
17371
- ignoreCase?: boolean
18152
+ type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
17372
18153
 
17373
- alphabet?: string
18154
+ selector?: 'initialized' | 'uninitialized'
17374
18155
 
17375
- locales?: string | string[]
18156
+ elementNamePattern?:
18157
+ | (
18158
+ | {
18159
+ pattern: string
17376
18160
 
17377
- order?: 'asc' | 'desc'
18161
+ flags?: string
18162
+ }
18163
+ | string
18164
+ )[]
18165
+ | (
18166
+ | {
18167
+ pattern: string
17378
18168
 
17379
- type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
18169
+ flags?: string
18170
+ }
18171
+ | string
18172
+ )
18173
+ }
18174
+ )[]
17380
18175
 
17381
18176
  partitionByComment?:
17382
18177
  | boolean
17383
18178
  | (
17384
18179
  | (
17385
18180
  | {
17386
- pattern?: string
18181
+ pattern: string
18182
+
17387
18183
  flags?: string
17388
18184
  }
17389
18185
  | string
17390
18186
  )[]
17391
18187
  | (
17392
18188
  | {
17393
- pattern?: string
18189
+ pattern: string
18190
+
17394
18191
  flags?: string
17395
18192
  }
17396
18193
  | string
@@ -17402,32 +18199,37 @@ type PerfectionistSortVariableDeclarations =
17402
18199
  | (
17403
18200
  | (
17404
18201
  | {
17405
- pattern?: string
18202
+ pattern: string
18203
+
17406
18204
  flags?: string
17407
18205
  }
17408
18206
  | string
17409
18207
  )[]
17410
18208
  | (
17411
18209
  | {
17412
- pattern?: string
18210
+ pattern: string
18211
+
17413
18212
  flags?: string
17414
18213
  }
17415
18214
  | string
17416
18215
  )
17417
18216
  )
18217
+
17418
18218
  line?:
17419
18219
  | boolean
17420
18220
  | (
17421
18221
  | (
17422
18222
  | {
17423
- pattern?: string
18223
+ pattern: string
18224
+
17424
18225
  flags?: string
17425
18226
  }
17426
18227
  | string
17427
18228
  )[]
17428
18229
  | (
17429
18230
  | {
17430
- pattern?: string
18231
+ pattern: string
18232
+
17431
18233
  flags?: string
17432
18234
  }
17433
18235
  | string
@@ -17436,6 +18238,16 @@ type PerfectionistSortVariableDeclarations =
17436
18238
  }
17437
18239
 
17438
18240
  partitionByNewLine?: boolean
18241
+
18242
+ newlinesBetween?: 'ignore' | 'always' | 'never'
18243
+
18244
+ groups?: (
18245
+ | string
18246
+ | string[]
18247
+ | {
18248
+ newlinesBetween: 'ignore' | 'always' | 'never'
18249
+ }
18250
+ )[]
17439
18251
  },
17440
18252
  ]
17441
18253
  // ----- prefer-arrow-callback -----
@@ -18305,6 +19117,14 @@ type SveltePreferConst =
18305
19117
  excludedRunes?: string[]
18306
19118
  },
18307
19119
  ]
19120
+ // ----- svelte/require-event-prefix -----
19121
+ type SvelteRequireEventPrefix =
19122
+ | []
19123
+ | [
19124
+ {
19125
+ checkAsyncFunctions?: boolean
19126
+ },
19127
+ ]
18308
19128
  // ----- svelte/shorthand-attribute -----
18309
19129
  type SvelteShorthandAttribute =
18310
19130
  | []