@jsse/eslint-config 0.2.28 → 0.2.29

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
@@ -9841,17 +9841,16 @@ interface PerfectionistRuleOptions {
9841
9841
  * @see https://perfectionist.dev/rules/sort-array-includes
9842
9842
  */
9843
9843
  "perfectionist/sort-array-includes"?: Linter.RuleEntry<PerfectionistSortArrayIncludes>;
9844
- /**
9845
- * Enforce sorted Astro attributes.
9846
- * @see https://perfectionist.dev/rules/sort-astro-attributes
9847
- * @deprecated
9848
- */
9849
- "perfectionist/sort-astro-attributes"?: Linter.RuleEntry<PerfectionistSortAstroAttributes>;
9850
9844
  /**
9851
9845
  * Enforce sorted classes.
9852
9846
  * @see https://perfectionist.dev/rules/sort-classes
9853
9847
  */
9854
9848
  "perfectionist/sort-classes"?: Linter.RuleEntry<PerfectionistSortClasses>;
9849
+ /**
9850
+ * Enforce sorted decorators.
9851
+ * @see https://perfectionist.dev/rules/sort-decorators
9852
+ */
9853
+ "perfectionist/sort-decorators"?: Linter.RuleEntry<PerfectionistSortDecorators>;
9855
9854
  /**
9856
9855
  * Enforce sorted TypeScript enums.
9857
9856
  * @see https://perfectionist.dev/rules/sort-enums
@@ -9862,6 +9861,11 @@ interface PerfectionistRuleOptions {
9862
9861
  * @see https://perfectionist.dev/rules/sort-exports
9863
9862
  */
9864
9863
  "perfectionist/sort-exports"?: Linter.RuleEntry<PerfectionistSortExports>;
9864
+ /**
9865
+ * Enforce sorted heritage clauses.
9866
+ * @see https://perfectionist.dev/rules/sort-heritage-clauses
9867
+ */
9868
+ "perfectionist/sort-heritage-clauses"?: Linter.RuleEntry<PerfectionistSortHeritageClauses>;
9865
9869
  /**
9866
9870
  * Enforce sorted imports.
9867
9871
  * @see https://perfectionist.dev/rules/sort-imports
@@ -9887,6 +9891,11 @@ interface PerfectionistRuleOptions {
9887
9891
  * @see https://perfectionist.dev/rules/sort-maps
9888
9892
  */
9889
9893
  "perfectionist/sort-maps"?: Linter.RuleEntry<PerfectionistSortMaps>;
9894
+ /**
9895
+ * Enforce sorted modules.
9896
+ * @see https://perfectionist.dev/rules/sort-modules
9897
+ */
9898
+ "perfectionist/sort-modules"?: Linter.RuleEntry<PerfectionistSortModules>;
9890
9899
  /**
9891
9900
  * Enforce sorted named exports.
9892
9901
  * @see https://perfectionist.dev/rules/sort-named-exports
@@ -9912,12 +9921,6 @@ interface PerfectionistRuleOptions {
9912
9921
  * @see https://perfectionist.dev/rules/sort-sets
9913
9922
  */
9914
9923
  "perfectionist/sort-sets"?: Linter.RuleEntry<PerfectionistSortSets>;
9915
- /**
9916
- * Enforce sorted Svelte attributes.
9917
- * @see https://perfectionist.dev/rules/sort-svelte-attributes
9918
- * @deprecated
9919
- */
9920
- "perfectionist/sort-svelte-attributes"?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>;
9921
9924
  /**
9922
9925
  * Enforce sorted switch cases.
9923
9926
  * @see https://perfectionist.dev/rules/sort-switch-case
@@ -9933,12 +9936,6 @@ interface PerfectionistRuleOptions {
9933
9936
  * @see https://perfectionist.dev/rules/sort-variable-declarations
9934
9937
  */
9935
9938
  "perfectionist/sort-variable-declarations"?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>;
9936
- /**
9937
- * Enforce sorted Vue attributes.
9938
- * @see https://perfectionist.dev/rules/sort-vue-attributes
9939
- * @deprecated
9940
- */
9941
- "perfectionist/sort-vue-attributes"?: Linter.RuleEntry<PerfectionistSortVueAttributes>;
9942
9939
  }
9943
9940
 
9944
9941
  /* ======= Declarations ======= */
@@ -9947,153 +9944,161 @@ type PerfectionistSortArrayIncludes =
9947
9944
  | []
