eslint-plugin-nextfriday 4.2.0 → 4.3.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.
- package/CHANGELOG.md +6 -0
- package/README.md +13 -7
- package/docs/rules/ENFORCE_HOOK_FILENAME.md +77 -0
- package/docs/rules/ENFORCE_TEST_FILENAME.md +61 -0
- package/docs/rules/NO_HELPER_FUNCTION_IN_HOOK.md +86 -0
- package/docs/rules/NO_HELPER_FUNCTION_IN_TEST.md +69 -0
- package/lib/index.cjs +729 -550
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +168 -0
- package/lib/index.d.ts +168 -0
- package/lib/index.js +729 -550
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -14,6 +14,9 @@ declare const rules: {
|
|
|
14
14
|
readonly "enforce-constant-case": TSESLint.RuleModule<"noSnakeCase" | "useScreamingSnakeCase", [], unknown, TSESLint.RuleListener> & {
|
|
15
15
|
name: string;
|
|
16
16
|
};
|
|
17
|
+
readonly "enforce-hook-filename": TSESLint.RuleModule<"requireHookFilename", [], unknown, TSESLint.RuleListener> & {
|
|
18
|
+
name: string;
|
|
19
|
+
};
|
|
17
20
|
readonly "enforce-hook-naming": TSESLint.RuleModule<"missingUsePrefix" | "defaultExportMissingUsePrefix", [], unknown, TSESLint.RuleListener> & {
|
|
18
21
|
name: string;
|
|
19
22
|
};
|
|
@@ -32,6 +35,9 @@ declare const rules: {
|
|
|
32
35
|
readonly "enforce-service-naming": TSESLint.RuleModule<"bannedPrefix", [], unknown, TSESLint.RuleListener> & {
|
|
33
36
|
name: string;
|
|
34
37
|
};
|
|
38
|
+
readonly "enforce-test-filename": TSESLint.RuleModule<"requireTestFilename", [], unknown, TSESLint.RuleListener> & {
|
|
39
|
+
name: string;
|
|
40
|
+
};
|
|
35
41
|
readonly "enforce-sorted-destructuring": TSESLint.RuleModule<"unsortedDestructuring", [], unknown, TSESLint.RuleListener> & {
|
|
36
42
|
name: string;
|
|
37
43
|
};
|
|
@@ -101,6 +107,12 @@ declare const rules: {
|
|
|
101
107
|
readonly "no-ghost-wrapper": TSESLint.RuleModule<"noGhostWrapper", [], unknown, TSESLint.RuleListener> & {
|
|
102
108
|
name: string;
|
|
103
109
|
};
|
|
110
|
+
readonly "no-helper-function-in-hook": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
111
|
+
name: string;
|
|
112
|
+
};
|
|
113
|
+
readonly "no-helper-function-in-test": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
114
|
+
name: string;
|
|
115
|
+
};
|
|
104
116
|
readonly "no-inline-default-export": TSESLint.RuleModule<"noInlineDefaultExport" | "noAnonymousDefaultExport" | "noInlineNamedExport", [], unknown, TSESLint.RuleListener> & {
|
|
105
117
|
name: string;
|
|
106
118
|
};
|
|
@@ -213,6 +225,9 @@ declare const configs: {
|
|
|
213
225
|
readonly "enforce-constant-case": TSESLint.RuleModule<"noSnakeCase" | "useScreamingSnakeCase", [], unknown, TSESLint.RuleListener> & {
|
|
214
226
|
name: string;
|
|
215
227
|
};
|
|
228
|
+
readonly "enforce-hook-filename": TSESLint.RuleModule<"requireHookFilename", [], unknown, TSESLint.RuleListener> & {
|
|
229
|
+
name: string;
|
|
230
|
+
};
|
|
216
231
|
readonly "enforce-hook-naming": TSESLint.RuleModule<"missingUsePrefix" | "defaultExportMissingUsePrefix", [], unknown, TSESLint.RuleListener> & {
|
|
217
232
|
name: string;
|
|
218
233
|
};
|
|
@@ -231,6 +246,9 @@ declare const configs: {
|
|
|
231
246
|
readonly "enforce-service-naming": TSESLint.RuleModule<"bannedPrefix", [], unknown, TSESLint.RuleListener> & {
|
|
232
247
|
name: string;
|
|
233
248
|
};
|
|
249
|
+
readonly "enforce-test-filename": TSESLint.RuleModule<"requireTestFilename", [], unknown, TSESLint.RuleListener> & {
|
|
250
|
+
name: string;
|
|
251
|
+
};
|
|
234
252
|
readonly "enforce-sorted-destructuring": TSESLint.RuleModule<"unsortedDestructuring", [], unknown, TSESLint.RuleListener> & {
|
|
235
253
|
name: string;
|
|
236
254
|
};
|
|
@@ -300,6 +318,12 @@ declare const configs: {
|
|
|
300
318
|
readonly "no-ghost-wrapper": TSESLint.RuleModule<"noGhostWrapper", [], unknown, TSESLint.RuleListener> & {
|
|
301
319
|
name: string;
|
|
302
320
|
};
|
|
321
|
+
readonly "no-helper-function-in-hook": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
322
|
+
name: string;
|
|
323
|
+
};
|
|
324
|
+
readonly "no-helper-function-in-test": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
325
|
+
name: string;
|
|
326
|
+
};
|
|
303
327
|
readonly "no-inline-default-export": TSESLint.RuleModule<"noInlineDefaultExport" | "noAnonymousDefaultExport" | "noInlineNamedExport", [], unknown, TSESLint.RuleListener> & {
|
|
304
328
|
name: string;
|
|
305
329
|
};
|
|
@@ -415,6 +439,9 @@ declare const configs: {
|
|
|
415
439
|
readonly "enforce-constant-case": TSESLint.RuleModule<"noSnakeCase" | "useScreamingSnakeCase", [], unknown, TSESLint.RuleListener> & {
|
|
416
440
|
name: string;
|
|
417
441
|
};
|
|
442
|
+
readonly "enforce-hook-filename": TSESLint.RuleModule<"requireHookFilename", [], unknown, TSESLint.RuleListener> & {
|
|
443
|
+
name: string;
|
|
444
|
+
};
|
|
418
445
|
readonly "enforce-hook-naming": TSESLint.RuleModule<"missingUsePrefix" | "defaultExportMissingUsePrefix", [], unknown, TSESLint.RuleListener> & {
|
|
419
446
|
name: string;
|
|
420
447
|
};
|
|
@@ -433,6 +460,9 @@ declare const configs: {
|
|
|
433
460
|
readonly "enforce-service-naming": TSESLint.RuleModule<"bannedPrefix", [], unknown, TSESLint.RuleListener> & {
|
|
434
461
|
name: string;
|
|
435
462
|
};
|
|
463
|
+
readonly "enforce-test-filename": TSESLint.RuleModule<"requireTestFilename", [], unknown, TSESLint.RuleListener> & {
|
|
464
|
+
name: string;
|
|
465
|
+
};
|
|
436
466
|
readonly "enforce-sorted-destructuring": TSESLint.RuleModule<"unsortedDestructuring", [], unknown, TSESLint.RuleListener> & {
|
|
437
467
|
name: string;
|
|
438
468
|
};
|
|
@@ -502,6 +532,12 @@ declare const configs: {
|
|
|
502
532
|
readonly "no-ghost-wrapper": TSESLint.RuleModule<"noGhostWrapper", [], unknown, TSESLint.RuleListener> & {
|
|
503
533
|
name: string;
|
|
504
534
|
};
|
|
535
|
+
readonly "no-helper-function-in-hook": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
536
|
+
name: string;
|
|
537
|
+
};
|
|
538
|
+
readonly "no-helper-function-in-test": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
539
|
+
name: string;
|
|
540
|
+
};
|
|
505
541
|
readonly "no-inline-default-export": TSESLint.RuleModule<"noInlineDefaultExport" | "noAnonymousDefaultExport" | "noInlineNamedExport", [], unknown, TSESLint.RuleListener> & {
|
|
506
542
|
name: string;
|
|
507
543
|
};
|
|
@@ -617,6 +653,9 @@ declare const configs: {
|
|
|
617
653
|
readonly "enforce-constant-case": TSESLint.RuleModule<"noSnakeCase" | "useScreamingSnakeCase", [], unknown, TSESLint.RuleListener> & {
|
|
618
654
|
name: string;
|
|
619
655
|
};
|
|
656
|
+
readonly "enforce-hook-filename": TSESLint.RuleModule<"requireHookFilename", [], unknown, TSESLint.RuleListener> & {
|
|
657
|
+
name: string;
|
|
658
|
+
};
|
|
620
659
|
readonly "enforce-hook-naming": TSESLint.RuleModule<"missingUsePrefix" | "defaultExportMissingUsePrefix", [], unknown, TSESLint.RuleListener> & {
|
|
621
660
|
name: string;
|
|
622
661
|
};
|
|
@@ -635,6 +674,9 @@ declare const configs: {
|
|
|
635
674
|
readonly "enforce-service-naming": TSESLint.RuleModule<"bannedPrefix", [], unknown, TSESLint.RuleListener> & {
|
|
636
675
|
name: string;
|
|
637
676
|
};
|
|
677
|
+
readonly "enforce-test-filename": TSESLint.RuleModule<"requireTestFilename", [], unknown, TSESLint.RuleListener> & {
|
|
678
|
+
name: string;
|
|
679
|
+
};
|
|
638
680
|
readonly "enforce-sorted-destructuring": TSESLint.RuleModule<"unsortedDestructuring", [], unknown, TSESLint.RuleListener> & {
|
|
639
681
|
name: string;
|
|
640
682
|
};
|
|
@@ -704,6 +746,12 @@ declare const configs: {
|
|
|
704
746
|
readonly "no-ghost-wrapper": TSESLint.RuleModule<"noGhostWrapper", [], unknown, TSESLint.RuleListener> & {
|
|
705
747
|
name: string;
|
|
706
748
|
};
|
|
749
|
+
readonly "no-helper-function-in-hook": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
750
|
+
name: string;
|
|
751
|
+
};
|
|
752
|
+
readonly "no-helper-function-in-test": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
753
|
+
name: string;
|
|
754
|
+
};
|
|
707
755
|
readonly "no-inline-default-export": TSESLint.RuleModule<"noInlineDefaultExport" | "noAnonymousDefaultExport" | "noInlineNamedExport", [], unknown, TSESLint.RuleListener> & {
|
|
708
756
|
name: string;
|
|
709
757
|
};
|
|
@@ -819,6 +867,9 @@ declare const configs: {
|
|
|
819
867
|
readonly "enforce-constant-case": TSESLint.RuleModule<"noSnakeCase" | "useScreamingSnakeCase", [], unknown, TSESLint.RuleListener> & {
|
|
820
868
|
name: string;
|
|
821
869
|
};
|
|
870
|
+
readonly "enforce-hook-filename": TSESLint.RuleModule<"requireHookFilename", [], unknown, TSESLint.RuleListener> & {
|
|
871
|
+
name: string;
|
|
872
|
+
};
|
|
822
873
|
readonly "enforce-hook-naming": TSESLint.RuleModule<"missingUsePrefix" | "defaultExportMissingUsePrefix", [], unknown, TSESLint.RuleListener> & {
|
|
823
874
|
name: string;
|
|
824
875
|
};
|
|
@@ -837,6 +888,9 @@ declare const configs: {
|
|
|
837
888
|
readonly "enforce-service-naming": TSESLint.RuleModule<"bannedPrefix", [], unknown, TSESLint.RuleListener> & {
|
|
838
889
|
name: string;
|
|
839
890
|
};
|
|
891
|
+
readonly "enforce-test-filename": TSESLint.RuleModule<"requireTestFilename", [], unknown, TSESLint.RuleListener> & {
|
|
892
|
+
name: string;
|
|
893
|
+
};
|
|
840
894
|
readonly "enforce-sorted-destructuring": TSESLint.RuleModule<"unsortedDestructuring", [], unknown, TSESLint.RuleListener> & {
|
|
841
895
|
name: string;
|
|
842
896
|
};
|
|
@@ -906,6 +960,12 @@ declare const configs: {
|
|
|
906
960
|
readonly "no-ghost-wrapper": TSESLint.RuleModule<"noGhostWrapper", [], unknown, TSESLint.RuleListener> & {
|
|
907
961
|
name: string;
|
|
908
962
|
};
|
|
963
|
+
readonly "no-helper-function-in-hook": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
964
|
+
name: string;
|
|
965
|
+
};
|
|
966
|
+
readonly "no-helper-function-in-test": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
967
|
+
name: string;
|
|
968
|
+
};
|
|
909
969
|
readonly "no-inline-default-export": TSESLint.RuleModule<"noInlineDefaultExport" | "noAnonymousDefaultExport" | "noInlineNamedExport", [], unknown, TSESLint.RuleListener> & {
|
|
910
970
|
name: string;
|
|
911
971
|
};
|
|
@@ -1021,6 +1081,9 @@ declare const configs: {
|
|
|
1021
1081
|
readonly "enforce-constant-case": TSESLint.RuleModule<"noSnakeCase" | "useScreamingSnakeCase", [], unknown, TSESLint.RuleListener> & {
|
|
1022
1082
|
name: string;
|
|
1023
1083
|
};
|
|
1084
|
+
readonly "enforce-hook-filename": TSESLint.RuleModule<"requireHookFilename", [], unknown, TSESLint.RuleListener> & {
|
|
1085
|
+
name: string;
|
|
1086
|
+
};
|
|
1024
1087
|
readonly "enforce-hook-naming": TSESLint.RuleModule<"missingUsePrefix" | "defaultExportMissingUsePrefix", [], unknown, TSESLint.RuleListener> & {
|
|
1025
1088
|
name: string;
|
|
1026
1089
|
};
|
|
@@ -1039,6 +1102,9 @@ declare const configs: {
|
|
|
1039
1102
|
readonly "enforce-service-naming": TSESLint.RuleModule<"bannedPrefix", [], unknown, TSESLint.RuleListener> & {
|
|
1040
1103
|
name: string;
|
|
1041
1104
|
};
|
|
1105
|
+
readonly "enforce-test-filename": TSESLint.RuleModule<"requireTestFilename", [], unknown, TSESLint.RuleListener> & {
|
|
1106
|
+
name: string;
|
|
1107
|
+
};
|
|
1042
1108
|
readonly "enforce-sorted-destructuring": TSESLint.RuleModule<"unsortedDestructuring", [], unknown, TSESLint.RuleListener> & {
|
|
1043
1109
|
name: string;
|
|
1044
1110
|
};
|
|
@@ -1108,6 +1174,12 @@ declare const configs: {
|
|
|
1108
1174
|
readonly "no-ghost-wrapper": TSESLint.RuleModule<"noGhostWrapper", [], unknown, TSESLint.RuleListener> & {
|
|
1109
1175
|
name: string;
|
|
1110
1176
|
};
|
|
1177
|
+
readonly "no-helper-function-in-hook": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
1178
|
+
name: string;
|
|
1179
|
+
};
|
|
1180
|
+
readonly "no-helper-function-in-test": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
1181
|
+
name: string;
|
|
1182
|
+
};
|
|
1111
1183
|
readonly "no-inline-default-export": TSESLint.RuleModule<"noInlineDefaultExport" | "noAnonymousDefaultExport" | "noInlineNamedExport", [], unknown, TSESLint.RuleListener> & {
|
|
1112
1184
|
name: string;
|
|
1113
1185
|
};
|
|
@@ -1223,6 +1295,9 @@ declare const configs: {
|
|
|
1223
1295
|
readonly "enforce-constant-case": TSESLint.RuleModule<"noSnakeCase" | "useScreamingSnakeCase", [], unknown, TSESLint.RuleListener> & {
|
|
1224
1296
|
name: string;
|
|
1225
1297
|
};
|
|
1298
|
+
readonly "enforce-hook-filename": TSESLint.RuleModule<"requireHookFilename", [], unknown, TSESLint.RuleListener> & {
|
|
1299
|
+
name: string;
|
|
1300
|
+
};
|
|
1226
1301
|
readonly "enforce-hook-naming": TSESLint.RuleModule<"missingUsePrefix" | "defaultExportMissingUsePrefix", [], unknown, TSESLint.RuleListener> & {
|
|
1227
1302
|
name: string;
|
|
1228
1303
|
};
|
|
@@ -1241,6 +1316,9 @@ declare const configs: {
|
|
|
1241
1316
|
readonly "enforce-service-naming": TSESLint.RuleModule<"bannedPrefix", [], unknown, TSESLint.RuleListener> & {
|
|
1242
1317
|
name: string;
|
|
1243
1318
|
};
|
|
1319
|
+
readonly "enforce-test-filename": TSESLint.RuleModule<"requireTestFilename", [], unknown, TSESLint.RuleListener> & {
|
|
1320
|
+
name: string;
|
|
1321
|
+
};
|
|
1244
1322
|
readonly "enforce-sorted-destructuring": TSESLint.RuleModule<"unsortedDestructuring", [], unknown, TSESLint.RuleListener> & {
|
|
1245
1323
|
name: string;
|
|
1246
1324
|
};
|
|
@@ -1310,6 +1388,12 @@ declare const configs: {
|
|
|
1310
1388
|
readonly "no-ghost-wrapper": TSESLint.RuleModule<"noGhostWrapper", [], unknown, TSESLint.RuleListener> & {
|
|
1311
1389
|
name: string;
|
|
1312
1390
|
};
|
|
1391
|
+
readonly "no-helper-function-in-hook": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
1392
|
+
name: string;
|
|
1393
|
+
};
|
|
1394
|
+
readonly "no-helper-function-in-test": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
1395
|
+
name: string;
|
|
1396
|
+
};
|
|
1313
1397
|
readonly "no-inline-default-export": TSESLint.RuleModule<"noInlineDefaultExport" | "noAnonymousDefaultExport" | "noInlineNamedExport", [], unknown, TSESLint.RuleListener> & {
|
|
1314
1398
|
name: string;
|
|
1315
1399
|
};
|
|
@@ -1432,6 +1516,9 @@ declare const nextfridayPlugin: {
|
|
|
1432
1516
|
readonly "enforce-constant-case": TSESLint.RuleModule<"noSnakeCase" | "useScreamingSnakeCase", [], unknown, TSESLint.RuleListener> & {
|
|
1433
1517
|
name: string;
|
|
1434
1518
|
};
|
|
1519
|
+
readonly "enforce-hook-filename": TSESLint.RuleModule<"requireHookFilename", [], unknown, TSESLint.RuleListener> & {
|
|
1520
|
+
name: string;
|
|
1521
|
+
};
|
|
1435
1522
|
readonly "enforce-hook-naming": TSESLint.RuleModule<"missingUsePrefix" | "defaultExportMissingUsePrefix", [], unknown, TSESLint.RuleListener> & {
|
|
1436
1523
|
name: string;
|
|
1437
1524
|
};
|
|
@@ -1450,6 +1537,9 @@ declare const nextfridayPlugin: {
|
|
|
1450
1537
|
readonly "enforce-service-naming": TSESLint.RuleModule<"bannedPrefix", [], unknown, TSESLint.RuleListener> & {
|
|
1451
1538
|
name: string;
|
|
1452
1539
|
};
|
|
1540
|
+
readonly "enforce-test-filename": TSESLint.RuleModule<"requireTestFilename", [], unknown, TSESLint.RuleListener> & {
|
|
1541
|
+
name: string;
|
|
1542
|
+
};
|
|
1453
1543
|
readonly "enforce-sorted-destructuring": TSESLint.RuleModule<"unsortedDestructuring", [], unknown, TSESLint.RuleListener> & {
|
|
1454
1544
|
name: string;
|
|
1455
1545
|
};
|
|
@@ -1519,6 +1609,12 @@ declare const nextfridayPlugin: {
|
|
|
1519
1609
|
readonly "no-ghost-wrapper": TSESLint.RuleModule<"noGhostWrapper", [], unknown, TSESLint.RuleListener> & {
|
|
1520
1610
|
name: string;
|
|
1521
1611
|
};
|
|
1612
|
+
readonly "no-helper-function-in-hook": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
1613
|
+
name: string;
|
|
1614
|
+
};
|
|
1615
|
+
readonly "no-helper-function-in-test": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
1616
|
+
name: string;
|
|
1617
|
+
};
|
|
1522
1618
|
readonly "no-inline-default-export": TSESLint.RuleModule<"noInlineDefaultExport" | "noAnonymousDefaultExport" | "noInlineNamedExport", [], unknown, TSESLint.RuleListener> & {
|
|
1523
1619
|
name: string;
|
|
1524
1620
|
};
|
|
@@ -1634,6 +1730,9 @@ declare const nextfridayPlugin: {
|
|
|
1634
1730
|
readonly "enforce-constant-case": TSESLint.RuleModule<"noSnakeCase" | "useScreamingSnakeCase", [], unknown, TSESLint.RuleListener> & {
|
|
1635
1731
|
name: string;
|
|
1636
1732
|
};
|
|
1733
|
+
readonly "enforce-hook-filename": TSESLint.RuleModule<"requireHookFilename", [], unknown, TSESLint.RuleListener> & {
|
|
1734
|
+
name: string;
|
|
1735
|
+
};
|
|
1637
1736
|
readonly "enforce-hook-naming": TSESLint.RuleModule<"missingUsePrefix" | "defaultExportMissingUsePrefix", [], unknown, TSESLint.RuleListener> & {
|
|
1638
1737
|
name: string;
|
|
1639
1738
|
};
|
|
@@ -1652,6 +1751,9 @@ declare const nextfridayPlugin: {
|
|
|
1652
1751
|
readonly "enforce-service-naming": TSESLint.RuleModule<"bannedPrefix", [], unknown, TSESLint.RuleListener> & {
|
|
1653
1752
|
name: string;
|
|
1654
1753
|
};
|
|
1754
|
+
readonly "enforce-test-filename": TSESLint.RuleModule<"requireTestFilename", [], unknown, TSESLint.RuleListener> & {
|
|
1755
|
+
name: string;
|
|
1756
|
+
};
|
|
1655
1757
|
readonly "enforce-sorted-destructuring": TSESLint.RuleModule<"unsortedDestructuring", [], unknown, TSESLint.RuleListener> & {
|
|
1656
1758
|
name: string;
|
|
1657
1759
|
};
|
|
@@ -1721,6 +1823,12 @@ declare const nextfridayPlugin: {
|
|
|
1721
1823
|
readonly "no-ghost-wrapper": TSESLint.RuleModule<"noGhostWrapper", [], unknown, TSESLint.RuleListener> & {
|
|
1722
1824
|
name: string;
|
|
1723
1825
|
};
|
|
1826
|
+
readonly "no-helper-function-in-hook": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
1827
|
+
name: string;
|
|
1828
|
+
};
|
|
1829
|
+
readonly "no-helper-function-in-test": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
1830
|
+
name: string;
|
|
1831
|
+
};
|
|
1724
1832
|
readonly "no-inline-default-export": TSESLint.RuleModule<"noInlineDefaultExport" | "noAnonymousDefaultExport" | "noInlineNamedExport", [], unknown, TSESLint.RuleListener> & {
|
|
1725
1833
|
name: string;
|
|
1726
1834
|
};
|
|
@@ -1836,6 +1944,9 @@ declare const nextfridayPlugin: {
|
|
|
1836
1944
|
readonly "enforce-constant-case": TSESLint.RuleModule<"noSnakeCase" | "useScreamingSnakeCase", [], unknown, TSESLint.RuleListener> & {
|
|
1837
1945
|
name: string;
|
|
1838
1946
|
};
|
|
1947
|
+
readonly "enforce-hook-filename": TSESLint.RuleModule<"requireHookFilename", [], unknown, TSESLint.RuleListener> & {
|
|
1948
|
+
name: string;
|
|
1949
|
+
};
|
|
1839
1950
|
readonly "enforce-hook-naming": TSESLint.RuleModule<"missingUsePrefix" | "defaultExportMissingUsePrefix", [], unknown, TSESLint.RuleListener> & {
|
|
1840
1951
|
name: string;
|
|
1841
1952
|
};
|
|
@@ -1854,6 +1965,9 @@ declare const nextfridayPlugin: {
|
|
|
1854
1965
|
readonly "enforce-service-naming": TSESLint.RuleModule<"bannedPrefix", [], unknown, TSESLint.RuleListener> & {
|
|
1855
1966
|
name: string;
|
|
1856
1967
|
};
|
|
1968
|
+
readonly "enforce-test-filename": TSESLint.RuleModule<"requireTestFilename", [], unknown, TSESLint.RuleListener> & {
|
|
1969
|
+
name: string;
|
|
1970
|
+
};
|
|
1857
1971
|
readonly "enforce-sorted-destructuring": TSESLint.RuleModule<"unsortedDestructuring", [], unknown, TSESLint.RuleListener> & {
|
|
1858
1972
|
name: string;
|
|
1859
1973
|
};
|
|
@@ -1923,6 +2037,12 @@ declare const nextfridayPlugin: {
|
|
|
1923
2037
|
readonly "no-ghost-wrapper": TSESLint.RuleModule<"noGhostWrapper", [], unknown, TSESLint.RuleListener> & {
|
|
1924
2038
|
name: string;
|
|
1925
2039
|
};
|
|
2040
|
+
readonly "no-helper-function-in-hook": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
2041
|
+
name: string;
|
|
2042
|
+
};
|
|
2043
|
+
readonly "no-helper-function-in-test": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
2044
|
+
name: string;
|
|
2045
|
+
};
|
|
1926
2046
|
readonly "no-inline-default-export": TSESLint.RuleModule<"noInlineDefaultExport" | "noAnonymousDefaultExport" | "noInlineNamedExport", [], unknown, TSESLint.RuleListener> & {
|
|
1927
2047
|
name: string;
|
|
1928
2048
|
};
|
|
@@ -2038,6 +2158,9 @@ declare const nextfridayPlugin: {
|
|
|
2038
2158
|
readonly "enforce-constant-case": TSESLint.RuleModule<"noSnakeCase" | "useScreamingSnakeCase", [], unknown, TSESLint.RuleListener> & {
|
|
2039
2159
|
name: string;
|
|
2040
2160
|
};
|
|
2161
|
+
readonly "enforce-hook-filename": TSESLint.RuleModule<"requireHookFilename", [], unknown, TSESLint.RuleListener> & {
|
|
2162
|
+
name: string;
|
|
2163
|
+
};
|
|
2041
2164
|
readonly "enforce-hook-naming": TSESLint.RuleModule<"missingUsePrefix" | "defaultExportMissingUsePrefix", [], unknown, TSESLint.RuleListener> & {
|
|
2042
2165
|
name: string;
|
|
2043
2166
|
};
|
|
@@ -2056,6 +2179,9 @@ declare const nextfridayPlugin: {
|
|
|
2056
2179
|
readonly "enforce-service-naming": TSESLint.RuleModule<"bannedPrefix", [], unknown, TSESLint.RuleListener> & {
|
|
2057
2180
|
name: string;
|
|
2058
2181
|
};
|
|
2182
|
+
readonly "enforce-test-filename": TSESLint.RuleModule<"requireTestFilename", [], unknown, TSESLint.RuleListener> & {
|
|
2183
|
+
name: string;
|
|
2184
|
+
};
|
|
2059
2185
|
readonly "enforce-sorted-destructuring": TSESLint.RuleModule<"unsortedDestructuring", [], unknown, TSESLint.RuleListener> & {
|
|
2060
2186
|
name: string;
|
|
2061
2187
|
};
|
|
@@ -2125,6 +2251,12 @@ declare const nextfridayPlugin: {
|
|
|
2125
2251
|
readonly "no-ghost-wrapper": TSESLint.RuleModule<"noGhostWrapper", [], unknown, TSESLint.RuleListener> & {
|
|
2126
2252
|
name: string;
|
|
2127
2253
|
};
|
|
2254
|
+
readonly "no-helper-function-in-hook": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
2255
|
+
name: string;
|
|
2256
|
+
};
|
|
2257
|
+
readonly "no-helper-function-in-test": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
2258
|
+
name: string;
|
|
2259
|
+
};
|
|
2128
2260
|
readonly "no-inline-default-export": TSESLint.RuleModule<"noInlineDefaultExport" | "noAnonymousDefaultExport" | "noInlineNamedExport", [], unknown, TSESLint.RuleListener> & {
|
|
2129
2261
|
name: string;
|
|
2130
2262
|
};
|
|
@@ -2240,6 +2372,9 @@ declare const nextfridayPlugin: {
|
|
|
2240
2372
|
readonly "enforce-constant-case": TSESLint.RuleModule<"noSnakeCase" | "useScreamingSnakeCase", [], unknown, TSESLint.RuleListener> & {
|
|
2241
2373
|
name: string;
|
|
2242
2374
|
};
|
|
2375
|
+
readonly "enforce-hook-filename": TSESLint.RuleModule<"requireHookFilename", [], unknown, TSESLint.RuleListener> & {
|
|
2376
|
+
name: string;
|
|
2377
|
+
};
|
|
2243
2378
|
readonly "enforce-hook-naming": TSESLint.RuleModule<"missingUsePrefix" | "defaultExportMissingUsePrefix", [], unknown, TSESLint.RuleListener> & {
|
|
2244
2379
|
name: string;
|
|
2245
2380
|
};
|
|
@@ -2258,6 +2393,9 @@ declare const nextfridayPlugin: {
|
|
|
2258
2393
|
readonly "enforce-service-naming": TSESLint.RuleModule<"bannedPrefix", [], unknown, TSESLint.RuleListener> & {
|
|
2259
2394
|
name: string;
|
|
2260
2395
|
};
|
|
2396
|
+
readonly "enforce-test-filename": TSESLint.RuleModule<"requireTestFilename", [], unknown, TSESLint.RuleListener> & {
|
|
2397
|
+
name: string;
|
|
2398
|
+
};
|
|
2261
2399
|
readonly "enforce-sorted-destructuring": TSESLint.RuleModule<"unsortedDestructuring", [], unknown, TSESLint.RuleListener> & {
|
|
2262
2400
|
name: string;
|
|
2263
2401
|
};
|
|
@@ -2327,6 +2465,12 @@ declare const nextfridayPlugin: {
|
|
|
2327
2465
|
readonly "no-ghost-wrapper": TSESLint.RuleModule<"noGhostWrapper", [], unknown, TSESLint.RuleListener> & {
|
|
2328
2466
|
name: string;
|
|
2329
2467
|
};
|
|
2468
|
+
readonly "no-helper-function-in-hook": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
2469
|
+
name: string;
|
|
2470
|
+
};
|
|
2471
|
+
readonly "no-helper-function-in-test": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
2472
|
+
name: string;
|
|
2473
|
+
};
|
|
2330
2474
|
readonly "no-inline-default-export": TSESLint.RuleModule<"noInlineDefaultExport" | "noAnonymousDefaultExport" | "noInlineNamedExport", [], unknown, TSESLint.RuleListener> & {
|
|
2331
2475
|
name: string;
|
|
2332
2476
|
};
|
|
@@ -2442,6 +2586,9 @@ declare const nextfridayPlugin: {
|
|
|
2442
2586
|
readonly "enforce-constant-case": TSESLint.RuleModule<"noSnakeCase" | "useScreamingSnakeCase", [], unknown, TSESLint.RuleListener> & {
|
|
2443
2587
|
name: string;
|
|
2444
2588
|
};
|
|
2589
|
+
readonly "enforce-hook-filename": TSESLint.RuleModule<"requireHookFilename", [], unknown, TSESLint.RuleListener> & {
|
|
2590
|
+
name: string;
|
|
2591
|
+
};
|
|
2445
2592
|
readonly "enforce-hook-naming": TSESLint.RuleModule<"missingUsePrefix" | "defaultExportMissingUsePrefix", [], unknown, TSESLint.RuleListener> & {
|
|
2446
2593
|
name: string;
|
|
2447
2594
|
};
|
|
@@ -2460,6 +2607,9 @@ declare const nextfridayPlugin: {
|
|
|
2460
2607
|
readonly "enforce-service-naming": TSESLint.RuleModule<"bannedPrefix", [], unknown, TSESLint.RuleListener> & {
|
|
2461
2608
|
name: string;
|
|
2462
2609
|
};
|
|
2610
|
+
readonly "enforce-test-filename": TSESLint.RuleModule<"requireTestFilename", [], unknown, TSESLint.RuleListener> & {
|
|
2611
|
+
name: string;
|
|
2612
|
+
};
|
|
2463
2613
|
readonly "enforce-sorted-destructuring": TSESLint.RuleModule<"unsortedDestructuring", [], unknown, TSESLint.RuleListener> & {
|
|
2464
2614
|
name: string;
|
|
2465
2615
|
};
|
|
@@ -2529,6 +2679,12 @@ declare const nextfridayPlugin: {
|
|
|
2529
2679
|
readonly "no-ghost-wrapper": TSESLint.RuleModule<"noGhostWrapper", [], unknown, TSESLint.RuleListener> & {
|
|
2530
2680
|
name: string;
|
|
2531
2681
|
};
|
|
2682
|
+
readonly "no-helper-function-in-hook": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
2683
|
+
name: string;
|
|
2684
|
+
};
|
|
2685
|
+
readonly "no-helper-function-in-test": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
2686
|
+
name: string;
|
|
2687
|
+
};
|
|
2532
2688
|
readonly "no-inline-default-export": TSESLint.RuleModule<"noInlineDefaultExport" | "noAnonymousDefaultExport" | "noInlineNamedExport", [], unknown, TSESLint.RuleListener> & {
|
|
2533
2689
|
name: string;
|
|
2534
2690
|
};
|
|
@@ -2638,6 +2794,9 @@ declare const nextfridayPlugin: {
|
|
|
2638
2794
|
readonly "enforce-constant-case": TSESLint.RuleModule<"noSnakeCase" | "useScreamingSnakeCase", [], unknown, TSESLint.RuleListener> & {
|
|
2639
2795
|
name: string;
|
|
2640
2796
|
};
|
|
2797
|
+
readonly "enforce-hook-filename": TSESLint.RuleModule<"requireHookFilename", [], unknown, TSESLint.RuleListener> & {
|
|
2798
|
+
name: string;
|
|
2799
|
+
};
|
|
2641
2800
|
readonly "enforce-hook-naming": TSESLint.RuleModule<"missingUsePrefix" | "defaultExportMissingUsePrefix", [], unknown, TSESLint.RuleListener> & {
|
|
2642
2801
|
name: string;
|
|
2643
2802
|
};
|
|
@@ -2656,6 +2815,9 @@ declare const nextfridayPlugin: {
|
|
|
2656
2815
|
readonly "enforce-service-naming": TSESLint.RuleModule<"bannedPrefix", [], unknown, TSESLint.RuleListener> & {
|
|
2657
2816
|
name: string;
|
|
2658
2817
|
};
|
|
2818
|
+
readonly "enforce-test-filename": TSESLint.RuleModule<"requireTestFilename", [], unknown, TSESLint.RuleListener> & {
|
|
2819
|
+
name: string;
|
|
2820
|
+
};
|
|
2659
2821
|
readonly "enforce-sorted-destructuring": TSESLint.RuleModule<"unsortedDestructuring", [], unknown, TSESLint.RuleListener> & {
|
|
2660
2822
|
name: string;
|
|
2661
2823
|
};
|
|
@@ -2725,6 +2887,12 @@ declare const nextfridayPlugin: {
|
|
|
2725
2887
|
readonly "no-ghost-wrapper": TSESLint.RuleModule<"noGhostWrapper", [], unknown, TSESLint.RuleListener> & {
|
|
2726
2888
|
name: string;
|
|
2727
2889
|
};
|
|
2890
|
+
readonly "no-helper-function-in-hook": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
2891
|
+
name: string;
|
|
2892
|
+
};
|
|
2893
|
+
readonly "no-helper-function-in-test": TSESLint.RuleModule<"noHelperFunction", [], unknown, TSESLint.RuleListener> & {
|
|
2894
|
+
name: string;
|
|
2895
|
+
};
|
|
2728
2896
|
readonly "no-inline-default-export": TSESLint.RuleModule<"noInlineDefaultExport" | "noAnonymousDefaultExport" | "noInlineNamedExport", [], unknown, TSESLint.RuleListener> & {
|
|
2729
2897
|
name: string;
|
|
2730
2898
|
};
|