@jsse/eslint-config 0.3.0 → 0.3.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
@@ -14,6 +14,7 @@ import * as yaml_eslint_parser from 'yaml-eslint-parser';
14
14
  import * as eslint_plugin_jsonc_types from 'eslint-plugin-jsonc/types';
15
15
  import * as eslint_plugin_jsonc_meta from 'eslint-plugin-jsonc/meta';
16
16
  import * as jsonc_eslint_parser from 'jsonc-eslint-parser';
17
+ import * as eslint_plugin_react_hooks from 'eslint-plugin-react-hooks';
17
18
  import * as eslint_plugin_react from 'eslint-plugin-react';
18
19
  export { default as pluginEslintComments } from '@eslint-community/eslint-plugin-eslint-comments';
19
20
  export { default as pluginTs } from '@typescript-eslint/eslint-plugin';
@@ -9975,8 +9976,6 @@ interface PerfectionistRuleOptions {
9975
9976
  /* ======= Declarations ======= */
9976
9977
  // ----- perfectionist/sort-array-includes -----
9977
9978
  type PerfectionistSortArrayIncludes = {
9978
- specialCharacters?: "remove" | "trim" | "keep";
9979
-
9980
9979
  fallbackSort?: {
9981
9980
  order?: "asc" | "desc";
9982
9981
 
@@ -9984,6 +9983,8 @@ type PerfectionistSortArrayIncludes = {
9984
9983
  [k: string]: unknown | undefined;
9985
9984
  };
9986
9985
 
9986
+ specialCharacters?: "remove" | "trim" | "keep";
9987
+
9987
9988
  ignoreCase?: boolean;
9988
9989
 
9989
9990
  alphabet?: string;
@@ -9998,13 +9999,30 @@ type PerfectionistSortArrayIncludes = {
9998
9999
 
9999
10000
  customGroups?: (
10000
10001
  | {
10001
- groupName?: string;
10002
+ newlinesInside?: "always" | "never";
10002
10003
 
10003
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10004
+ fallbackSort?: {
10005
+ order?: "asc" | "desc";
10004
10006
 
10005
- order?: "desc" | "asc";
10007
+ type?:
10008
+ | "alphabetical"
10009
+ | "natural"
10010
+ | "line-length"
10011
+ | "custom"
10012
+ | "unsorted";
10013
+ [k: string]: unknown | undefined;
10014
+ };
10006
10015
 
10007
- newlinesInside?: "always" | "never";
10016
+ groupName?: string;
10017
+
10018
+ order?: "asc" | "desc";
10019
+
10020
+ type?:
10021
+ | "alphabetical"
10022
+ | "natural"
10023
+ | "line-length"
10024
+ | "custom"
10025
+ | "unsorted";
10008
10026
  anyOf?: {
10009
10027
  selector?: "literal" | "spread";
10010
10028
 
@@ -10026,13 +10044,30 @@ type PerfectionistSortArrayIncludes = {
10026
10044
  }[];
10027
10045
  }
10028
10046
  | {
10029
- groupName?: string;
10047
+ newlinesInside?: "always" | "never";
10048
+
10049
+ fallbackSort?: {
10050
+ order?: "asc" | "desc";
10051
+
10052
+ type?:
10053
+ | "alphabetical"
10054
+ | "natural"
10055
+ | "line-length"
10056
+ | "custom"
10057
+ | "unsorted";
10058
+ [k: string]: unknown | undefined;
10059
+ };
10030
10060
 
10031
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10061
+ groupName?: string;
10032
10062
 
10033
- order?: "desc" | "asc";
10063
+ order?: "asc" | "desc";
10034
10064
 
10035
- newlinesInside?: "always" | "never";
10065
+ type?:
10066
+ | "alphabetical"
10067
+ | "natural"
10068
+ | "line-length"
10069
+ | "custom"
10070
+ | "unsorted";
10036
10071
 
10037
10072
  selector?: "literal" | "spread";
10038
10073
 
@@ -10145,8 +10180,6 @@ type PerfectionistSortClasses =
10145
10180
  | []
10146
10181
  | [
10147
10182
  {
10148
- specialCharacters?: "remove" | "trim" | "keep";
10149
-
10150
10183
  fallbackSort?: {
10151
10184
  order?: "asc" | "desc";
10152
10185
 
@@ -10159,6 +10192,8 @@ type PerfectionistSortClasses =
10159
10192
  [k: string]: unknown | undefined;
10160
10193
  };
10161
10194
 
10195
+ specialCharacters?: "remove" | "trim" | "keep";
10196
+
10162
10197
  ignoreCase?: boolean;
10163
10198
 
10164
10199
  alphabet?: string;
@@ -10176,13 +10211,30 @@ type PerfectionistSortClasses =
10176
10211
 
10177
10212
  customGroups?: (
10178
10213
  | {
10179
- groupName?: string;
10214
+ newlinesInside?: "always" | "never";
10180
10215
 
10181
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10216
+ fallbackSort?: {
10217
+ order?: "asc" | "desc";
10182
10218
 
10183
- order?: "desc" | "asc";
10219
+ type?:
10220
+ | "alphabetical"
10221
+ | "natural"
10222
+ | "line-length"
10223
+ | "custom"
10224
+ | "unsorted";
10225
+ [k: string]: unknown | undefined;
10226
+ };
10184
10227
 
10185
- newlinesInside?: "always" | "never";
10228
+ groupName?: string;
10229
+
10230
+ order?: "asc" | "desc";
10231
+
10232
+ type?:
10233
+ | "alphabetical"
10234
+ | "natural"
10235
+ | "line-length"
10236
+ | "custom"
10237
+ | "unsorted";
10186
10238
  anyOf?: {
10187
10239
  modifiers?: (
10188
10240
  | "async"
@@ -10259,13 +10311,30 @@ type PerfectionistSortClasses =
10259
10311
  }[];
10260
10312
  }
10261
10313
  | {
10262
- groupName?: string;
10314
+ newlinesInside?: "always" | "never";
10315
+
10316
+ fallbackSort?: {
10317
+ order?: "asc" | "desc";
10263
10318
 
10264
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10319
+ type?:
10320
+ | "alphabetical"
10321
+ | "natural"
10322
+ | "line-length"
10323
+ | "custom"
10324
+ | "unsorted";
10325
+ [k: string]: unknown | undefined;
10326
+ };
10265
10327
 
10266
- order?: "desc" | "asc";
10328
+ groupName?: string;
10267
10329
 
10268
- newlinesInside?: "always" | "never";
10330
+ order?: "asc" | "desc";
10331
+
10332
+ type?:
10333
+ | "alphabetical"
10334
+ | "natural"
10335
+ | "line-length"
10336
+ | "custom"
10337
+ | "unsorted";
10269
10338
 
10270
10339
  modifiers?: (
10271
10340
  | "async"
@@ -10433,8 +10502,6 @@ type PerfectionistSortDecorators =
10433
10502
  | []
10434
10503
  | [
10435
10504
  {
10436
- specialCharacters?: "remove" | "trim" | "keep";
10437
-
10438
10505
  fallbackSort?: {
10439
10506
  order?: "asc" | "desc";
10440
10507
 
@@ -10447,6 +10514,8 @@ type PerfectionistSortDecorators =
10447
10514
  [k: string]: unknown | undefined;
10448
10515
  };
10449
10516
 
10517
+ specialCharacters?: "remove" | "trim" | "keep";
10518
+
10450
10519
  ignoreCase?: boolean;
10451
10520
 
10452
10521
  alphabet?: string;
@@ -10547,8 +10616,6 @@ type PerfectionistSortEnums =
10547
10616
  | []
10548
10617
  | [
10549
10618
  {
10550
- specialCharacters?: "remove" | "trim" | "keep";
10551
-
10552
10619
  fallbackSort?: {
10553
10620
  order?: "asc" | "desc";
10554
10621
 
@@ -10561,6 +10628,8 @@ type PerfectionistSortEnums =
10561
10628
  [k: string]: unknown | undefined;
10562
10629
  };
10563
10630
 
10631
+ specialCharacters?: "remove" | "trim" | "keep";
10632
+
10564
10633
  ignoreCase?: boolean;
10565
10634
 
10566
10635
  alphabet?: string;
@@ -10583,17 +10652,30 @@ type PerfectionistSortEnums =
10583
10652
  }
10584
10653
  | (
10585
10654
  | {
10655
+ newlinesInside?: "always" | "never";
10656
+
10657
+ fallbackSort?: {
10658
+ order?: "asc" | "desc";
10659
+
10660
+ type?:
10661
+ | "alphabetical"
10662
+ | "natural"
10663
+ | "line-length"
10664
+ | "custom"
10665
+ | "unsorted";
10666
+ [k: string]: unknown | undefined;
10667
+ };
10668
+
10586
10669
  groupName?: string;
10587
10670
 
10671
+ order?: "asc" | "desc";
10672
+
10588
10673
  type?:
10589
10674
  | "alphabetical"
10590
- | "line-length"
10591
10675
  | "natural"
10676
+ | "line-length"
10677
+ | "custom"
10592
10678
  | "unsorted";
10593
-
10594
- order?: "desc" | "asc";
10595
-
10596
- newlinesInside?: "always" | "never";
10597
10679
  anyOf?: {
10598
10680
  elementValuePattern?:
10599
10681
  | (
@@ -10629,18 +10711,31 @@ type PerfectionistSortEnums =
10629
10711
  }[];
10630
10712
  }
10631
10713
  | {
10714
+ newlinesInside?: "always" | "never";
10715
+
10716
+ fallbackSort?: {
10717
+ order?: "asc" | "desc";
10718
+
10719
+ type?:
10720
+ | "alphabetical"
10721
+ | "natural"
10722
+ | "line-length"
10723
+ | "custom"
10724
+ | "unsorted";
10725
+ [k: string]: unknown | undefined;
10726
+ };
10727
+
10632
10728
  groupName?: string;
10633
10729
 
10730
+ order?: "asc" | "desc";
10731
+
10634
10732
  type?:
10635
10733
  | "alphabetical"
10636
- | "line-length"
10637
10734
  | "natural"
10735
+ | "line-length"
10736
+ | "custom"
10638
10737
  | "unsorted";
10639
10738
 
10640
- order?: "desc" | "asc";
10641
-
10642
- newlinesInside?: "always" | "never";
10643
-
10644
10739
  elementValuePattern?:
10645
10740
  | (
10646
10741
  | {
@@ -10752,8 +10847,6 @@ type PerfectionistSortExports =
10752
10847
  | []
10753
10848
  | [
10754
10849
  {
10755
- specialCharacters?: "remove" | "trim" | "keep";
10756
-
10757
10850
  fallbackSort?: {
10758
10851
  order?: "asc" | "desc";
10759
10852
 
@@ -10766,6 +10859,8 @@ type PerfectionistSortExports =
10766
10859
  [k: string]: unknown | undefined;
10767
10860
  };
10768
10861
 
10862
+ specialCharacters?: "remove" | "trim" | "keep";
10863
+
10769
10864
  ignoreCase?: boolean;
10770
10865
 
10771
10866
  alphabet?: string;
@@ -10848,8 +10943,6 @@ type PerfectionistSortHeritageClauses =
10848
10943
  | []
10849
10944
  | [
10850
10945
  {
10851
- specialCharacters?: "remove" | "trim" | "keep";
10852
-
10853
10946
  fallbackSort?: {
10854
10947
  order?: "asc" | "desc";
10855
10948
 
@@ -10862,6 +10955,8 @@ type PerfectionistSortHeritageClauses =
10862
10955
  [k: string]: unknown | undefined;
10863
10956
  };
10864
10957
 
10958
+ specialCharacters?: "remove" | "trim" | "keep";
10959
+
10865
10960
  ignoreCase?: boolean;
10866
10961
 
10867
10962
  alphabet?: string;
@@ -10894,8 +10989,6 @@ type PerfectionistSortHeritageClauses =
10894
10989
  type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports];
10895
10990
  type _PerfectionistSortImportsSortImports =
10896
10991
  _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
10897
- specialCharacters?: "remove" | "trim" | "keep";
10898
-
10899
10992
  fallbackSort?: {
10900
10993
  order?: "asc" | "desc";
10901
10994
 
@@ -10903,6 +10996,8 @@ type _PerfectionistSortImportsSortImports =
10903
10996
  [k: string]: unknown | undefined;
10904
10997
  };
10905
10998
 
10999
+ specialCharacters?: "remove" | "trim" | "keep";
11000
+
10906
11001
  ignoreCase?: boolean;
10907
11002
 
10908
11003
  alphabet?: string;
@@ -11027,8 +11122,6 @@ interface _PerfectionistSortImports_IsLineLength {
11027
11122
  }
11028
11123
  // ----- perfectionist/sort-interfaces -----
11029
11124
  type PerfectionistSortInterfaces = {
11030
- specialCharacters?: "remove" | "trim" | "keep";
11031
-
11032
11125
  fallbackSort?: {
11033
11126
  order?: "asc" | "desc";
11034
11127
 
@@ -11036,6 +11129,8 @@ type PerfectionistSortInterfaces = {
11036
11129
  [k: string]: unknown | undefined;
11037
11130
  };
11038
11131
 
11132
+ specialCharacters?: "remove" | "trim" | "keep";
11133
+
11039
11134
  ignoreCase?: boolean;
11040
11135
 
11041
11136
  alphabet?: string;
@@ -11051,13 +11146,31 @@ type PerfectionistSortInterfaces = {
11051
11146
  }
11052
11147
  | (
11053
11148
  | {
11054
- groupName?: string;
11149
+ newlinesInside?: "always" | "never";
11055
11150
 
11056
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
11151
+ fallbackSort?: {
11152
+ order?: "asc" | "desc";
11057
11153
 
11058
- order?: "desc" | "asc";
11154
+ type?:
11155
+ | "alphabetical"
11156
+ | "natural"
11157
+ | "line-length"
11158
+ | "custom"
11159
+ | "unsorted";
11160
+ sortBy?: "name" | "value";
11161
+ [k: string]: unknown | undefined;
11162
+ };
11059
11163
 
11060
- newlinesInside?: "always" | "never";
11164
+ groupName?: string;
11165
+
11166
+ order?: "asc" | "desc";
11167
+
11168
+ type?:
11169
+ | "alphabetical"
11170
+ | "natural"
11171
+ | "line-length"
11172
+ | "custom"
11173
+ | "unsorted";
11061
11174
  anyOf?: {
11062
11175
  modifiers?: ("optional" | "required" | "multiline")[];
11063
11176
 
@@ -11068,6 +11181,22 @@ type PerfectionistSortInterfaces = {
11068
11181
  | "multiline"
11069
11182
  | "property";
11070
11183
 
11184
+ elementValuePattern?:
11185
+ | (
11186
+ | {
11187
+ pattern?: string;
11188
+ flags?: string;
11189
+ }
11190
+ | string
11191
+ )[]
11192
+ | (
11193
+ | {
11194
+ pattern?: string;
11195
+ flags?: string;
11196
+ }
11197
+ | string
11198
+ );
11199
+
11071
11200
  elementNamePattern?:
11072
11201
  | (
11073
11202
  | {
@@ -11083,16 +11212,35 @@ type PerfectionistSortInterfaces = {
11083
11212
  }
11084
11213
  | string
11085
11214
  );
11215
+ sortBy?: "name" | "value";
11086
11216
  }[];
11087
11217
  }
11088
11218
  | {
11089
- groupName?: string;
11219
+ newlinesInside?: "always" | "never";
11090
11220
 
11091
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
11221
+ fallbackSort?: {
11222
+ order?: "asc" | "desc";
11092
11223
 
11093
- order?: "desc" | "asc";
11224
+ type?:
11225
+ | "alphabetical"
11226
+ | "natural"
11227
+ | "line-length"
11228
+ | "custom"
11229
+ | "unsorted";
11230
+ sortBy?: "name" | "value";
11231
+ [k: string]: unknown | undefined;
11232
+ };
11094
11233
 
11095
- newlinesInside?: "always" | "never";
11234
+ groupName?: string;
11235
+
11236
+ order?: "asc" | "desc";
11237
+
11238
+ type?:
11239
+ | "alphabetical"
11240
+ | "natural"
11241
+ | "line-length"
11242
+ | "custom"
11243
+ | "unsorted";
11096
11244
 
11097
11245
  modifiers?: ("optional" | "required" | "multiline")[];
11098
11246
 
@@ -11103,6 +11251,22 @@ type PerfectionistSortInterfaces = {
11103
11251
  | "multiline"
11104
11252
  | "property";
11105
11253
 
11254
+ elementValuePattern?:
11255
+ | (
11256
+ | {
11257
+ pattern?: string;
11258
+ flags?: string;
11259
+ }
11260
+ | string
11261
+ )[]
11262
+ | (
11263
+ | {
11264
+ pattern?: string;
11265
+ flags?: string;
11266
+ }
11267
+ | string
11268
+ );
11269
+
11106
11270
  elementNamePattern?:
11107
11271
  | (
11108
11272
  | {
@@ -11118,6 +11282,7 @@ type PerfectionistSortInterfaces = {
11118
11282
  }
11119
11283
  | string
11120
11284
  );
11285
+ sortBy?: "name" | "value";
11121
11286
  }
11122
11287
  )[];
11123
11288
  useConfigurationIf?: {
@@ -11232,6 +11397,7 @@ type PerfectionistSortInterfaces = {
11232
11397
  }
11233
11398
  | string
11234
11399
  );
11400
+ sortBy?: "name" | "value";
11235
11401
 
11236
11402
  groups?: (
11237
11403
  | string
@@ -11246,8 +11412,6 @@ type PerfectionistSortIntersectionTypes =
11246
11412
  | []
11247
11413
  | [
11248
11414
  {
11249
- specialCharacters?: "remove" | "trim" | "keep";
11250
-
11251
11415
  fallbackSort?: {
11252
11416
  order?: "asc" | "desc";
11253
11417
 
@@ -11260,6 +11424,8 @@ type PerfectionistSortIntersectionTypes =
11260
11424
  [k: string]: unknown | undefined;
11261
11425
  };
11262
11426
 
11427
+ specialCharacters?: "remove" | "trim" | "keep";
11428
+
11263
11429
  ignoreCase?: boolean;
11264
11430
 
11265
11431
  alphabet?: string;
@@ -11347,8 +11513,6 @@ type PerfectionistSortIntersectionTypes =
11347
11513
  ];
11348
11514
  // ----- perfectionist/sort-jsx-props -----
11349
11515
  type PerfectionistSortJsxProps = {
11350
- specialCharacters?: "remove" | "trim" | "keep";
11351
-
11352
11516
  fallbackSort?: {
11353
11517
  order?: "asc" | "desc";
11354
11518
 
@@ -11356,6 +11520,8 @@ type PerfectionistSortJsxProps = {
11356
11520
  [k: string]: unknown | undefined;
11357
11521
  };
11358
11522
 
11523
+ specialCharacters?: "remove" | "trim" | "keep";
11524
+
11359
11525
  ignoreCase?: boolean;
11360
11526
 
11361
11527
  alphabet?: string;
@@ -11433,8 +11599,6 @@ type PerfectionistSortJsxProps = {
11433
11599
  }[];
11434
11600
  // ----- perfectionist/sort-maps -----
11435
11601
  type PerfectionistSortMaps = {
11436
- specialCharacters?: "remove" | "trim" | "keep";
11437
-
11438
11602
  fallbackSort?: {
11439
11603
  order?: "asc" | "desc";
11440
11604
 
@@ -11442,6 +11606,8 @@ type PerfectionistSortMaps = {
11442
11606
  [k: string]: unknown | undefined;
11443
11607
  };
11444
11608
 
11609
+ specialCharacters?: "remove" | "trim" | "keep";
11610
+
11445
11611
  ignoreCase?: boolean;
11446
11612
 
11447
11613
  alphabet?: string;
@@ -11454,13 +11620,30 @@ type PerfectionistSortMaps = {
11454
11620
 
11455
11621
  customGroups?: (
11456
11622
  | {
11457
- groupName?: string;
11623
+ newlinesInside?: "always" | "never";
11624
+
11625
+ fallbackSort?: {
11626
+ order?: "asc" | "desc";
11627
+
11628
+ type?:
11629
+ | "alphabetical"
11630
+ | "natural"
11631
+ | "line-length"
11632
+ | "custom"
11633
+ | "unsorted";
11634
+ [k: string]: unknown | undefined;
11635
+ };
11458
11636
 
11459
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
11637
+ groupName?: string;
11460
11638
 
11461
- order?: "desc" | "asc";
11639
+ order?: "asc" | "desc";
11462
11640
 
11463
- newlinesInside?: "always" | "never";
11641
+ type?:
11642
+ | "alphabetical"
11643
+ | "natural"
11644
+ | "line-length"
11645
+ | "custom"
11646
+ | "unsorted";
11464
11647
  anyOf?: {
11465
11648
  elementNamePattern?:
11466
11649
  | (
@@ -11480,13 +11663,30 @@ type PerfectionistSortMaps = {
11480
11663
  }[];
11481
11664
  }
11482
11665
  | {
11483
- groupName?: string;
11666
+ newlinesInside?: "always" | "never";
11484
11667
 
11485
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
11668
+ fallbackSort?: {
11669
+ order?: "asc" | "desc";
11486
11670
 
11487
- order?: "desc" | "asc";
11671
+ type?:
11672
+ | "alphabetical"
11673
+ | "natural"
11674
+ | "line-length"
11675
+ | "custom"
11676
+ | "unsorted";
11677
+ [k: string]: unknown | undefined;
11678
+ };
11488
11679
 
11489
- newlinesInside?: "always" | "never";
11680
+ groupName?: string;
11681
+
11682
+ order?: "asc" | "desc";
11683
+
11684
+ type?:
11685
+ | "alphabetical"
11686
+ | "natural"
11687
+ | "line-length"
11688
+ | "custom"
11689
+ | "unsorted";
11490
11690
 
11491
11691
  elementNamePattern?:
11492
11692
  | (
@@ -11597,8 +11797,6 @@ type PerfectionistSortModules =
11597
11797
  | []
11598
11798
  | [
11599
11799
  {
11600
- specialCharacters?: "remove" | "trim" | "keep";
11601
-
11602
11800
  fallbackSort?: {
11603
11801
  order?: "asc" | "desc";
11604
11802
 
@@ -11611,6 +11809,8 @@ type PerfectionistSortModules =
11611
11809
  [k: string]: unknown | undefined;
11612
11810
  };
11613
11811
 
11812
+ specialCharacters?: "remove" | "trim" | "keep";
11813
+
11614
11814
  ignoreCase?: boolean;
11615
11815
 
11616
11816
  alphabet?: string;
@@ -11628,13 +11828,30 @@ type PerfectionistSortModules =
11628
11828
 
11629
11829
  customGroups?: (
11630
11830
  | {
11631
- groupName?: string;
11831
+ newlinesInside?: "always" | "never";
11632
11832
 
11633
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
11833
+ fallbackSort?: {
11834
+ order?: "asc" | "desc";
11634
11835
 
11635
- order?: "desc" | "asc";
11836
+ type?:
11837
+ | "alphabetical"
11838
+ | "natural"
11839
+ | "line-length"
11840
+ | "custom"
11841
+ | "unsorted";
11842
+ [k: string]: unknown | undefined;
11843
+ };
11636
11844
 
11637
- newlinesInside?: "always" | "never";
11845
+ groupName?: string;
11846
+
11847
+ order?: "asc" | "desc";
11848
+
11849
+ type?:
11850
+ | "alphabetical"
11851
+ | "natural"
11852
+ | "line-length"
11853
+ | "custom"
11854
+ | "unsorted";
11638
11855
  anyOf?: {
11639
11856
  modifiers?: (
11640
11857
  | "async"
@@ -11680,13 +11897,30 @@ type PerfectionistSortModules =
11680
11897
  }[];
11681
11898
  }
11682
11899
  | {
11683
- groupName?: string;
11900
+ newlinesInside?: "always" | "never";
11901
+
11902
+ fallbackSort?: {
11903
+ order?: "asc" | "desc";
11684
11904
 
11685
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
11905
+ type?:
11906
+ | "alphabetical"
11907
+ | "natural"
11908
+ | "line-length"
11909
+ | "custom"
11910
+ | "unsorted";
11911
+ [k: string]: unknown | undefined;
11912
+ };
11686
11913
 
11687
- order?: "desc" | "asc";
11914
+ groupName?: string;
11688
11915
 
11689
- newlinesInside?: "always" | "never";
11916
+ order?: "asc" | "desc";
11917
+
11918
+ type?:
11919
+ | "alphabetical"
11920
+ | "natural"
11921
+ | "line-length"
11922
+ | "custom"
11923
+ | "unsorted";
11690
11924
 
11691
11925
  modifiers?: (
11692
11926
  | "async"
@@ -11807,8 +12041,6 @@ type PerfectionistSortNamedExports =
11807
12041
  | []
11808
12042
  | [
11809
12043
  {
11810
- specialCharacters?: "remove" | "trim" | "keep";
11811
-
11812
12044
  fallbackSort?: {
11813
12045
  order?: "asc" | "desc";
11814
12046
 
@@ -11821,6 +12053,8 @@ type PerfectionistSortNamedExports =
11821
12053
  [k: string]: unknown | undefined;
11822
12054
  };
11823
12055
 
12056
+ specialCharacters?: "remove" | "trim" | "keep";
12057
+
11824
12058
  ignoreCase?: boolean;
11825
12059
 
11826
12060
  alphabet?: string;
@@ -11905,8 +12139,6 @@ type PerfectionistSortNamedImports =
11905
12139
  | []
11906
12140
  | [
11907
12141
  {
11908
- specialCharacters?: "remove" | "trim" | "keep";
11909
-
11910
12142
  fallbackSort?: {
11911
12143
  order?: "asc" | "desc";
11912
12144
 
@@ -11919,6 +12151,8 @@ type PerfectionistSortNamedImports =
11919
12151
  [k: string]: unknown | undefined;
11920
12152
  };
11921
12153
 
12154
+ specialCharacters?: "remove" | "trim" | "keep";
12155
+
11922
12156
  ignoreCase?: boolean;
11923
12157
 
11924
12158
  alphabet?: string;
@@ -12000,8 +12234,6 @@ type PerfectionistSortNamedImports =
12000
12234
  ];
12001
12235
  // ----- perfectionist/sort-object-types -----
12002
12236
  type PerfectionistSortObjectTypes = {
12003
- specialCharacters?: "remove" | "trim" | "keep";
12004
-
12005
12237
  fallbackSort?: {
12006
12238
  order?: "asc" | "desc";
12007
12239
 
@@ -12009,6 +12241,8 @@ type PerfectionistSortObjectTypes = {
12009
12241
  [k: string]: unknown | undefined;
12010
12242
  };
12011
12243
 
12244
+ specialCharacters?: "remove" | "trim" | "keep";
12245
+
12012
12246
  ignoreCase?: boolean;
12013
12247
 
12014
12248
  alphabet?: string;
@@ -12024,13 +12258,31 @@ type PerfectionistSortObjectTypes = {
12024
12258
  }
12025
12259
  | (
12026
12260
  | {
12027
- groupName?: string;
12261
+ newlinesInside?: "always" | "never";
12028
12262
 
12029
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
12263
+ fallbackSort?: {
12264
+ order?: "asc" | "desc";
12030
12265
 
12031
- order?: "desc" | "asc";
12266
+ type?:
12267
+ | "alphabetical"
12268
+ | "natural"
12269
+ | "line-length"
12270
+ | "custom"
12271
+ | "unsorted";
12272
+ sortBy?: "name" | "value";
12273
+ [k: string]: unknown | undefined;
12274
+ };
12032
12275
 
12033
- newlinesInside?: "always" | "never";
12276
+ groupName?: string;
12277
+
12278
+ order?: "asc" | "desc";
12279
+
12280
+ type?:
12281
+ | "alphabetical"
12282
+ | "natural"
12283
+ | "line-length"
12284
+ | "custom"
12285
+ | "unsorted";
12034
12286
  anyOf?: {
12035
12287
  modifiers?: ("optional" | "required" | "multiline")[];
12036
12288
 
@@ -12041,6 +12293,22 @@ type PerfectionistSortObjectTypes = {
12041
12293
  | "multiline"
12042
12294
  | "property";
12043
12295
 
12296
+ elementValuePattern?:
12297
+ | (
12298
+ | {
12299
+ pattern?: string;
12300
+ flags?: string;
12301
+ }
12302
+ | string
12303
+ )[]
12304
+ | (
12305
+ | {
12306
+ pattern?: string;
12307
+ flags?: string;
12308
+ }
12309
+ | string
12310
+ );
12311
+
12044
12312
  elementNamePattern?:
12045
12313
  | (
12046
12314
  | {
@@ -12056,16 +12324,35 @@ type PerfectionistSortObjectTypes = {
12056
12324
  }
12057
12325
  | string
12058
12326
  );
12327
+ sortBy?: "name" | "value";
12059
12328
  }[];
12060
12329
  }
12061
12330
  | {
12062
- groupName?: string;
12331
+ newlinesInside?: "always" | "never";
12063
12332
 
12064
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
12333
+ fallbackSort?: {
12334
+ order?: "asc" | "desc";
12065
12335
 
12066
- order?: "desc" | "asc";
12336
+ type?:
12337
+ | "alphabetical"
12338
+ | "natural"
12339
+ | "line-length"
12340
+ | "custom"
12341
+ | "unsorted";
12342
+ sortBy?: "name" | "value";
12343
+ [k: string]: unknown | undefined;
12344
+ };
12067
12345
 
12068
- newlinesInside?: "always" | "never";
12346
+ groupName?: string;
12347
+
12348
+ order?: "asc" | "desc";
12349
+
12350
+ type?:
12351
+ | "alphabetical"
12352
+ | "natural"
12353
+ | "line-length"
12354
+ | "custom"
12355
+ | "unsorted";
12069
12356
 
12070
12357
  modifiers?: ("optional" | "required" | "multiline")[];
12071
12358
 
@@ -12076,6 +12363,22 @@ type PerfectionistSortObjectTypes = {
12076
12363
  | "multiline"
12077
12364
  | "property";
12078
12365
 
12366
+ elementValuePattern?:
12367
+ | (
12368
+ | {
12369
+ pattern?: string;
12370
+ flags?: string;
12371
+ }
12372
+ | string
12373
+ )[]
12374
+ | (
12375
+ | {
12376
+ pattern?: string;
12377
+ flags?: string;
12378
+ }
12379
+ | string
12380
+ );
12381
+
12079
12382
  elementNamePattern?:
12080
12383
  | (
12081
12384
  | {
@@ -12091,6 +12394,7 @@ type PerfectionistSortObjectTypes = {
12091
12394
  }
12092
12395
  | string
12093
12396
  );
12397
+ sortBy?: "name" | "value";
12094
12398
  }
12095
12399
  )[];
12096
12400
  useConfigurationIf?: {
@@ -12205,6 +12509,7 @@ type PerfectionistSortObjectTypes = {
12205
12509
  }
12206
12510
  | string
12207
12511
  );
12512
+ sortBy?: "name" | "value";
12208
12513
 
12209
12514
  groups?: (
12210
12515
  | string
@@ -12216,8 +12521,6 @@ type PerfectionistSortObjectTypes = {
12216
12521
  }[];
12217
12522
  // ----- perfectionist/sort-objects -----
12218
12523
  type PerfectionistSortObjects = {
12219
- specialCharacters?: "remove" | "trim" | "keep";
12220
-
12221
12524
  fallbackSort?: {
12222
12525
  order?: "asc" | "desc";
12223
12526
 
@@ -12225,6 +12528,8 @@ type PerfectionistSortObjects = {
12225
12528
  [k: string]: unknown | undefined;
12226
12529
  };
12227
12530
 
12531
+ specialCharacters?: "remove" | "trim" | "keep";
12532
+
12228
12533
  ignoreCase?: boolean;
12229
12534
 
12230
12535
  alphabet?: string;
@@ -12246,13 +12551,30 @@ type PerfectionistSortObjects = {
12246
12551
  }
12247
12552
  | (
12248
12553
  | {
12249
- groupName?: string;
12554
+ newlinesInside?: "always" | "never";
12555
+
12556
+ fallbackSort?: {
12557
+ order?: "asc" | "desc";
12250
12558
 
12251
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
12559
+ type?:
12560
+ | "alphabetical"
12561
+ | "natural"
12562
+ | "line-length"
12563
+ | "custom"
12564
+ | "unsorted";
12565
+ [k: string]: unknown | undefined;
12566
+ };
12252
12567
 
12253
- order?: "desc" | "asc";
12568
+ groupName?: string;
12254
12569
 
12255
- newlinesInside?: "always" | "never";
12570
+ order?: "asc" | "desc";
12571
+
12572
+ type?:
12573
+ | "alphabetical"
12574
+ | "natural"
12575
+ | "line-length"
12576
+ | "custom"
12577
+ | "unsorted";
12256
12578
  anyOf?: {
12257
12579
  modifiers?: ("optional" | "required" | "multiline")[];
12258
12580
 
@@ -12292,13 +12614,30 @@ type PerfectionistSortObjects = {
12292
12614
  }[];
12293
12615
  }
12294
12616
  | {
12295
- groupName?: string;
12617
+ newlinesInside?: "always" | "never";
12296
12618
 
12297
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
12619
+ fallbackSort?: {
12620
+ order?: "asc" | "desc";
12298
12621
 
12299
- order?: "desc" | "asc";
12622
+ type?:
12623
+ | "alphabetical"
12624
+ | "natural"
12625
+ | "line-length"
12626
+ | "custom"
12627
+ | "unsorted";
12628
+ [k: string]: unknown | undefined;
12629
+ };
12300
12630
 
12301
- newlinesInside?: "always" | "never";
12631
+ groupName?: string;
12632
+
12633
+ order?: "asc" | "desc";
12634
+
12635
+ type?:
12636
+ | "alphabetical"
12637
+ | "natural"
12638
+ | "line-length"
12639
+ | "custom"
12640
+ | "unsorted";
12302
12641
 
12303
12642
  modifiers?: ("optional" | "required" | "multiline")[];
12304
12643
 
@@ -12464,8 +12803,6 @@ type PerfectionistSortObjects = {
12464
12803
  }[];
12465
12804
  // ----- perfectionist/sort-sets -----
12466
12805
  type PerfectionistSortSets = {
12467
- specialCharacters?: "remove" | "trim" | "keep";
12468
-
12469
12806
  fallbackSort?: {
12470
12807
  order?: "asc" | "desc";
12471
12808
 
@@ -12473,6 +12810,8 @@ type PerfectionistSortSets = {
12473
12810
  [k: string]: unknown | undefined;
12474
12811
  };
12475
12812
 
12813
+ specialCharacters?: "remove" | "trim" | "keep";
12814
+
12476
12815
  ignoreCase?: boolean;
12477
12816
 
12478
12817
  alphabet?: string;
@@ -12487,13 +12826,30 @@ type PerfectionistSortSets = {
12487
12826
 
12488
12827
  customGroups?: (
12489
12828
  | {
12490
- groupName?: string;
12829
+ newlinesInside?: "always" | "never";
12830
+
12831
+ fallbackSort?: {
12832
+ order?: "asc" | "desc";
12833
+
12834
+ type?:
12835
+ | "alphabetical"
12836
+ | "natural"
12837
+ | "line-length"
12838
+ | "custom"
12839
+ | "unsorted";
12840
+ [k: string]: unknown | undefined;
12841
+ };
12491
12842
 
12492
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
12843
+ groupName?: string;
12493
12844
 
12494
- order?: "desc" | "asc";
12845
+ order?: "asc" | "desc";
12495
12846
 
12496
- newlinesInside?: "always" | "never";
12847
+ type?:
12848
+ | "alphabetical"
12849
+ | "natural"
12850
+ | "line-length"
12851
+ | "custom"
12852
+ | "unsorted";
12497
12853
  anyOf?: {
12498
12854
  selector?: "literal" | "spread";
12499
12855
 
@@ -12515,13 +12871,30 @@ type PerfectionistSortSets = {
12515
12871
  }[];
12516
12872
  }
12517
12873
  | {
12518
- groupName?: string;
12874
+ newlinesInside?: "always" | "never";
12519
12875
 
12520
- type?: "alphabetical" | "line-length" | "natural" | "unsorted";
12876
+ fallbackSort?: {
12877
+ order?: "asc" | "desc";
12521
12878
 
12522
- order?: "desc" | "asc";
12879
+ type?:
12880
+ | "alphabetical"
12881
+ | "natural"
12882
+ | "line-length"
12883
+ | "custom"
12884
+ | "unsorted";
12885
+ [k: string]: unknown | undefined;
12886
+ };
12523
12887
 
12524
- newlinesInside?: "always" | "never";
12888
+ groupName?: string;
12889
+
12890
+ order?: "asc" | "desc";
12891
+
12892
+ type?:
12893
+ | "alphabetical"
12894
+ | "natural"
12895
+ | "line-length"
12896
+ | "custom"
12897
+ | "unsorted";
12525
12898
 
12526
12899
  selector?: "literal" | "spread";
12527
12900
 
@@ -12634,8 +13007,6 @@ type PerfectionistSortSwitchCase =
12634
13007
  | []
12635
13008
  | [
12636
13009
  {
12637
- specialCharacters?: "remove" | "trim" | "keep";
12638
-
12639
13010
  fallbackSort?: {
12640
13011
  order?: "asc" | "desc";
12641
13012
 
@@ -12648,6 +13019,8 @@ type PerfectionistSortSwitchCase =
12648
13019
  [k: string]: unknown | undefined;
12649
13020
  };
12650
13021
 
13022
+ specialCharacters?: "remove" | "trim" | "keep";
13023
+
12651
13024
  ignoreCase?: boolean;
12652
13025
 
12653
13026
  alphabet?: string;
@@ -12669,8 +13042,6 @@ type PerfectionistSortUnionTypes =
12669
13042
  | []
12670
13043
  | [
12671
13044
  {
12672
- specialCharacters?: "remove" | "trim" | "keep";
12673
-
12674
13045
  fallbackSort?: {
12675
13046
  order?: "asc" | "desc";
12676
13047
 
@@ -12683,6 +13054,8 @@ type PerfectionistSortUnionTypes =
12683
13054
  [k: string]: unknown | undefined;
12684
13055
  };
12685
13056
 
13057
+ specialCharacters?: "remove" | "trim" | "keep";
13058
+
12686
13059
  ignoreCase?: boolean;
12687
13060
 
12688
13061
  alphabet?: string;
@@ -12773,8 +13146,6 @@ type PerfectionistSortVariableDeclarations =
12773
13146
  | []
12774
13147
  | [
12775
13148
  {
12776
- specialCharacters?: "remove" | "trim" | "keep";
12777
-
12778
13149
  fallbackSort?: {
12779
13150
  order?: "asc" | "desc";
12780
13151
 
@@ -12787,6 +13158,8 @@ type PerfectionistSortVariableDeclarations =
12787
13158
  [k: string]: unknown | undefined;
12788
13159
  };
12789
13160
 
13161
+ specialCharacters?: "remove" | "trim" | "keep";
13162
+
12790
13163
  ignoreCase?: boolean;
12791
13164
 
12792
13165
  alphabet?: string;
@@ -18526,6 +18899,8 @@ type TypescriptEslintExplicitModuleBoundaryTypes =
18526
18899
 
18527
18900
  allowHigherOrderFunctions?: boolean;
18528
18901
 
18902
+ allowOverloadFunctions?: boolean;
18903
+
18529
18904
  allowTypedFunctionExpressions?: boolean;
18530
18905
  },
18531
18906
  ];
@@ -22040,6 +22415,8 @@ type TypescriptEslintUnifiedSignatures =
22040
22415
  | [
22041
22416
  {
22042
22417
  ignoreDifferentlyNamedParameters?: boolean;
22418
+
22419
+ ignoreOverloadsWithDifferentJSDoc?: boolean;
22043
22420
  },
22044
22421
  ];
22045
22422
  // ----- import/consistent-type-specifier-style -----
@@ -24177,7 +24554,7 @@ declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConf
24177
24554
  declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
24178
24555
  type DefineConfig = typeof defineConfig;
24179
24556
 
24180
- declare const VERSION = "0.3.0";
24557
+ declare const VERSION = "0.3.2";
24181
24558
 
24182
24559
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
24183
24560
  declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";
@@ -24518,7 +24895,7 @@ declare function importPluginReact(): Promise<{
24518
24895
  };
24519
24896
  }>;
24520
24897
  declare function importPluginReactHooks(): Promise<{
24521
- pluginReactHooks: any;
24898
+ pluginReactHooks: typeof eslint_plugin_react_hooks;
24522
24899
  }>;
24523
24900
  declare function importPluginReactRefresh(): Promise<{
24524
24901
  pluginReactRefresh: {
@@ -24815,7 +25192,7 @@ declare function importReactPlugins(): Promise<{
24815
25192
  flat: Record<string, eslint_plugin_react.ReactFlatConfig>;
24816
25193
  };
24817
25194
  };
24818
- pluginReactHooks: any;
25195
+ pluginReactHooks: typeof eslint_plugin_react_hooks;
24819
25196
  pluginReactRefresh: {
24820
25197
  rules: Record<string, any>;
24821
25198
  configs: {