9948
9945
  | [
9949
9946
  {
9950
- type?: "alphabetical" | "natural" | "line-length";
9951
-
9952
- order?: "asc" | "desc";
9947
+ partitionByComment?: string[] | boolean | string;
9953
9948
 
9954
- matcher?: "minimatch" | "regex";
9949
+ groupKind?: "mixed" | "literals-first" | "spreads-first";
9955
9950
 
9956
- ignoreCase?: boolean;
9951
+ partitionByNewLine?: boolean;
9957
9952
 
9958
9953
  specialCharacters?: "remove" | "trim" | "keep";
9959
9954
 
9960
- groupKind?: "mixed" | "literals-first" | "spreads-first";
9955
+ ignoreCase?: boolean;
9961
9956
 
9962
- partitionByComment?: string[] | boolean | string;
9957
+ locales?: string | string[];
9963
9958
 
9964
- partitionByNewLine?: boolean;
9959
+ order?: "asc" | "desc";
9960
+
9961
+ type?: "alphabetical" | "natural" | "line-length";
9965
9962
  },
9966
9963
  ];
9967
- // ----- perfectionist/sort-astro-attributes -----
9968
- type PerfectionistSortAstroAttributes =
9964
+ // ----- perfectionist/sort-classes -----
9965
+ type PerfectionistSortClasses =
9969
9966
  | []
9970
9967
  | [
9971
9968
  {
9972
- type?: "alphabetical" | "natural" | "line-length";
9969
+ customGroups?: (
9970
+ | {
9971
+ groupName?: string;
9972
+
9973
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
9974
+
9975
+ order?: "desc" | "asc";
9976
+ anyOf?: {
9977
+ modifiers?: (
9978
+ | "async"
9979
+ | "protected"
9980
+ | "private"
9981
+ | "public"
9982
+ | "static"
9983
+ | "abstract"
9984
+ | "override"
9985
+ | "readonly"
9986
+ | "decorated"
9987
+ | "declare"
9988
+ | "optional"
9989
+ )[];
9990
+
9991
+ elementValuePattern?: string;
9992
+
9993
+ decoratorNamePattern?: string;
9994
+
9995
+ selector?:
9996
+ | "accessor-property"
9997
+ | "index-signature"
9998
+ | "constructor"
9999
+ | "static-block"
10000
+ | "get-method"
10001
+ | "set-method"
10002
+ | "function-property"
10003
+ | "property"
10004
+ | "method";
10005
+
10006
+ elementNamePattern?: string;
10007
+ }[];
10008
+ }
10009
+ | {
10010
+ groupName?: string;
10011
+
10012
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10013
+
10014
+ order?: "desc" | "asc";
10015
+
10016
+ modifiers?: (
10017
+ | "async"
10018
+ | "protected"
10019
+ | "private"
10020
+ | "public"
10021
+ | "static"
10022
+ | "abstract"
10023
+ | "override"
10024
+ | "readonly"
10025
+ | "decorated"
10026
+ | "declare"
10027
+ | "optional"
10028
+ )[];
10029
+
10030
+ elementValuePattern?: string;
10031
+
10032
+ decoratorNamePattern?: string;
10033
+
10034
+ selector?:
10035
+ | "accessor-property"
10036
+ | "index-signature"
10037
+ | "constructor"
10038
+ | "static-block"
10039
+ | "get-method"
10040
+ | "set-method"
10041
+ | "function-property"
10042
+ | "property"
10043
+ | "method";
10044
+
10045
+ elementNamePattern?: string;
10046
+ }
10047
+ )[];
9973
10048
 
9974
- order?: "asc" | "desc";
10049
+ ignoreCallbackDependenciesPatterns?: string[];
9975
10050
 
9976
- matcher?: "minimatch" | "regex";
10051
+ partitionByComment?: string[] | boolean | string;
9977
10052
 
9978
- ignoreCase?: boolean;
10053
+ partitionByNewLine?: boolean;
9979
10054
 
9980
10055
  specialCharacters?: "remove" | "trim" | "keep";
9981
10056
 
10057
+ newlinesBetween?: "ignore" | "always" | "never";
10058
+
10059
+ ignoreCase?: boolean;
10060
+
10061
+ locales?: string | string[];
10062
+
9982
10063
  groups?: (string | string[])[];
9983
10064
 
9984
- customGroups?: {
9985
- [k: string]: (string | string[]) | undefined;
9986
- };
10065
+ order?: "asc" | "desc";
10066
+
10067
+ type?: "alphabetical" | "natural" | "line-length";
9987
10068
  },
9988
10069
  ];
9989
- // ----- perfectionist/sort-classes -----
9990
- type PerfectionistSortClasses =
10070
+ // ----- perfectionist/sort-decorators -----
10071
+ type PerfectionistSortDecorators =
9991
10072
  | []
