@sarj/eslint-plugin 2.16.0 → 2.17.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/README.md +1 -0
- package/dist/index.cjs +984 -543
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +50 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.js +770 -326
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -197,6 +197,9 @@ interface LoggingOptions {
|
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
declare const rules: {
|
|
200
|
+
"ban-loose-type-guards-in-tests": _typescript_eslint_utils_ts_eslint.RuleModule<"banLooseTypeGuardsInTests", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
201
|
+
name: string;
|
|
202
|
+
};
|
|
200
203
|
"enforce-file-structure": _typescript_eslint_utils_ts_eslint.RuleModule<"importsFirst" | "useServerDirective", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
201
204
|
name: string;
|
|
202
205
|
};
|
|
@@ -275,11 +278,17 @@ declare const rules: {
|
|
|
275
278
|
"no-unsafe-cast": _typescript_eslint_utils_ts_eslint.RuleModule<"asAny" | "doubleCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
276
279
|
name: string;
|
|
277
280
|
};
|
|
281
|
+
"no-unsafe-mock-casting": _typescript_eslint_utils_ts_eslint.RuleModule<"unsafeMockCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
282
|
+
name: string;
|
|
283
|
+
};
|
|
278
284
|
"prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [{
|
|
279
285
|
ignoreFields?: readonly string[];
|
|
280
286
|
}?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
281
287
|
name: string;
|
|
282
288
|
};
|
|
289
|
+
"prefer-zod-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferEnum", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
290
|
+
name: string;
|
|
291
|
+
};
|
|
283
292
|
"single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
284
293
|
name: string;
|
|
285
294
|
};
|
|
@@ -312,6 +321,9 @@ declare const rules: {
|
|
|
312
321
|
"no-sleep-in-test-body": _typescript_eslint_utils_ts_eslint.RuleModule<"noSleepInTestBody", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
313
322
|
name: string;
|
|
314
323
|
};
|
|
324
|
+
"no-conditional-in-test": _typescript_eslint_utils_ts_eslint.RuleModule<"noConditionalInTest", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
325
|
+
name: string;
|
|
326
|
+
};
|
|
315
327
|
"prefer-constant-time-secret-compare": _typescript_eslint_utils_ts_eslint.RuleModule<"preferConstantTimeSecretCompare", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
316
328
|
name: string;
|
|
317
329
|
};
|
|
@@ -352,12 +364,19 @@ declare const rules: {
|
|
|
352
364
|
"require-interface-for-injected-service": _typescript_eslint_utils_ts_eslint.RuleModule<"requireInterface", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
353
365
|
name: string;
|
|
354
366
|
};
|
|
367
|
+
"strict-test-assertions": _typescript_eslint_utils_ts_eslint.RuleModule<"combineAssertions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
355
368
|
"prefer-non-nullable-collection": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNonNullableCollection", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
356
369
|
name: string;
|
|
357
370
|
};
|
|
358
371
|
"no-implicit-attribute-access": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitAttributeAccess", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
359
372
|
name: string;
|
|
360
373
|
};
|
|
374
|
+
"no-async-callback-in-waitfor": _typescript_eslint_utils_ts_eslint.RuleModule<"noAsyncCallbackInWaitFor", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
375
|
+
name: string;
|
|
376
|
+
};
|
|
377
|
+
"prefer-setup-file-mocks": _typescript_eslint_utils_ts_eslint.RuleModule<"preferSetupFileMocks", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
378
|
+
name: string;
|
|
379
|
+
};
|
|
361
380
|
};
|
|
362
381
|
declare const plugin: {
|
|
363
382
|
meta: {
|
|
@@ -365,6 +384,9 @@ declare const plugin: {
|
|
|
365
384
|
version: string;
|
|
366
385
|
};
|
|
367
386
|
rules: {
|
|
387
|
+
"ban-loose-type-guards-in-tests": _typescript_eslint_utils_ts_eslint.RuleModule<"banLooseTypeGuardsInTests", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
388
|
+
name: string;
|
|
389
|
+
};
|
|
368
390
|
"enforce-file-structure": _typescript_eslint_utils_ts_eslint.RuleModule<"importsFirst" | "useServerDirective", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
369
391
|
name: string;
|
|
370
392
|
};
|
|
@@ -443,11 +465,17 @@ declare const plugin: {
|
|
|
443
465
|
"no-unsafe-cast": _typescript_eslint_utils_ts_eslint.RuleModule<"asAny" | "doubleCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
444
466
|
name: string;
|
|
445
467
|
};
|
|
468
|
+
"no-unsafe-mock-casting": _typescript_eslint_utils_ts_eslint.RuleModule<"unsafeMockCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
469
|
+
name: string;
|
|
470
|
+
};
|
|
446
471
|
"prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [{
|
|
447
472
|
ignoreFields?: readonly string[];
|
|
448
473
|
}?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
449
474
|
name: string;
|
|
450
475
|
};
|
|
476
|
+
"prefer-zod-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferEnum", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
477
|
+
name: string;
|
|
478
|
+
};
|
|
451
479
|
"single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
452
480
|
name: string;
|
|
453
481
|
};
|
|
@@ -480,6 +508,9 @@ declare const plugin: {
|
|
|
480
508
|
"no-sleep-in-test-body": _typescript_eslint_utils_ts_eslint.RuleModule<"noSleepInTestBody", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
481
509
|
name: string;
|
|
482
510
|
};
|
|
511
|
+
"no-conditional-in-test": _typescript_eslint_utils_ts_eslint.RuleModule<"noConditionalInTest", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
512
|
+
name: string;
|
|
513
|
+
};
|
|
483
514
|
"prefer-constant-time-secret-compare": _typescript_eslint_utils_ts_eslint.RuleModule<"preferConstantTimeSecretCompare", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
484
515
|
name: string;
|
|
485
516
|
};
|
|
@@ -520,12 +551,19 @@ declare const plugin: {
|
|
|
520
551
|
"require-interface-for-injected-service": _typescript_eslint_utils_ts_eslint.RuleModule<"requireInterface", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
521
552
|
name: string;
|
|
522
553
|
};
|
|
554
|
+
"strict-test-assertions": _typescript_eslint_utils_ts_eslint.RuleModule<"combineAssertions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
523
555
|
"prefer-non-nullable-collection": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNonNullableCollection", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
524
556
|
name: string;
|
|
525
557
|
};
|
|
526
558
|
"no-implicit-attribute-access": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitAttributeAccess", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
527
559
|
name: string;
|
|
528
560
|
};
|
|
561
|
+
"no-async-callback-in-waitfor": _typescript_eslint_utils_ts_eslint.RuleModule<"noAsyncCallbackInWaitFor", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
562
|
+
name: string;
|
|
563
|
+
};
|
|
564
|
+
"prefer-setup-file-mocks": _typescript_eslint_utils_ts_eslint.RuleModule<"preferSetupFileMocks", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
565
|
+
name: string;
|
|
566
|
+
};
|
|
529
567
|
};
|
|
530
568
|
configs: {
|
|
531
569
|
recommended: {
|
|
@@ -534,6 +572,7 @@ declare const plugin: {
|
|
|
534
572
|
"@sarj/zod-naming-convention": string;
|
|
535
573
|
"@sarj/require-assert-never": string;
|
|
536
574
|
"@sarj/require-zod-form-validation": string;
|
|
575
|
+
"@sarj/ban-loose-type-guards-in-tests": string;
|
|
537
576
|
"@sarj/enforce-file-structure": string;
|
|
538
577
|
"@sarj/no-client-side-data-fetching": string;
|
|
539
578
|
"@sarj/prefer-server-actions": string;
|
|
@@ -554,9 +593,11 @@ declare const plugin: {
|
|
|
554
593
|
"@sarj/no-cors-wildcard-with-credentials": string;
|
|
555
594
|
"@sarj/no-secret-in-log": string;
|
|
556
595
|
"@sarj/no-unsafe-cast": string;
|
|
596
|
+
"@sarj/no-unsafe-mock-casting": string;
|
|
557
597
|
"@sarj/single-public-export": string;
|
|
558
598
|
"@sarj/primary-export-file-name": string;
|
|
559
599
|
"@sarj/prefer-string-literal-union": string;
|
|
600
|
+
"@sarj/prefer-zod-enum": string;
|
|
560
601
|
"@sarj/require-fetch-timeout": string;
|
|
561
602
|
"@sarj/no-silent-promise-catch": string;
|
|
562
603
|
"@sarj/require-schema-validate-search": string;
|
|
@@ -565,6 +606,7 @@ declare const plugin: {
|
|
|
565
606
|
"@sarj/no-offset-pagination": string;
|
|
566
607
|
"@sarj/no-select-star": string;
|
|
567
608
|
"@sarj/no-sleep-in-test-body": string;
|
|
609
|
+
"@sarj/no-conditional-in-test": string;
|
|
568
610
|
"@sarj/no-repeated-string-literal": string;
|
|
569
611
|
"@sarj/no-positional-tuple-return": string;
|
|
570
612
|
"@sarj/no-dynamic-sql": string;
|
|
@@ -577,6 +619,8 @@ declare const plugin: {
|
|
|
577
619
|
"@sarj/require-interface-for-injected-service": string;
|
|
578
620
|
"@sarj/prefer-non-nullable-collection": string;
|
|
579
621
|
"@sarj/no-implicit-attribute-access": string;
|
|
622
|
+
"@sarj/no-async-callback-in-waitfor": string;
|
|
623
|
+
"@sarj/prefer-setup-file-mocks": string;
|
|
580
624
|
};
|
|
581
625
|
};
|
|
582
626
|
strict: {
|
|
@@ -585,6 +629,7 @@ declare const plugin: {
|
|
|
585
629
|
"@sarj/zod-naming-convention": string;
|
|
586
630
|
"@sarj/require-assert-never": string;
|
|
587
631
|
"@sarj/require-zod-form-validation": string;
|
|
632
|
+
"@sarj/ban-loose-type-guards-in-tests": string;
|
|
588
633
|
"@sarj/enforce-file-structure": string;
|
|
589
634
|
"@sarj/no-raw-env": string;
|
|
590
635
|
"@sarj/prefer-shadcn": string;
|
|
@@ -608,9 +653,11 @@ declare const plugin: {
|
|
|
608
653
|
"@sarj/no-cors-wildcard-with-credentials": string;
|
|
609
654
|
"@sarj/no-secret-in-log": string;
|
|
610
655
|
"@sarj/no-unsafe-cast": string;
|
|
656
|
+
"@sarj/no-unsafe-mock-casting": string;
|
|
611
657
|
"@sarj/single-public-export": string;
|
|
612
658
|
"@sarj/primary-export-file-name": string;
|
|
613
659
|
"@sarj/prefer-string-literal-union": string;
|
|
660
|
+
"@sarj/prefer-zod-enum": string;
|
|
614
661
|
"@sarj/require-fetch-timeout": string;
|
|
615
662
|
"@sarj/no-silent-promise-catch": string;
|
|
616
663
|
"@sarj/require-schema-validate-search": string;
|
|
@@ -619,6 +666,7 @@ declare const plugin: {
|
|
|
619
666
|
"@sarj/no-offset-pagination": string;
|
|
620
667
|
"@sarj/no-select-star": string;
|
|
621
668
|
"@sarj/no-sleep-in-test-body": string;
|
|
669
|
+
"@sarj/no-conditional-in-test": string;
|
|
622
670
|
"@sarj/no-repeated-string-literal": string;
|
|
623
671
|
"@sarj/no-positional-tuple-return": string;
|
|
624
672
|
"@sarj/no-dynamic-sql": string;
|
|
@@ -633,6 +681,8 @@ declare const plugin: {
|
|
|
633
681
|
"@sarj/require-interface-for-injected-service": string;
|
|
634
682
|
"@sarj/prefer-non-nullable-collection": string;
|
|
635
683
|
"@sarj/no-implicit-attribute-access": string;
|
|
684
|
+
"@sarj/no-async-callback-in-waitfor": string;
|
|
685
|
+
"@sarj/prefer-setup-file-mocks": string;
|
|
636
686
|
};
|
|
637
687
|
};
|
|
638
688
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -197,6 +197,9 @@ interface LoggingOptions {
|
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
declare const rules: {
|
|
200
|
+
"ban-loose-type-guards-in-tests": _typescript_eslint_utils_ts_eslint.RuleModule<"banLooseTypeGuardsInTests", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
201
|
+
name: string;
|
|
202
|
+
};
|
|
200
203
|
"enforce-file-structure": _typescript_eslint_utils_ts_eslint.RuleModule<"importsFirst" | "useServerDirective", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
201
204
|
name: string;
|
|
202
205
|
};
|
|
@@ -275,11 +278,17 @@ declare const rules: {
|
|
|
275
278
|
"no-unsafe-cast": _typescript_eslint_utils_ts_eslint.RuleModule<"asAny" | "doubleCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
276
279
|
name: string;
|
|
277
280
|
};
|
|
281
|
+
"no-unsafe-mock-casting": _typescript_eslint_utils_ts_eslint.RuleModule<"unsafeMockCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
282
|
+
name: string;
|
|
283
|
+
};
|
|
278
284
|
"prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [{
|
|
279
285
|
ignoreFields?: readonly string[];
|
|
280
286
|
}?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
281
287
|
name: string;
|
|
282
288
|
};
|
|
289
|
+
"prefer-zod-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferEnum", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
290
|
+
name: string;
|
|
291
|
+
};
|
|
283
292
|
"single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
284
293
|
name: string;
|
|
285
294
|
};
|
|
@@ -312,6 +321,9 @@ declare const rules: {
|
|
|
312
321
|
"no-sleep-in-test-body": _typescript_eslint_utils_ts_eslint.RuleModule<"noSleepInTestBody", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
313
322
|
name: string;
|
|
314
323
|
};
|
|
324
|
+
"no-conditional-in-test": _typescript_eslint_utils_ts_eslint.RuleModule<"noConditionalInTest", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
325
|
+
name: string;
|
|
326
|
+
};
|
|
315
327
|
"prefer-constant-time-secret-compare": _typescript_eslint_utils_ts_eslint.RuleModule<"preferConstantTimeSecretCompare", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
316
328
|
name: string;
|
|
317
329
|
};
|
|
@@ -352,12 +364,19 @@ declare const rules: {
|
|
|
352
364
|
"require-interface-for-injected-service": _typescript_eslint_utils_ts_eslint.RuleModule<"requireInterface", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
353
365
|
name: string;
|
|
354
366
|
};
|
|
367
|
+
"strict-test-assertions": _typescript_eslint_utils_ts_eslint.RuleModule<"combineAssertions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
355
368
|
"prefer-non-nullable-collection": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNonNullableCollection", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
356
369
|
name: string;
|
|
357
370
|
};
|
|
358
371
|
"no-implicit-attribute-access": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitAttributeAccess", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
359
372
|
name: string;
|
|
360
373
|
};
|
|
374
|
+
"no-async-callback-in-waitfor": _typescript_eslint_utils_ts_eslint.RuleModule<"noAsyncCallbackInWaitFor", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
375
|
+
name: string;
|
|
376
|
+
};
|
|
377
|
+
"prefer-setup-file-mocks": _typescript_eslint_utils_ts_eslint.RuleModule<"preferSetupFileMocks", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
378
|
+
name: string;
|
|
379
|
+
};
|
|
361
380
|
};
|
|
362
381
|
declare const plugin: {
|
|
363
382
|
meta: {
|
|
@@ -365,6 +384,9 @@ declare const plugin: {
|
|
|
365
384
|
version: string;
|
|
366
385
|
};
|
|
367
386
|
rules: {
|
|
387
|
+
"ban-loose-type-guards-in-tests": _typescript_eslint_utils_ts_eslint.RuleModule<"banLooseTypeGuardsInTests", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
388
|
+
name: string;
|
|
389
|
+
};
|
|
368
390
|
"enforce-file-structure": _typescript_eslint_utils_ts_eslint.RuleModule<"importsFirst" | "useServerDirective", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
369
391
|
name: string;
|
|
370
392
|
};
|
|
@@ -443,11 +465,17 @@ declare const plugin: {
|
|
|
443
465
|
"no-unsafe-cast": _typescript_eslint_utils_ts_eslint.RuleModule<"asAny" | "doubleCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
444
466
|
name: string;
|
|
445
467
|
};
|
|
468
|
+
"no-unsafe-mock-casting": _typescript_eslint_utils_ts_eslint.RuleModule<"unsafeMockCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
469
|
+
name: string;
|
|
470
|
+
};
|
|
446
471
|
"prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [{
|
|
447
472
|
ignoreFields?: readonly string[];
|
|
448
473
|
}?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
449
474
|
name: string;
|
|
450
475
|
};
|
|
476
|
+
"prefer-zod-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferEnum", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
477
|
+
name: string;
|
|
478
|
+
};
|
|
451
479
|
"single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
452
480
|
name: string;
|
|
453
481
|
};
|
|
@@ -480,6 +508,9 @@ declare const plugin: {
|
|
|
480
508
|
"no-sleep-in-test-body": _typescript_eslint_utils_ts_eslint.RuleModule<"noSleepInTestBody", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
481
509
|
name: string;
|
|
482
510
|
};
|
|
511
|
+
"no-conditional-in-test": _typescript_eslint_utils_ts_eslint.RuleModule<"noConditionalInTest", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
512
|
+
name: string;
|
|
513
|
+
};
|
|
483
514
|
"prefer-constant-time-secret-compare": _typescript_eslint_utils_ts_eslint.RuleModule<"preferConstantTimeSecretCompare", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
484
515
|
name: string;
|
|
485
516
|
};
|
|
@@ -520,12 +551,19 @@ declare const plugin: {
|
|
|
520
551
|
"require-interface-for-injected-service": _typescript_eslint_utils_ts_eslint.RuleModule<"requireInterface", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
521
552
|
name: string;
|
|
522
553
|
};
|
|
554
|
+
"strict-test-assertions": _typescript_eslint_utils_ts_eslint.RuleModule<"combineAssertions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
523
555
|
"prefer-non-nullable-collection": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNonNullableCollection", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
524
556
|
name: string;
|
|
525
557
|
};
|
|
526
558
|
"no-implicit-attribute-access": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitAttributeAccess", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
527
559
|
name: string;
|
|
528
560
|
};
|
|
561
|
+
"no-async-callback-in-waitfor": _typescript_eslint_utils_ts_eslint.RuleModule<"noAsyncCallbackInWaitFor", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
562
|
+
name: string;
|
|
563
|
+
};
|
|
564
|
+
"prefer-setup-file-mocks": _typescript_eslint_utils_ts_eslint.RuleModule<"preferSetupFileMocks", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
565
|
+
name: string;
|
|
566
|
+
};
|
|
529
567
|
};
|
|
530
568
|
configs: {
|
|
531
569
|
recommended: {
|
|
@@ -534,6 +572,7 @@ declare const plugin: {
|
|
|
534
572
|
"@sarj/zod-naming-convention": string;
|
|
535
573
|
"@sarj/require-assert-never": string;
|
|
536
574
|
"@sarj/require-zod-form-validation": string;
|
|
575
|
+
"@sarj/ban-loose-type-guards-in-tests": string;
|
|
537
576
|
"@sarj/enforce-file-structure": string;
|
|
538
577
|
"@sarj/no-client-side-data-fetching": string;
|
|
539
578
|
"@sarj/prefer-server-actions": string;
|
|
@@ -554,9 +593,11 @@ declare const plugin: {
|
|
|
554
593
|
"@sarj/no-cors-wildcard-with-credentials": string;
|
|
555
594
|
"@sarj/no-secret-in-log": string;
|
|
556
595
|
"@sarj/no-unsafe-cast": string;
|
|
596
|
+
"@sarj/no-unsafe-mock-casting": string;
|
|
557
597
|
"@sarj/single-public-export": string;
|
|
558
598
|
"@sarj/primary-export-file-name": string;
|
|
559
599
|
"@sarj/prefer-string-literal-union": string;
|
|
600
|
+
"@sarj/prefer-zod-enum": string;
|
|
560
601
|
"@sarj/require-fetch-timeout": string;
|
|
561
602
|
"@sarj/no-silent-promise-catch": string;
|
|
562
603
|
"@sarj/require-schema-validate-search": string;
|
|
@@ -565,6 +606,7 @@ declare const plugin: {
|
|
|
565
606
|
"@sarj/no-offset-pagination": string;
|
|
566
607
|
"@sarj/no-select-star": string;
|
|
567
608
|
"@sarj/no-sleep-in-test-body": string;
|
|
609
|
+
"@sarj/no-conditional-in-test": string;
|
|
568
610
|
"@sarj/no-repeated-string-literal": string;
|
|
569
611
|
"@sarj/no-positional-tuple-return": string;
|
|
570
612
|
"@sarj/no-dynamic-sql": string;
|
|
@@ -577,6 +619,8 @@ declare const plugin: {
|
|
|
577
619
|
"@sarj/require-interface-for-injected-service": string;
|
|
578
620
|
"@sarj/prefer-non-nullable-collection": string;
|
|
579
621
|
"@sarj/no-implicit-attribute-access": string;
|
|
622
|
+
"@sarj/no-async-callback-in-waitfor": string;
|
|
623
|
+
"@sarj/prefer-setup-file-mocks": string;
|
|
580
624
|
};
|
|
581
625
|
};
|
|
582
626
|
strict: {
|
|
@@ -585,6 +629,7 @@ declare const plugin: {
|
|
|
585
629
|
"@sarj/zod-naming-convention": string;
|
|
586
630
|
"@sarj/require-assert-never": string;
|
|
587
631
|
"@sarj/require-zod-form-validation": string;
|
|
632
|
+
"@sarj/ban-loose-type-guards-in-tests": string;
|
|
588
633
|
"@sarj/enforce-file-structure": string;
|
|
589
634
|
"@sarj/no-raw-env": string;
|
|
590
635
|
"@sarj/prefer-shadcn": string;
|
|
@@ -608,9 +653,11 @@ declare const plugin: {
|
|
|
608
653
|
"@sarj/no-cors-wildcard-with-credentials": string;
|
|
609
654
|
"@sarj/no-secret-in-log": string;
|
|
610
655
|
"@sarj/no-unsafe-cast": string;
|
|
656
|
+
"@sarj/no-unsafe-mock-casting": string;
|
|
611
657
|
"@sarj/single-public-export": string;
|
|
612
658
|
"@sarj/primary-export-file-name": string;
|
|
613
659
|
"@sarj/prefer-string-literal-union": string;
|
|
660
|
+
"@sarj/prefer-zod-enum": string;
|
|
614
661
|
"@sarj/require-fetch-timeout": string;
|
|
615
662
|
"@sarj/no-silent-promise-catch": string;
|
|
616
663
|
"@sarj/require-schema-validate-search": string;
|
|
@@ -619,6 +666,7 @@ declare const plugin: {
|
|
|
619
666
|
"@sarj/no-offset-pagination": string;
|
|
620
667
|
"@sarj/no-select-star": string;
|
|
621
668
|
"@sarj/no-sleep-in-test-body": string;
|
|
669
|
+
"@sarj/no-conditional-in-test": string;
|
|
622
670
|
"@sarj/no-repeated-string-literal": string;
|
|
623
671
|
"@sarj/no-positional-tuple-return": string;
|
|
624
672
|
"@sarj/no-dynamic-sql": string;
|
|
@@ -633,6 +681,8 @@ declare const plugin: {
|
|
|
633
681
|
"@sarj/require-interface-for-injected-service": string;
|
|
634
682
|
"@sarj/prefer-non-nullable-collection": string;
|
|
635
683
|
"@sarj/no-implicit-attribute-access": string;
|
|
684
|
+
"@sarj/no-async-callback-in-waitfor": string;
|
|
685
|
+
"@sarj/prefer-setup-file-mocks": string;
|
|
636
686
|
};
|
|
637
687
|
};
|
|
638
688
|
};
|