@w5s/eslint-config 7.1.2 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,6 +24,11 @@ export interface RuleOptions {
24
24
  * @see https://perfectionist.dev/rules/sort-classes
25
25
  */
26
26
  'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>
27
+ /**
28
+ * Enforce sorted constructor parameters.
29
+ * @see https://perfectionist.dev/rules/sort-constructor-parameters
30
+ */
31
+ 'perfectionist/sort-constructor-parameters'?: Linter.RuleEntry<PerfectionistSortConstructorParameters>
27
32
  /**
28
33
  * Enforce sorted decorators.
29
34
  * @see https://perfectionist.dev/rules/sort-decorators
@@ -711,9 +716,9 @@ type PerfectionistSortClasses = {
711
716
  flags?: string
712
717
  } | string))
713
718
 
714
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
719
+ modifiers?: ("static" | "declare" | "abstract" | "decorated" | "override" | "readonly" | "protected" | "private" | "public" | "optional" | "async")[]
715
720
 
716
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
721
+ selector?: ("function-property" | "accessor-property" | "property" | "constructor" | "get-method" | "set-method" | "method" | "index-signature" | "static-block")
717
722
 
718
723
  decoratorNamePattern?: (({
719
724
 
@@ -752,9 +757,9 @@ type PerfectionistSortClasses = {
752
757
  flags?: string
753
758
  } | string))
754
759
 
755
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
760
+ modifiers?: ("static" | "declare" | "abstract" | "decorated" | "override" | "readonly" | "protected" | "private" | "public" | "optional" | "async")[]
756
761
 
757
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
762
+ selector?: ("function-property" | "accessor-property" | "property" | "constructor" | "get-method" | "set-method" | "method" | "index-signature" | "static-block")
758
763
 
759
764
  decoratorNamePattern?: (({
760
765
 
@@ -808,9 +813,9 @@ type PerfectionistSortClasses = {
808
813
  flags?: string
809
814
  } | string))
810
815
 
811
- modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
816
+ modifiers?: ("static" | "declare" | "abstract" | "decorated" | "override" | "readonly" | "protected" | "private" | "public" | "optional" | "async")[]
812
817
 
813
- selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
818
+ selector?: ("function-property" | "accessor-property" | "property" | "constructor" | "get-method" | "set-method" | "method" | "index-signature" | "static-block")
814
819
 
815
820
  decoratorNamePattern?: (({
816
821
 
@@ -930,6 +935,444 @@ type PerfectionistSortClasses = {
930
935
 
931
936
  partitionByNewLine?: boolean
932
937
  }[]
938
+ // ----- perfectionist/sort-constructor-parameters -----
939
+ type PerfectionistSortConstructorParameters = [{
940
+
941
+ fallbackSort?: {
942
+
943
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
944
+
945
+ order?: ("asc" | "desc")
946
+ }
947
+
948
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
949
+
950
+ specialCharacters?: ("remove" | "trim" | "keep")
951
+
952
+ ignoreCase?: boolean
953
+
954
+ alphabet?: string
955
+
956
+ locales?: (string | string[])
957
+
958
+ order?: ("asc" | "desc")
959
+
960
+ customGroups?: ({
961
+
962
+ fallbackSort?: {
963
+
964
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
965
+
966
+ order?: ("asc" | "desc")
967
+ }
968
+
969
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
970
+
971
+ groupName: string
972
+ newlinesInside?: ("ignore" | number)
973
+
974
+ order?: ("asc" | "desc")
975
+
976
+ anyOf: [{
977
+
978
+ elementNamePattern?: (({
979
+
980
+ pattern: string
981
+
982
+ flags?: string
983
+ } | string)[] | ({
984
+
985
+ pattern: string
986
+
987
+ flags?: string
988
+ } | string))
989
+
990
+ modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[]
991
+
992
+ selector?: "parameter"
993
+
994
+ decoratorNamePattern?: (({
995
+
996
+ pattern: string
997
+
998
+ flags?: string
999
+ } | string)[] | ({
1000
+
1001
+ pattern: string
1002
+
1003
+ flags?: string
1004
+ } | string))
1005
+ }, ...({
1006
+
1007
+ elementNamePattern?: (({
1008
+
1009
+ pattern: string
1010
+
1011
+ flags?: string
1012
+ } | string)[] | ({
1013
+
1014
+ pattern: string
1015
+
1016
+ flags?: string
1017
+ } | string))
1018
+
1019
+ modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[]
1020
+
1021
+ selector?: "parameter"
1022
+
1023
+ decoratorNamePattern?: (({
1024
+
1025
+ pattern: string
1026
+
1027
+ flags?: string
1028
+ } | string)[] | ({
1029
+
1030
+ pattern: string
1031
+
1032
+ flags?: string
1033
+ } | string))
1034
+ })[]]
1035
+ } | {
1036
+
1037
+ fallbackSort?: {
1038
+
1039
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
1040
+
1041
+ order?: ("asc" | "desc")
1042
+ }
1043
+
1044
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
1045
+
1046
+ groupName: string
1047
+ newlinesInside?: ("ignore" | number)
1048
+
1049
+ order?: ("asc" | "desc")
1050
+
1051
+ elementNamePattern?: (({
1052
+
1053
+ pattern: string
1054
+
1055
+ flags?: string
1056
+ } | string)[] | ({
1057
+
1058
+ pattern: string
1059
+
1060
+ flags?: string
1061
+ } | string))
1062
+
1063
+ modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[]
1064
+
1065
+ selector?: "parameter"
1066
+
1067
+ decoratorNamePattern?: (({
1068
+
1069
+ pattern: string
1070
+
1071
+ flags?: string
1072
+ } | string)[] | ({
1073
+
1074
+ pattern: string
1075
+
1076
+ flags?: string
1077
+ } | string))
1078
+ })[]
1079
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
1080
+
1081
+ groups?: (string | [string, ...(string)[]] | {
1082
+ newlinesBetween: ("ignore" | number)
1083
+ } | {
1084
+ group: (string | [string, ...(string)[]])
1085
+
1086
+ fallbackSort?: {
1087
+
1088
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
1089
+
1090
+ order?: ("asc" | "desc")
1091
+ }
1092
+
1093
+ commentAbove?: string
1094
+
1095
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
1096
+ newlinesInside?: ("ignore" | number)
1097
+
1098
+ order?: ("asc" | "desc")
1099
+ })[]
1100
+ newlinesBetween?: ("ignore" | number)
1101
+
1102
+ useConfigurationIf: {
1103
+
1104
+ allNamesMatchPattern?: (({
1105
+
1106
+ pattern: string
1107
+
1108
+ flags?: string
1109
+ } | string)[] | ({
1110
+
1111
+ pattern: string
1112
+
1113
+ flags?: string
1114
+ } | string))
1115
+
1116
+ matchesAstSelector?: string
1117
+ }
1118
+
1119
+ partitionByComment?: (boolean | (({
1120
+
1121
+ pattern: string
1122
+
1123
+ flags?: string
1124
+ } | string)[] | ({
1125
+
1126
+ pattern: string
1127
+
1128
+ flags?: string
1129
+ } | string)) | {
1130
+
1131
+ block?: (boolean | (({
1132
+
1133
+ pattern: string
1134
+
1135
+ flags?: string
1136
+ } | string)[] | ({
1137
+
1138
+ pattern: string
1139
+
1140
+ flags?: string
1141
+ } | string)))
1142
+
1143
+ line?: (boolean | (({
1144
+
1145
+ pattern: string
1146
+
1147
+ flags?: string
1148
+ } | string)[] | ({
1149
+
1150
+ pattern: string
1151
+
1152
+ flags?: string
1153
+ } | string)))
1154
+ })
1155
+
1156
+ partitionByNewLine?: boolean
1157
+ }, ...({
1158
+
1159
+ fallbackSort?: {
1160
+
1161
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
1162
+
1163
+ order?: ("asc" | "desc")
1164
+ }
1165
+
1166
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
1167
+
1168
+ specialCharacters?: ("remove" | "trim" | "keep")
1169
+
1170
+ ignoreCase?: boolean
1171
+
1172
+ alphabet?: string
1173
+
1174
+ locales?: (string | string[])
1175
+
1176
+ order?: ("asc" | "desc")
1177
+
1178
+ customGroups?: ({
1179
+
1180
+ fallbackSort?: {
1181
+
1182
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
1183
+
1184
+ order?: ("asc" | "desc")
1185
+ }
1186
+
1187
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
1188
+
1189
+ groupName: string
1190
+ newlinesInside?: ("ignore" | number)
1191
+
1192
+ order?: ("asc" | "desc")
1193
+
1194
+ anyOf: [{
1195
+
1196
+ elementNamePattern?: (({
1197
+
1198
+ pattern: string
1199
+
1200
+ flags?: string
1201
+ } | string)[] | ({
1202
+
1203
+ pattern: string
1204
+
1205
+ flags?: string
1206
+ } | string))
1207
+
1208
+ modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[]
1209
+
1210
+ selector?: "parameter"
1211
+
1212
+ decoratorNamePattern?: (({
1213
+
1214
+ pattern: string
1215
+
1216
+ flags?: string
1217
+ } | string)[] | ({
1218
+
1219
+ pattern: string
1220
+
1221
+ flags?: string
1222
+ } | string))
1223
+ }, ...({
1224
+
1225
+ elementNamePattern?: (({
1226
+
1227
+ pattern: string
1228
+
1229
+ flags?: string
1230
+ } | string)[] | ({
1231
+
1232
+ pattern: string
1233
+
1234
+ flags?: string
1235
+ } | string))
1236
+
1237
+ modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[]
1238
+
1239
+ selector?: "parameter"
1240
+
1241
+ decoratorNamePattern?: (({
1242
+
1243
+ pattern: string
1244
+
1245
+ flags?: string
1246
+ } | string)[] | ({
1247
+
1248
+ pattern: string
1249
+
1250
+ flags?: string
1251
+ } | string))
1252
+ })[]]
1253
+ } | {
1254
+
1255
+ fallbackSort?: {
1256
+
1257
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
1258
+
1259
+ order?: ("asc" | "desc")
1260
+ }
1261
+
1262
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
1263
+
1264
+ groupName: string
1265
+ newlinesInside?: ("ignore" | number)
1266
+
1267
+ order?: ("asc" | "desc")
1268
+
1269
+ elementNamePattern?: (({
1270
+
1271
+ pattern: string
1272
+
1273
+ flags?: string
1274
+ } | string)[] | ({
1275
+
1276
+ pattern: string
1277
+
1278
+ flags?: string
1279
+ } | string))
1280
+
1281
+ modifiers?: ("decorated" | "override" | "readonly" | "protected" | "private" | "public")[]
1282
+
1283
+ selector?: "parameter"
1284
+
1285
+ decoratorNamePattern?: (({
1286
+
1287
+ pattern: string
1288
+
1289
+ flags?: string
1290
+ } | string)[] | ({
1291
+
1292
+ pattern: string
1293
+
1294
+ flags?: string
1295
+ } | string))
1296
+ })[]
1297
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
1298
+
1299
+ groups?: (string | [string, ...(string)[]] | {
1300
+ newlinesBetween: ("ignore" | number)
1301
+ } | {
1302
+ group: (string | [string, ...(string)[]])
1303
+
1304
+ fallbackSort?: {
1305
+
1306
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
1307
+
1308
+ order?: ("asc" | "desc")
1309
+ }
1310
+
1311
+ commentAbove?: string
1312
+
1313
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
1314
+ newlinesInside?: ("ignore" | number)
1315
+
1316
+ order?: ("asc" | "desc")
1317
+ })[]
1318
+ newlinesBetween?: ("ignore" | number)
1319
+
1320
+ useConfigurationIf: {
1321
+
1322
+ allNamesMatchPattern?: (({
1323
+
1324
+ pattern: string
1325
+
1326
+ flags?: string
1327
+ } | string)[] | ({
1328
+
1329
+ pattern: string
1330
+
1331
+ flags?: string
1332
+ } | string))
1333
+
1334
+ matchesAstSelector?: string
1335
+ }
1336
+
1337
+ partitionByComment?: (boolean | (({
1338
+
1339
+ pattern: string
1340
+
1341
+ flags?: string
1342
+ } | string)[] | ({
1343
+
1344
+ pattern: string
1345
+
1346
+ flags?: string
1347
+ } | string)) | {
1348
+
1349
+ block?: (boolean | (({
1350
+
1351
+ pattern: string
1352
+
1353
+ flags?: string
1354
+ } | string)[] | ({
1355
+
1356
+ pattern: string
1357
+
1358
+ flags?: string
1359
+ } | string)))
1360
+
1361
+ line?: (boolean | (({
1362
+
1363
+ pattern: string
1364
+
1365
+ flags?: string
1366
+ } | string)[] | ({
1367
+
1368
+ pattern: string
1369
+
1370
+ flags?: string
1371
+ } | string)))
1372
+ })
1373
+
1374
+ partitionByNewLine?: boolean
1375
+ })[]]
933
1376
  // ----- perfectionist/sort-decorators -----
934
1377
  type PerfectionistSortDecorators = {
935
1378
 
@@ -2046,9 +2489,9 @@ type PerfectionistSortImports = {
2046
2489
  flags?: string
2047
2490
  } | string))
2048
2491
 
2049
- modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[]
2492
+ modifiers?: ("side-effect" | "type" | "value" | "ts-equals" | "require" | "default" | "wildcard" | "named" | "multiline" | "singleline")[]
2050
2493
 
2051
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
2494
+ selector?: ("type" | "side-effect-style" | "side-effect" | "style" | "tsconfig-path" | "index" | "sibling" | "parent" | "subpath" | "internal" | "builtin" | "external" | "import")
2052
2495
  }, ...({
2053
2496
 
2054
2497
  elementNamePattern?: (({
@@ -2063,9 +2506,9 @@ type PerfectionistSortImports = {
2063
2506
  flags?: string
2064
2507
  } | string))
2065
2508
 
2066
- modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[]
2509
+ modifiers?: ("side-effect" | "type" | "value" | "ts-equals" | "require" | "default" | "wildcard" | "named" | "multiline" | "singleline")[]
2067
2510
 
2068
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
2511
+ selector?: ("type" | "side-effect-style" | "side-effect" | "style" | "tsconfig-path" | "index" | "sibling" | "parent" | "subpath" | "internal" | "builtin" | "external" | "import")
2069
2512
  })[]]
2070
2513
  } | {
2071
2514
 
@@ -2097,9 +2540,9 @@ type PerfectionistSortImports = {
2097
2540
  flags?: string
2098
2541
  } | string))
2099
2542
 
2100
- modifiers?: ("default" | "multiline" | "named" | "require" | "side-effect" | "singleline" | "ts-equals" | "type" | "value" | "wildcard")[]
2543
+ modifiers?: ("side-effect" | "type" | "value" | "ts-equals" | "require" | "default" | "wildcard" | "named" | "multiline" | "singleline")[]
2101
2544
 
2102
- selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
2545
+ selector?: ("type" | "side-effect-style" | "side-effect" | "style" | "tsconfig-path" | "index" | "sibling" | "parent" | "subpath" | "internal" | "builtin" | "external" | "import")
2103
2546
  })[]
2104
2547
  newlinesInside?: (("ignore" | number) | "newlinesBetween")
2105
2548
 
@@ -2247,9 +2690,9 @@ type PerfectionistSortInterfaces = {
2247
2690
  flags?: string
2248
2691
  } | string))
2249
2692
 
2250
- modifiers?: ("optional" | "required" | "multiline")[]
2693
+ modifiers?: ("multiline" | "optional" | "required")[]
2251
2694
 
2252
- selector?: ("index-signature" | "member" | "method" | "property")
2695
+ selector?: ("index-signature" | "method" | "property" | "member")
2253
2696
 
2254
2697
  elementValuePattern?: (({
2255
2698
 
@@ -2276,9 +2719,9 @@ type PerfectionistSortInterfaces = {
2276
2719
  flags?: string
2277
2720
  } | string))
2278
2721
 
2279
- modifiers?: ("optional" | "required" | "multiline")[]
2722
+ modifiers?: ("multiline" | "optional" | "required")[]
2280
2723
 
2281
- selector?: ("index-signature" | "member" | "method" | "property")
2724
+ selector?: ("index-signature" | "method" | "property" | "member")
2282
2725
 
2283
2726
  elementValuePattern?: (({
2284
2727
 
@@ -2322,9 +2765,9 @@ type PerfectionistSortInterfaces = {
2322
2765
  flags?: string
2323
2766
  } | string))
2324
2767
 
2325
- modifiers?: ("optional" | "required" | "multiline")[]
2768
+ modifiers?: ("multiline" | "optional" | "required")[]
2326
2769
 
2327
- selector?: ("index-signature" | "member" | "method" | "property")
2770
+ selector?: ("index-signature" | "method" | "property" | "member")
2328
2771
 
2329
2772
  elementValuePattern?: (({
2330
2773
 
@@ -3047,7 +3490,7 @@ type PerfectionistSortModules = []|[{
3047
3490
  flags?: string
3048
3491
  } | string))
3049
3492
 
3050
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
3493
+ modifiers?: ("arrow" | "declare" | "default" | "async" | "decorated" | "export")[]
3051
3494
 
3052
3495
  selector?: ("enum" | "function" | "interface" | "type" | "class")
3053
3496
 
@@ -3076,7 +3519,7 @@ type PerfectionistSortModules = []|[{
3076
3519
  flags?: string
3077
3520
  } | string))
3078
3521
 
3079
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
3522
+ modifiers?: ("arrow" | "declare" | "default" | "async" | "decorated" | "export")[]
3080
3523
 
3081
3524
  selector?: ("enum" | "function" | "interface" | "type" | "class")
3082
3525
 
@@ -3120,7 +3563,7 @@ type PerfectionistSortModules = []|[{
3120
3563
  flags?: string
3121
3564
  } | string))
3122
3565
 
3123
- modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
3566
+ modifiers?: ("arrow" | "declare" | "default" | "async" | "decorated" | "export")[]
3124
3567
 
3125
3568
  selector?: ("enum" | "function" | "interface" | "type" | "class")
3126
3569
 
@@ -3161,6 +3604,8 @@ type PerfectionistSortModules = []|[{
3161
3604
 
3162
3605
  additionalModuleBlockTypes?: string[]
3163
3606
 
3607
+ sortArrowFunctions?: boolean
3608
+
3164
3609
  useExperimentalDependencyDetection?: boolean
3165
3610
  newlinesBetweenOverloadSignatures?: ("ignore" | number)
3166
3611
 
@@ -3637,9 +4082,9 @@ type PerfectionistSortObjectTypes = {
3637
4082
  flags?: string
3638
4083
  } | string))
3639
4084
 
3640
- modifiers?: ("optional" | "required" | "multiline")[]
4085
+ modifiers?: ("multiline" | "optional" | "required")[]
3641
4086
 
3642
- selector?: ("index-signature" | "member" | "method" | "property")
4087
+ selector?: ("index-signature" | "method" | "property" | "member")
3643
4088
 
3644
4089
  elementValuePattern?: (({
3645
4090
 
@@ -3666,9 +4111,9 @@ type PerfectionistSortObjectTypes = {
3666
4111
  flags?: string
3667
4112
  } | string))
3668
4113
 
3669
- modifiers?: ("optional" | "required" | "multiline")[]
4114
+ modifiers?: ("multiline" | "optional" | "required")[]
3670
4115
 
3671
- selector?: ("index-signature" | "member" | "method" | "property")
4116
+ selector?: ("index-signature" | "method" | "property" | "member")
3672
4117
 
3673
4118
  elementValuePattern?: (({
3674
4119
 
@@ -3712,9 +4157,9 @@ type PerfectionistSortObjectTypes = {
3712
4157
  flags?: string
3713
4158
  } | string))
3714
4159
 
3715
- modifiers?: ("optional" | "required" | "multiline")[]
4160
+ modifiers?: ("multiline" | "optional" | "required")[]
3716
4161
 
3717
- selector?: ("index-signature" | "member" | "method" | "property")
4162
+ selector?: ("index-signature" | "method" | "property" | "member")
3718
4163
 
3719
4164
  elementValuePattern?: (({
3720
4165
 
@@ -3897,7 +4342,7 @@ type PerfectionistSortObjects = {
3897
4342
 
3898
4343
  modifiers?: ("multiline")[]
3899
4344
 
3900
- selector?: ("member" | "method" | "property")
4345
+ selector?: ("method" | "property" | "member")
3901
4346
 
3902
4347
  elementValuePattern?: (({
3903
4348
 
@@ -3926,7 +4371,7 @@ type PerfectionistSortObjects = {
3926
4371
 
3927
4372
  modifiers?: ("multiline")[]
3928
4373
 
3929
- selector?: ("member" | "method" | "property")
4374
+ selector?: ("method" | "property" | "member")
3930
4375
 
3931
4376
  elementValuePattern?: (({
3932
4377
 
@@ -3972,7 +4417,7 @@ type PerfectionistSortObjects = {
3972
4417
 
3973
4418
  modifiers?: ("multiline")[]
3974
4419
 
3975
- selector?: ("member" | "method" | "property")
4420
+ selector?: ("method" | "property" | "member")
3976
4421
 
3977
4422
  elementValuePattern?: (({
3978
4423