9992
10073
  | [
9993
10074
  {
9994
- type?: "alphabetical" | "natural" | "line-length";
10075
+ partitionByComment?: string[] | boolean | string;
9995
10076
 
9996
- order?: "asc" | "desc";
10077
+ sortOnParameters?: boolean;
9997
10078
 
9998
- matcher?: "minimatch" | "regex";
10079
+ sortOnProperties?: boolean;
9999
10080
 
10000
- ignoreCase?: boolean;
10081
+ sortOnAccessors?: boolean;
10082
+
10083
+ sortOnMethods?: boolean;
10084
+
10085
+ sortOnClasses?: boolean;
10001
10086
 
10002
10087
  specialCharacters?: "remove" | "trim" | "keep";
10003
10088
 
10004
- partitionByComment?: string[] | boolean | string;
10089
+ customGroups?: {
10090
+ [k: string]: (string | string[]) | undefined;
10091
+ };
10092
+
10093
+ ignoreCase?: boolean;
10094
+
10095
+ locales?: string | string[];
10005
10096
 
10006
10097
  groups?: (string | string[])[];
10007
10098
 
10008
- customGroups?:
10009
- | {
10010
- [k: string]: (string | string[]) | undefined;
10011
- }
10012
- | (
10013
- | {
10014
- groupName?: string;
10015
-
10016
- type?:
10017
- | "alphabetical"
10018
- | "line-length"
10019
- | "natural"
10020
- | "unsorted";
10021
-
10022
- order?: "desc" | "asc";
10023
- anyOf?: {
10024
- selector?:
10025
- | "accessor-property"
10026
- | "index-signature"
10027
- | "constructor"
10028
- | "static-block"
10029
- | "get-method"
10030
- | "set-method"
10031
- | "function-property"
10032
- | "property"
10033
- | "method";
10034
-
10035
- modifiers?: (
10036
- | "protected"
10037
- | "private"
10038
- | "public"
10039
- | "static"
10040
- | "abstract"
10041
- | "override"
10042
- | "readonly"
10043
- | "decorated"
10044
- | "declare"
10045
- | "optional"
10046
- )[];
10047
-
10048
- elementNamePattern?: string;
10049
-
10050
- elementValuePattern?: string;
10051
-
10052
- decoratorNamePattern?: string;
10053
- }[];
10054
- }
10055
- | {
10056
- groupName?: string;
10057
-
10058
- type?:
10059
- | "alphabetical"
10060
- | "line-length"
10061
- | "natural"
10062
- | "unsorted";
10063
-
10064
- order?: "desc" | "asc";
10065
-
10066
- selector?:
10067
- | "accessor-property"
10068
- | "index-signature"
10069
- | "constructor"
10070
- | "static-block"
10071
- | "get-method"
10072
- | "set-method"
10073
- | "function-property"
10074
- | "property"
10075
- | "method";
10076
-
10077
- modifiers?: (
10078
- | "protected"
10079
- | "private"
10080
- | "public"
10081
- | "static"
10082
- | "abstract"
10083
- | "override"
10084
- | "readonly"
10085
- | "decorated"
10086
- | "declare"
10087
- | "optional"
10088
- )[];
10089
-
10090
- elementNamePattern?: string;
10091
-
10092
- elementValuePattern?: string;
10093
-
10094
- decoratorNamePattern?: string;
10095
- }
10096
- )[];
10099
+ order?: "asc" | "desc";
10100
+
10101
+ type?: "alphabetical" | "natural" | "line-length";
10097
10102
  },
10098
10103
  ];
10099
10104
  // ----- perfectionist/sort-enums -----
@@ -10101,23 +10106,23 @@ type PerfectionistSortEnums =
10101
10106
  | []
10102
10107
  | [
10103
10108
  {
10104
- type?: "alphabetical" | "natural" | "line-length";
10109
+ partitionByComment?: string[] | boolean | string;
10105
10110
 
10106
- order?: "asc" | "desc";
10111
+ forceNumericSort?: boolean;
10107
10112
 
10108
- matcher?: "minimatch" | "regex";
10113
+ sortByValue?: boolean;
10109
10114
 
10110
- ignoreCase?: boolean;
10115
+ partitionByNewLine?: boolean;
10111
10116
 
10112
10117
  specialCharacters?: "remove" | "trim" | "keep";
10113
10118
 
10114
- sortByValue?: boolean;
10119
+ ignoreCase?: boolean;
10115
10120
 
10116
- forceNumericSort?: boolean;
10121
+ locales?: string | string[];
10117
10122
 
10118
- partitionByComment?: string[] | boolean | string;
10123
+ order?: "asc" | "desc";
10119
10124
 
10120
- partitionByNewLine?: boolean;
10125
+ type?: "alphabetical" | "natural" | "line-length";
10121
10126
  },
10122
10127
  ];
10123
10128
  // ----- perfectionist/sort-exports -----
@@ -10125,57 +10130,86 @@ type PerfectionistSortExports =
10125
10130
  | []
10126
10131
  | [
10127
10132
  {
10128
- type?: "alphabetical" | "natural" | "line-length";
10133
+ partitionByComment?: string[] | boolean | string;
10129
10134
 
10130
- order?: "asc" | "desc";
10135
+ groupKind?: "mixed" | "values-first" | "types-first";
10131
10136
 
10132
- matcher?: "minimatch" | "regex";
10137
+ partitionByNewLine?: boolean;
10138
+
10139
+ specialCharacters?: "remove" | "trim" | "keep";
10133
10140
 
10134
10141
  ignoreCase?: boolean;
10135
10142
 
10143
+ locales?: string | string[];
10144
+
10145
+ order?: "asc" | "desc";
10146
+
10147
+ type?: "alphabetical" | "natural" | "line-length";
10148
+ },
10149
+ ];
10150
+ // ----- perfectionist/sort-heritage-clauses -----
10151
+ type PerfectionistSortHeritageClauses =
10152
+ | []
10153
+ | [
10154
+ {
10136
10155
  specialCharacters?: "remove" | "trim" | "keep";
10137
10156
 
10138
- partitionByComment?: string[] | boolean | string;
10157
+ customGroups?: {
10158
+ [k: string]: (string | string[]) | undefined;
10159
+ };
10139
10160
 
10140
- partitionByNewLine?: boolean;
10161
+ ignoreCase?: boolean;
10141
10162
 
10142
- groupKind?: "mixed" | "values-first" | "types-first";
10163
+ locales?: string | string[];
10164
+
10165
+ groups?: (string | string[])[];
10166
+
10167
+ order?: "asc" | "desc";
10168
+
10169
+ type?: "alphabetical" | "natural" | "line-length";
10143
10170
  },
10144
10171
  ];
10145
10172
  // ----- perfectionist/sort-imports -----
10146
10173
  type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports];
10147
10174
  type _PerfectionistSortImportsSortImports =
10148
10175
  _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
10149
- type?: "alphabetical" | "natural" | "line-length";
10150
-
10151
- order?: "asc" | "desc";
10152
-
10153
- matcher?: "minimatch" | "regex";
10176
+ customGroups?: {
10177
+ value?: {
10178
+ [k: string]: unknown | undefined;
10179
+ };
10154
10180
 
10155
- ignoreCase?: boolean;
10181
+ type?: {
10182
+ [k: string]: unknown | undefined;
10183
+ };
10184
+ };
10156
10185
 
10157
- specialCharacters?: "remove" | "trim" | "keep";
10186
+ partitionByComment?: string[] | boolean | string;
10158
10187
 
10159
10188
  internalPattern?: string[];
10160
10189
 
10190
+ maxLineLength?: number;
10191
+
10161
10192
  sortSideEffects?: boolean;
10162
10193
 
10194
+ environment?: "node" | "bun";
10195
+
10196
+ tsconfigRootDir?: string;
10197
+
10198
+ partitionByNewLine?: boolean;
10199
+
10200
+ specialCharacters?: "remove" | "trim" | "keep";
10201
+
10163
10202
  newlinesBetween?: "ignore" | "always" | "never";
10164
10203
 
10165
- maxLineLength?: number;
10204
+ ignoreCase?: boolean;
10205
+
10206
+ locales?: string | string[];
10166
10207
 
10167
10208
  groups?: (string | string[])[];
10168
10209
 
10169
- customGroups?: {
10170
- type?: {
10171
- [k: string]: unknown | undefined;
10172
- };
10173
- value?: {
10174
- [k: string]: unknown | undefined;
10175
- };
10176
- };
10210
+ order?: "asc" | "desc";
10177
10211
 
10178
- environment?: "node" | "bun";
10212
+ type?: "alphabetical" | "natural" | "line-length";
10179
10213
  };
10180
10214
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType =
10181
10215
  | {
@@ -10191,29 +10225,31 @@ type PerfectionistSortInterfaces =
10191
10225
  | []
10192
10226
  | [
10193
10227
  {
10194
- type?: "alphabetical" | "natural" | "line-length";
10228
+ ignorePattern?: string[];
10195
10229
 
10196
- order?: "asc" | "desc";
10230
+ partitionByComment?: string[] | boolean | string;
10197
10231
 
10198
- matcher?: "minimatch" | "regex";
10232
+ groupKind?: "mixed" | "optional-first" | "required-first";
10199
10233
 
10200
- ignoreCase?: boolean;
10234
+ partitionByNewLine?: boolean;
10201
10235
 
10202
10236
  specialCharacters?: "remove" | "trim" | "keep";
10203
10237
 
10204
- ignorePattern?: string[];
10238
+ newlinesBetween?: "ignore" | "always" | "never";
10205
10239
 
10206
- partitionByComment?: boolean | string | string[];
10240
+ customGroups?: {
10241
+ [k: string]: (string | string[]) | undefined;
10242
+ };
10207
10243
 
10208
- partitionByNewLine?: boolean;
10244
+ ignoreCase?: boolean;
10209
10245
 
10210
- groupKind?: "mixed" | "optional-first" | "required-first";
10246
+ locales?: string | string[];
10211
10247
 
10212
10248
  groups?: (string | string[])[];
10213
10249
 
10214
- customGroups?: {
10215
- [k: string]: (string | string[]) | undefined;
10216
- };
10250
+ order?: "asc" | "desc";
10251
+
10252
+ type?: "alphabetical" | "natural" | "line-length";
10217
10253
  },
10218
10254
  ];
10219
10255
  // ----- perfectionist/sort-intersection-types -----
@@ -10221,21 +10257,23 @@ type PerfectionistSortIntersectionTypes =
10221
10257
  | []
10222
10258
  | [
10223
10259
  {
10224
- type?: "alphabetical" | "natural" | "line-length";
10260
+ partitionByComment?: string[] | boolean | string;
10225
10261
 
10226
- order?: "asc" | "desc";
10262
+ partitionByNewLine?: boolean;
10263
+
10264
+ specialCharacters?: "remove" | "trim" | "keep";
10227
10265
 
10228
- matcher?: "minimatch" | "regex";
10266
+ newlinesBetween?: "ignore" | "always" | "never";
10229
10267
 
10230
10268
  ignoreCase?: boolean;
10231
10269
 
10232
- specialCharacters?: "remove" | "trim" | "keep";
10270
+ locales?: string | string[];
10233
10271
 
10234
10272
  groups?: (string | string[])[];
10235
10273
 
10236
- partitionByComment?: string[] | boolean | string;
10274
+ order?: "asc" | "desc";
10237
10275
 
10238
- partitionByNewLine?: boolean;
10276
+ type?: "alphabetical" | "natural" | "line-length";
10239
10277
  },
10240
10278
  ];
10241
10279
  // ----- perfectionist/sort-jsx-props -----
@@ -10243,23 +10281,23 @@ type PerfectionistSortJsxProps =
10243
10281
  | []
10244
10282
  | [
10245
10283
  {
10246
- type?: "alphabetical" | "natural" | "line-length";
10284
+ ignorePattern?: string[];
10247
10285
 
10248
- order?: "asc" | "desc";
10286
+ specialCharacters?: "remove" | "trim" | "keep";
10249
10287
 
10250
- matcher?: "minimatch" | "regex";
10288
+ customGroups?: {
10289
+ [k: string]: (string | string[]) | undefined;
10290
+ };
10251
10291
 
10252
10292
  ignoreCase?: boolean;
10253
10293
 
10254
- specialCharacters?: "remove" | "trim" | "keep";
10255
-
10256
- ignorePattern?: string[];
10294
+ locales?: string | string[];
10257
10295
 
10258
10296
  groups?: (string | string[])[];
10259
10297
 
10260
- customGroups?: {
10261
- [k: string]: (string | string[]) | undefined;
10262
- };
10298
+ order?: "asc" | "desc";
10299
+
10300
+ type?: "alphabetical" | "natural" | "line-length";
10263
10301
  },
10264
10302
  ];
10265
10303
  // ----- perfectionist/sort-maps -----
@@ -10267,19 +10305,93 @@ type PerfectionistSortMaps =
10267
10305
  | []
10268
10306
  | [
10269
10307
  {
10270
- type?: "alphabetical" | "natural" | "line-length";
10308
+ partitionByComment?: string[] | boolean | string;
10271
10309
 
10272
- order?: "asc" | "desc";
10310
+ partitionByNewLine?: boolean;
10273
10311
 
10274
- matcher?: "minimatch" | "regex";
10312
+ specialCharacters?: "remove" | "trim" | "keep";
10275
10313
 
10276
10314
  ignoreCase?: boolean;
10277
10315
 
10278
- specialCharacters?: "remove" | "trim" | "keep";
10316
+ locales?: string | string[];
10317
+
10318
+ order?: "asc" | "desc";
10319
+
10320
+ type?: "alphabetical" | "natural" | "line-length";
10321
+ },
10322
+ ];
10323
+ // ----- perfectionist/sort-modules -----
10324
+ type PerfectionistSortModules =
10325
+ | []
10326
+ | [
10327
+ {
10328
+ customGroups?: (
10329
+ | {
10330
+ groupName?: string;
10331
+
10332
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10333
+
10334
+ order?: "desc" | "asc";
10335
+ anyOf?: {
10336
+ modifiers?: (
10337
+ | "async"
10338
+ | "declare"
10339
+ | "decorated"
10340
+ | "default"
10341
+ | "export"
10342
+ )[];
10343
+
10344
+ elementValuePattern?: string;
10345
+
10346
+ decoratorNamePattern?: string;
10347
+
10348
+ selector?: "enum" | "function" | "interface" | "type" | "class";
10349
+
10350
+ elementNamePattern?: string;
10351
+ }[];
10352
+ }
10353
+ | {
10354
+ groupName?: string;
10355
+
10356
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10357
+
10358
+ order?: "desc" | "asc";
10359
+
10360
+ modifiers?: (
10361
+ | "async"
10362
+ | "declare"
10363
+ | "decorated"
10364
+ | "default"
10365
+ | "export"
10366
+ )[];
10367
+
10368
+ elementValuePattern?: string;
10369
+
10370
+ decoratorNamePattern?: string;
10371
+
10372
+ selector?: "enum" | "function" | "interface" | "type" | "class";
10373
+
10374
+ elementNamePattern?: string;
10375
+ }
10376
+ )[];
10279
10377
 
10280
10378
  partitionByComment?: string[] | boolean | string;
10281
10379
 
10282
10380
  partitionByNewLine?: boolean;
10381
+
10382
+ specialCharacters?: "remove" | "trim" | "keep";
10383
+
10384
+ newlinesBetween?: "ignore" | "always" | "never";
10385
+
10386
+ ignoreCase?: boolean;
10387
+
10388
+ locales?: string | string[];
10389
+
10390
+ groups?: (string | string[])[];
10391
+
10392
+ order?: "asc" | "desc";
10393
+
10394
+ type?: "alphabetical" | "natural" | "line-length";
10283
10395
  },
10284
10396
  ];
10285
10397
  // ----- perfectionist/sort-named-exports -----
@@ -10287,21 +10399,21 @@ type PerfectionistSortNamedExports =
10287
10399
  | []
10288
10400
  | [
10289
10401
  {
10290
- type?: "alphabetical" | "natural" | "line-length";
10291
-
10292
- order?: "asc" | "desc";
10402
+ partitionByComment?: string[] | boolean | string;
10293
10403
 
10294
- matcher?: "minimatch" | "regex";
10404
+ groupKind?: "mixed" | "values-first" | "types-first";
10295
10405
 
10296
- ignoreCase?: boolean;
10406
+ partitionByNewLine?: boolean;
10297
10407
 
10298
10408
  specialCharacters?: "remove" | "trim" | "keep";
10299
10409
 
10300
- groupKind?: "mixed" | "values-first" | "types-first";
10410
+ ignoreCase?: boolean;
10301
10411
 
10302
- partitionByComment?: string[] | boolean | string;
10412
+ locales?: string | string[];
10303
10413
 
10304
- partitionByNewLine?: boolean;
10414
+ order?: "asc" | "desc";
10415
+
10416
+ type?: "alphabetical" | "natural" | "line-length";
10305
10417
  },
10306
10418
  ];
10307
10419
  // ----- perfectionist/sort-named-imports -----
@@ -10309,23 +10421,23 @@ type PerfectionistSortNamedImports =
10309
10421
  | []
10310
10422
  | [
10311
10423
  {
10312
- type?: "alphabetical" | "natural" | "line-length";
10424
+ partitionByComment?: string[] | boolean | string;
10313
10425
 
10314
- order?: "asc" | "desc";
10426
+ groupKind?: "mixed" | "values-first" | "types-first";
10315
10427
 
10316
- matcher?: "minimatch" | "regex";
10428
+ ignoreAlias?: boolean;
10317
10429
 
10318
- ignoreCase?: boolean;
10430
+ partitionByNewLine?: boolean;
10319
10431
 
10320
10432
  specialCharacters?: "remove" | "trim" | "keep";
10321
10433
 
10322
- ignoreAlias?: boolean;
10434
+ ignoreCase?: boolean;
10323
10435
 
10324
- groupKind?: "mixed" | "values-first" | "types-first";
10436
+ locales?: string | string[];
10325
10437
 
10326
- partitionByComment?: string[] | boolean | string;
10438
+ order?: "asc" | "desc";
10327
10439
 
10328
- partitionByNewLine?: boolean;
10440
+ type?: "alphabetical" | "natural" | "line-length";
10329
10441
  },
10330
10442
  ];
10331
10443
  // ----- perfectionist/sort-object-types -----
@@ -10333,27 +10445,29 @@ type PerfectionistSortObjectTypes =
10333
10445
  | []
10334
10446
  | [
10335
10447
  {
10336
- type?: "alphabetical" | "natural" | "line-length";
10337
-
10338
- order?: "asc" | "desc";
10448
+ partitionByComment?: string[] | boolean | string;
10339
10449
 
10340
- matcher?: "minimatch" | "regex";
10450
+ groupKind?: "mixed" | "required-first" | "optional-first";
10341
10451
 
10342
- ignoreCase?: boolean;
10452
+ partitionByNewLine?: boolean;
10343
10453
 
10344
10454
  specialCharacters?: "remove" | "trim" | "keep";
10345
10455
 
10346
- partitionByComment?: string[] | boolean | string;
10456
+ newlinesBetween?: "ignore" | "always" | "never";
10347
10457
 
10348
- partitionByNewLine?: boolean;
10458
+ customGroups?: {
10459
+ [k: string]: (string | string[]) | undefined;
10460
+ };
10349
10461
 
10350
- groupKind?: "mixed" | "required-first" | "optional-first";
10462
+ ignoreCase?: boolean;
10463
+
10464
+ locales?: string | string[];
10351
10465
 
10352
10466
  groups?: (string | string[])[];
10353
10467
 
10354
- customGroups?: {
10355
- [k: string]: (string | string[]) | undefined;
10356
- };
10468
+ order?: "asc" | "desc";
10469
+
10470
+ type?: "alphabetical" | "natural" | "line-length";
10357
10471
  },
10358
10472
  ];
10359
10473
  // ----- perfectionist/sort-objects -----
@@ -10361,75 +10475,55 @@ type PerfectionistSortObjects =
10361
10475
  | []
10362
10476
  | [
10363
10477
  {
10364
- type?: "alphabetical" | "natural" | "line-length";
10365
-
10366
- order?: "asc" | "desc";
10367
-
10368
- matcher?: "minimatch" | "regex";
10369
-
10370
- ignoreCase?: boolean;
10371
-
10372
- specialCharacters?: "remove" | "trim" | "keep";
10478
+ ignorePattern?: string[];
10373
10479
 
10374
10480
  partitionByComment?: string[] | boolean | string;
10375
10481
 
10376
- partitionByNewLine?: boolean;
10482
+ destructureOnly?: boolean;
10377
10483
 
10378
10484
  styledComponents?: boolean;
10379
10485
 
10380
- destructureOnly?: boolean;
10486
+ partitionByNewLine?: boolean;
10381
10487
 
10382
- ignorePattern?: string[];
10488
+ specialCharacters?: "remove" | "trim" | "keep";
10383
10489
 
10384
- groups?: (string | string[])[];
10490
+ newlinesBetween?: "ignore" | "always" | "never";
10385
10491
 
10386
10492
  customGroups?: {
10387
10493
  [k: string]: (string | string[]) | undefined;
10388
10494
  };
10389
- },
10390
- ];
10391
- // ----- perfectionist/sort-sets -----
10392
- type PerfectionistSortSets =
10393
- | []
10394
- | [
10395
- {
10396
- type?: "alphabetical" | "natural" | "line-length";
10397
-
10398
- order?: "asc" | "desc";
10399
-
10400
- matcher?: "minimatch" | "regex";
10401
10495
 
10402
10496
  ignoreCase?: boolean;
10403
10497
 
10404
- specialCharacters?: "remove" | "trim" | "keep";
10498
+ locales?: string | string[];
10405
10499
 
10406
- groupKind?: "mixed" | "literals-first" | "spreads-first";
10500
+ groups?: (string | string[])[];
10407
10501
 
10408
- partitionByComment?: string[] | boolean | string;
10502
+ order?: "asc" | "desc";
10409
10503
 
10410
- partitionByNewLine?: boolean;
10504
+ type?: "alphabetical" | "natural" | "line-length";
10411
10505
  },
10412
10506
  ];
10413
- // ----- perfectionist/sort-svelte-attributes -----
10414
- type PerfectionistSortSvelteAttributes =
10507
+ // ----- perfectionist/sort-sets -----
10508
+ type PerfectionistSortSets =
10415
10509
  | []
10416
10510
  | [
10417
10511
  {
10418
- type?: "alphabetical" | "natural" | "line-length";
10512
+ partitionByComment?: string[] | boolean | string;
10419
10513
 
10420
- order?: "asc" | "desc";
10514
+ groupKind?: "mixed" | "literals-first" | "spreads-first";
10421
10515
 
10422
- matcher?: "minimatch" | "regex";
10516
+ partitionByNewLine?: boolean;
10517
+
10518
+ specialCharacters?: "remove" | "trim" | "keep";
10423
10519
 
10424
10520
  ignoreCase?: boolean;
10425
10521
 
10426
- specialCharacters?: "remove" | "trim" | "keep";
10522
+ locales?: string | string[];
10427
10523
 
10428
- groups?: (string | string[])[];
10524
+ order?: "asc" | "desc";
10429
10525
 
10430
- customGroups?: {
10431
- [k: string]: (string | string[]) | undefined;
10432
- };
10526
+ type?: "alphabetical" | "natural" | "line-length";
10433
10527
  },
10434
10528
  ];
10435
10529
  // ----- perfectionist/sort-switch-case -----
@@ -10437,13 +10531,15 @@ type PerfectionistSortSwitchCase =
10437
10531
  | []
10438
10532
  | [
10439
10533
  {
10440
- type?: "alphabetical" | "natural" | "line-length";
10441
-
10442
- order?: "asc" | "desc";
10534
+ specialCharacters?: "remove" | "trim" | "keep";
10443
10535
 
10444
10536
  ignoreCase?: boolean;
10445
10537
 
10446
- specialCharacters?: "remove" | "trim" | "keep";
10538
+ locales?: string | string[];
10539
+
10540
+ order?: "asc" | "desc";
10541
+
10542
+ type?: "alphabetical" | "natural" | "line-length";
10447
10543
  },
10448
10544
  ];
10449
10545
  // ----- perfectionist/sort-union-types -----
@@ -10451,21 +10547,23 @@ type PerfectionistSortUnionTypes =
10451
10547
  | []
10452
10548
  | [
10453
10549
  {
10454
- type?: "alphabetical" | "natural" | "line-length";
10550
+ partitionByComment?: string[] | boolean | string;
10455
10551
 
10456
- order?: "asc" | "desc";
10552
+ partitionByNewLine?: boolean;
10553
+
10554
+ specialCharacters?: "remove" | "trim" | "keep";
10457
10555
 
10458
- matcher?: "minimatch" | "regex";
10556
+ newlinesBetween?: "ignore" | "always" | "never";
10459
10557
 
10460
10558
  ignoreCase?: boolean;
10461
10559
 
10462
- specialCharacters?: "remove" | "trim" | "keep";
10560
+ locales?: string | string[];
10463
10561
 
10464
10562
  groups?: (string | string[])[];
10465
10563
 
10466
- partitionByComment?: string[] | boolean | string;
10564
+ order?: "asc" | "desc";
10467
10565
 
10468
- partitionByNewLine?: boolean;
10566
+ type?: "alphabetical" | "natural" | "line-length";
10469
10567
  },
10470
10568
  ];
10471
10569
  // ----- perfectionist/sort-variable-declarations -----
@@ -10473,41 +10571,19 @@ type PerfectionistSortVariableDeclarations =
10473
10571
  | []
10474
10572
  | [
10475
10573
  {
10476
- type?: "alphabetical" | "natural" | "line-length";
10477
-
10478
- order?: "asc" | "desc";
10479
-
10480
- matcher?: "minimatch" | "regex";
10481
-
10482
- ignoreCase?: boolean;
10483
-
10484
- specialCharacters?: "remove" | "trim" | "keep";
10485
-
10486
10574
  partitionByComment?: string[] | boolean | string;
10487
10575
 
10488
10576
  partitionByNewLine?: boolean;
10489
- },
10490
- ];
10491
- // ----- perfectionist/sort-vue-attributes -----
10492
- type PerfectionistSortVueAttributes =
10493
- | []
10494
- | [
10495
- {
10496
- type?: "alphabetical" | "natural" | "line-length";
10497
-
10498
- order?: "asc" | "desc";
10499
10577
 
10500
- matcher?: "minimatch" | "regex";
10578
+ specialCharacters?: "remove" | "trim" | "keep";
10501
10579
 
10502
10580
  ignoreCase?: boolean;
10503
10581
 
10504
- specialCharacters?: "remove" | "trim" | "keep";
10582
+ locales?: string | string[];
10505
10583
 
10506
- groups?: (string | string[])[];
10584
+ order?: "asc" | "desc";
10507
10585
 
10508
- customGroups?: {
10509
- [k: string]: (string | string[]) | undefined;
10510
- };
10586
+ type?: "alphabetical" | "natural" | "line-length";
10511
10587
  },
10512
10588
  ];
10513
10589
 
@@ -21775,7 +21851,7 @@ declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConf
21775
21851
  declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
21776
21852
  type DefineConfig = typeof defineConfig;
21777
21853
 
21778
- declare const VERSION = "0.2.28";
21854
+ declare const VERSION = "0.2.29";
21779
21855
 
21780
21856
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
21781
21857
  declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";