@sarj/eslint-plugin 2.16.0 → 3.0.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/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
  };
@@ -226,9 +229,6 @@ declare const rules: {
226
229
  "no-sentinel-return-on-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"noSentinelReturn", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
227
230
  name: string;
228
231
  };
229
- "no-sequential-await": _typescript_eslint_utils_ts_eslint.RuleModule<"noSequentialAwait", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
230
- name: string;
231
- };
232
232
  "no-string-concat-in-loop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringConcatInLoop", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
233
233
  name: string;
234
234
  };
@@ -249,9 +249,6 @@ declare const rules: {
249
249
  "prefer-server-actions": _typescript_eslint_utils_ts_eslint.RuleModule<"preferServerAction", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
250
250
  name: string;
251
251
  };
252
- "prefer-shadcn": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShadcn", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
253
- name: string;
254
- };
255
252
  "require-assert-never": _typescript_eslint_utils_ts_eslint.RuleModule<"missingAssertNever", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
256
253
  name: string;
257
254
  };
@@ -272,7 +269,7 @@ declare const rules: {
272
269
  "no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog" | "noRawBodyInLog", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
273
270
  name: string;
274
271
  };
275
- "no-unsafe-cast": _typescript_eslint_utils_ts_eslint.RuleModule<"asAny" | "doubleCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
272
+ "no-unsafe-mock-casting": _typescript_eslint_utils_ts_eslint.RuleModule<"unsafeMockCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
276
273
  name: string;
277
274
  };
278
275
  "prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [{
@@ -280,7 +277,7 @@ declare const rules: {
280
277
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
281
278
  name: string;
282
279
  };
283
- "single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
280
+ "prefer-zod-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferEnum", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
284
281
  name: string;
285
282
  };
286
283
  "primary-export-file-name": _typescript_eslint_utils_ts_eslint.RuleModule<"primaryExportMismatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
@@ -294,9 +291,6 @@ declare const rules: {
294
291
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
295
292
  name: string;
296
293
  };
297
- "require-schema-validate-search": _typescript_eslint_utils_ts_eslint.RuleModule<"castInValidateSearch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
298
- name: string;
299
- };
300
294
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
301
295
  name: string;
302
296
  };
@@ -312,6 +306,9 @@ declare const rules: {
312
306
  "no-sleep-in-test-body": _typescript_eslint_utils_ts_eslint.RuleModule<"noSleepInTestBody", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
313
307
  name: string;
314
308
  };
309
+ "no-conditional-in-test": _typescript_eslint_utils_ts_eslint.RuleModule<"noConditionalInTest", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
310
+ name: string;
311
+ };
315
312
  "prefer-constant-time-secret-compare": _typescript_eslint_utils_ts_eslint.RuleModule<"preferConstantTimeSecretCompare", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
316
313
  name: string;
317
314
  };
@@ -352,12 +349,19 @@ declare const rules: {
352
349
  "require-interface-for-injected-service": _typescript_eslint_utils_ts_eslint.RuleModule<"requireInterface", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
353
350
  name: string;
354
351
  };
352
+ "strict-test-assertions": _typescript_eslint_utils_ts_eslint.RuleModule<"combineAssertions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
355
353
  "prefer-non-nullable-collection": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNonNullableCollection", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
356
354
  name: string;
357
355
  };
358
356
  "no-implicit-attribute-access": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitAttributeAccess", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
359
357
  name: string;
360
358
  };
359
+ "no-async-callback-in-waitfor": _typescript_eslint_utils_ts_eslint.RuleModule<"noAsyncCallbackInWaitFor", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
360
+ name: string;
361
+ };
362
+ "prefer-setup-file-mocks": _typescript_eslint_utils_ts_eslint.RuleModule<"preferSetupFileMocks", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
363
+ name: string;
364
+ };
361
365
  };
362
366
  declare const plugin: {
363
367
  meta: {
@@ -365,6 +369,9 @@ declare const plugin: {
365
369
  version: string;
366
370
  };
367
371
  rules: {
372
+ "ban-loose-type-guards-in-tests": _typescript_eslint_utils_ts_eslint.RuleModule<"banLooseTypeGuardsInTests", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
373
+ name: string;
374
+ };
368
375
  "enforce-file-structure": _typescript_eslint_utils_ts_eslint.RuleModule<"importsFirst" | "useServerDirective", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
369
376
  name: string;
370
377
  };
@@ -394,9 +401,6 @@ declare const plugin: {
394
401
  "no-sentinel-return-on-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"noSentinelReturn", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
395
402
  name: string;
396
403
  };
397
- "no-sequential-await": _typescript_eslint_utils_ts_eslint.RuleModule<"noSequentialAwait", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
398
- name: string;
399
- };
400
404
  "no-string-concat-in-loop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringConcatInLoop", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
401
405
  name: string;
402
406
  };
@@ -417,9 +421,6 @@ declare const plugin: {
417
421
  "prefer-server-actions": _typescript_eslint_utils_ts_eslint.RuleModule<"preferServerAction", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
418
422
  name: string;
419
423
  };
420
- "prefer-shadcn": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShadcn", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
421
- name: string;
422
- };
423
424
  "require-assert-never": _typescript_eslint_utils_ts_eslint.RuleModule<"missingAssertNever", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
424
425
  name: string;
425
426
  };
@@ -440,7 +441,7 @@ declare const plugin: {
440
441
  "no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog" | "noRawBodyInLog", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
441
442
  name: string;
442
443
  };
443
- "no-unsafe-cast": _typescript_eslint_utils_ts_eslint.RuleModule<"asAny" | "doubleCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
444
+ "no-unsafe-mock-casting": _typescript_eslint_utils_ts_eslint.RuleModule<"unsafeMockCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
444
445
  name: string;
445
446
  };
446
447
  "prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [{
@@ -448,7 +449,7 @@ declare const plugin: {
448
449
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
449
450
  name: string;
450
451
  };
451
- "single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
452
+ "prefer-zod-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferEnum", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
452
453
  name: string;
453
454
  };
454
455
  "primary-export-file-name": _typescript_eslint_utils_ts_eslint.RuleModule<"primaryExportMismatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
@@ -462,9 +463,6 @@ declare const plugin: {
462
463
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
463
464
  name: string;
464
465
  };
465
- "require-schema-validate-search": _typescript_eslint_utils_ts_eslint.RuleModule<"castInValidateSearch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
466
- name: string;
467
- };
468
466
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
469
467
  name: string;
470
468
  };
@@ -480,6 +478,9 @@ declare const plugin: {
480
478
  "no-sleep-in-test-body": _typescript_eslint_utils_ts_eslint.RuleModule<"noSleepInTestBody", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
481
479
  name: string;
482
480
  };
481
+ "no-conditional-in-test": _typescript_eslint_utils_ts_eslint.RuleModule<"noConditionalInTest", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
482
+ name: string;
483
+ };
483
484
  "prefer-constant-time-secret-compare": _typescript_eslint_utils_ts_eslint.RuleModule<"preferConstantTimeSecretCompare", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
484
485
  name: string;
485
486
  };
@@ -520,12 +521,19 @@ declare const plugin: {
520
521
  "require-interface-for-injected-service": _typescript_eslint_utils_ts_eslint.RuleModule<"requireInterface", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
521
522
  name: string;
522
523
  };
524
+ "strict-test-assertions": _typescript_eslint_utils_ts_eslint.RuleModule<"combineAssertions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
523
525
  "prefer-non-nullable-collection": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNonNullableCollection", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
524
526
  name: string;
525
527
  };
526
528
  "no-implicit-attribute-access": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitAttributeAccess", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
527
529
  name: string;
528
530
  };
531
+ "no-async-callback-in-waitfor": _typescript_eslint_utils_ts_eslint.RuleModule<"noAsyncCallbackInWaitFor", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
532
+ name: string;
533
+ };
534
+ "prefer-setup-file-mocks": _typescript_eslint_utils_ts_eslint.RuleModule<"preferSetupFileMocks", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
535
+ name: string;
536
+ };
529
537
  };
530
538
  configs: {
531
539
  recommended: {
@@ -534,12 +542,12 @@ declare const plugin: {
534
542
  "@sarj/zod-naming-convention": string;
535
543
  "@sarj/require-assert-never": string;
536
544
  "@sarj/require-zod-form-validation": string;
545
+ "@sarj/ban-loose-type-guards-in-tests": string;
537
546
  "@sarj/enforce-file-structure": string;
538
547
  "@sarj/no-client-side-data-fetching": string;
539
548
  "@sarj/prefer-server-actions": string;
540
549
  "@sarj/no-unnecessary-use-client": string;
541
550
  "@sarj/prefer-schema-for-api-payload": string;
542
- "@sarj/no-sequential-await": string;
543
551
  "@sarj/no-sentinel-return-on-catch": string;
544
552
  "@sarj/no-log-only-catch": string;
545
553
  "@sarj/no-insecure-random-id": string;
@@ -553,18 +561,18 @@ declare const plugin: {
553
561
  "@sarj/no-fat-try-blocks": string;
554
562
  "@sarj/no-cors-wildcard-with-credentials": string;
555
563
  "@sarj/no-secret-in-log": string;
556
- "@sarj/no-unsafe-cast": string;
557
- "@sarj/single-public-export": string;
564
+ "@sarj/no-unsafe-mock-casting": string;
558
565
  "@sarj/primary-export-file-name": string;
559
566
  "@sarj/prefer-string-literal-union": string;
567
+ "@sarj/prefer-zod-enum": string;
560
568
  "@sarj/require-fetch-timeout": string;
561
569
  "@sarj/no-silent-promise-catch": string;
562
- "@sarj/require-schema-validate-search": string;
563
570
  "@sarj/prefer-constant-time-secret-compare": string;
564
571
  "@sarj/store-insert-requires-on-conflict": string;
565
572
  "@sarj/no-offset-pagination": string;
566
573
  "@sarj/no-select-star": string;
567
574
  "@sarj/no-sleep-in-test-body": string;
575
+ "@sarj/no-conditional-in-test": string;
568
576
  "@sarj/no-repeated-string-literal": string;
569
577
  "@sarj/no-positional-tuple-return": string;
570
578
  "@sarj/no-dynamic-sql": string;
@@ -577,6 +585,8 @@ declare const plugin: {
577
585
  "@sarj/require-interface-for-injected-service": string;
578
586
  "@sarj/prefer-non-nullable-collection": string;
579
587
  "@sarj/no-implicit-attribute-access": string;
588
+ "@sarj/no-async-callback-in-waitfor": string;
589
+ "@sarj/prefer-setup-file-mocks": string;
580
590
  };
581
591
  };
582
592
  strict: {
@@ -585,15 +595,14 @@ declare const plugin: {
585
595
  "@sarj/zod-naming-convention": string;
586
596
  "@sarj/require-assert-never": string;
587
597
  "@sarj/require-zod-form-validation": string;
598
+ "@sarj/ban-loose-type-guards-in-tests": string;
588
599
  "@sarj/enforce-file-structure": string;
589
600
  "@sarj/no-raw-env": string;
590
- "@sarj/prefer-shadcn": string;
591
601
  "@sarj/no-enum": string;
592
602
  "@sarj/no-client-side-data-fetching": string;
593
603
  "@sarj/prefer-server-actions": string;
594
604
  "@sarj/no-unnecessary-use-client": string;
595
605
  "@sarj/prefer-schema-for-api-payload": string;
596
- "@sarj/no-sequential-await": string;
597
606
  "@sarj/no-sentinel-return-on-catch": string;
598
607
  "@sarj/no-log-only-catch": string;
599
608
  "@sarj/no-insecure-random-id": string;
@@ -607,18 +616,18 @@ declare const plugin: {
607
616
  "@sarj/no-fat-try-blocks": string;
608
617
  "@sarj/no-cors-wildcard-with-credentials": string;
609
618
  "@sarj/no-secret-in-log": string;
610
- "@sarj/no-unsafe-cast": string;
611
- "@sarj/single-public-export": string;
619
+ "@sarj/no-unsafe-mock-casting": string;
612
620
  "@sarj/primary-export-file-name": string;
613
621
  "@sarj/prefer-string-literal-union": string;
622
+ "@sarj/prefer-zod-enum": string;
614
623
  "@sarj/require-fetch-timeout": string;
615
624
  "@sarj/no-silent-promise-catch": string;
616
- "@sarj/require-schema-validate-search": string;
617
625
  "@sarj/prefer-constant-time-secret-compare": string;
618
626
  "@sarj/store-insert-requires-on-conflict": string;
619
627
  "@sarj/no-offset-pagination": string;
620
628
  "@sarj/no-select-star": string;
621
629
  "@sarj/no-sleep-in-test-body": string;
630
+ "@sarj/no-conditional-in-test": string;
622
631
  "@sarj/no-repeated-string-literal": string;
623
632
  "@sarj/no-positional-tuple-return": string;
624
633
  "@sarj/no-dynamic-sql": string;
@@ -633,6 +642,8 @@ declare const plugin: {
633
642
  "@sarj/require-interface-for-injected-service": string;
634
643
  "@sarj/prefer-non-nullable-collection": string;
635
644
  "@sarj/no-implicit-attribute-access": string;
645
+ "@sarj/no-async-callback-in-waitfor": string;
646
+ "@sarj/prefer-setup-file-mocks": string;
636
647
  };
637
648
  };
638
649
  };
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
  };
@@ -226,9 +229,6 @@ declare const rules: {
226
229
  "no-sentinel-return-on-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"noSentinelReturn", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
227
230
  name: string;
228
231
  };
229
- "no-sequential-await": _typescript_eslint_utils_ts_eslint.RuleModule<"noSequentialAwait", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
230
- name: string;
231
- };
232
232
  "no-string-concat-in-loop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringConcatInLoop", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
233
233
  name: string;
234
234
  };
@@ -249,9 +249,6 @@ declare const rules: {
249
249
  "prefer-server-actions": _typescript_eslint_utils_ts_eslint.RuleModule<"preferServerAction", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
250
250
  name: string;
251
251
  };
252
- "prefer-shadcn": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShadcn", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
253
- name: string;
254
- };
255
252
  "require-assert-never": _typescript_eslint_utils_ts_eslint.RuleModule<"missingAssertNever", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
256
253
  name: string;
257
254
  };
@@ -272,7 +269,7 @@ declare const rules: {
272
269
  "no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog" | "noRawBodyInLog", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
273
270
  name: string;
274
271
  };
275
- "no-unsafe-cast": _typescript_eslint_utils_ts_eslint.RuleModule<"asAny" | "doubleCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
272
+ "no-unsafe-mock-casting": _typescript_eslint_utils_ts_eslint.RuleModule<"unsafeMockCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
276
273
  name: string;
277
274
  };
278
275
  "prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [{
@@ -280,7 +277,7 @@ declare const rules: {
280
277
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
281
278
  name: string;
282
279
  };
283
- "single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
280
+ "prefer-zod-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferEnum", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
284
281
  name: string;
285
282
  };
286
283
  "primary-export-file-name": _typescript_eslint_utils_ts_eslint.RuleModule<"primaryExportMismatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
@@ -294,9 +291,6 @@ declare const rules: {
294
291
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
295
292
  name: string;
296
293
  };
297
- "require-schema-validate-search": _typescript_eslint_utils_ts_eslint.RuleModule<"castInValidateSearch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
298
- name: string;
299
- };
300
294
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
301
295
  name: string;
302
296
  };
@@ -312,6 +306,9 @@ declare const rules: {
312
306
  "no-sleep-in-test-body": _typescript_eslint_utils_ts_eslint.RuleModule<"noSleepInTestBody", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
313
307
  name: string;
314
308
  };
309
+ "no-conditional-in-test": _typescript_eslint_utils_ts_eslint.RuleModule<"noConditionalInTest", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
310
+ name: string;
311
+ };
315
312
  "prefer-constant-time-secret-compare": _typescript_eslint_utils_ts_eslint.RuleModule<"preferConstantTimeSecretCompare", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
316
313
  name: string;
317
314
  };
@@ -352,12 +349,19 @@ declare const rules: {
352
349
  "require-interface-for-injected-service": _typescript_eslint_utils_ts_eslint.RuleModule<"requireInterface", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
353
350
  name: string;
354
351
  };
352
+ "strict-test-assertions": _typescript_eslint_utils_ts_eslint.RuleModule<"combineAssertions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
355
353
  "prefer-non-nullable-collection": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNonNullableCollection", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
356
354
  name: string;
357
355
  };
358
356
  "no-implicit-attribute-access": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitAttributeAccess", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
359
357
  name: string;
360
358
  };
359
+ "no-async-callback-in-waitfor": _typescript_eslint_utils_ts_eslint.RuleModule<"noAsyncCallbackInWaitFor", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
360
+ name: string;
361
+ };
362
+ "prefer-setup-file-mocks": _typescript_eslint_utils_ts_eslint.RuleModule<"preferSetupFileMocks", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
363
+ name: string;
364
+ };
361
365
  };
362
366
  declare const plugin: {
363
367
  meta: {
@@ -365,6 +369,9 @@ declare const plugin: {
365
369
  version: string;
366
370
  };
367
371
  rules: {
372
+ "ban-loose-type-guards-in-tests": _typescript_eslint_utils_ts_eslint.RuleModule<"banLooseTypeGuardsInTests", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
373
+ name: string;
374
+ };
368
375
  "enforce-file-structure": _typescript_eslint_utils_ts_eslint.RuleModule<"importsFirst" | "useServerDirective", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
369
376
  name: string;
370
377
  };
@@ -394,9 +401,6 @@ declare const plugin: {
394
401
  "no-sentinel-return-on-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"noSentinelReturn", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
395
402
  name: string;
396
403
  };
397
- "no-sequential-await": _typescript_eslint_utils_ts_eslint.RuleModule<"noSequentialAwait", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
398
- name: string;
399
- };
400
404
  "no-string-concat-in-loop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringConcatInLoop", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
401
405
  name: string;
402
406
  };
@@ -417,9 +421,6 @@ declare const plugin: {
417
421
  "prefer-server-actions": _typescript_eslint_utils_ts_eslint.RuleModule<"preferServerAction", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
418
422
  name: string;
419
423
  };
420
- "prefer-shadcn": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShadcn", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
421
- name: string;
422
- };
423
424
  "require-assert-never": _typescript_eslint_utils_ts_eslint.RuleModule<"missingAssertNever", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
424
425
  name: string;
425
426
  };
@@ -440,7 +441,7 @@ declare const plugin: {
440
441
  "no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog" | "noRawBodyInLog", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
441
442
  name: string;
442
443
  };
443
- "no-unsafe-cast": _typescript_eslint_utils_ts_eslint.RuleModule<"asAny" | "doubleCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
444
+ "no-unsafe-mock-casting": _typescript_eslint_utils_ts_eslint.RuleModule<"unsafeMockCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
444
445
  name: string;
445
446
  };
446
447
  "prefer-string-literal-union": _typescript_eslint_utils_ts_eslint.RuleModule<"bareChoiceField" | "comparisonCluster", readonly [{
@@ -448,7 +449,7 @@ declare const plugin: {
448
449
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
449
450
  name: string;
450
451
  };
451
- "single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
452
+ "prefer-zod-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferEnum", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
452
453
  name: string;
453
454
  };
454
455
  "primary-export-file-name": _typescript_eslint_utils_ts_eslint.RuleModule<"primaryExportMismatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
@@ -462,9 +463,6 @@ declare const plugin: {
462
463
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
463
464
  name: string;
464
465
  };
465
- "require-schema-validate-search": _typescript_eslint_utils_ts_eslint.RuleModule<"castInValidateSearch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
466
- name: string;
467
- };
468
466
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
469
467
  name: string;
470
468
  };
@@ -480,6 +478,9 @@ declare const plugin: {
480
478
  "no-sleep-in-test-body": _typescript_eslint_utils_ts_eslint.RuleModule<"noSleepInTestBody", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
481
479
  name: string;
482
480
  };
481
+ "no-conditional-in-test": _typescript_eslint_utils_ts_eslint.RuleModule<"noConditionalInTest", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
482
+ name: string;
483
+ };
483
484
  "prefer-constant-time-secret-compare": _typescript_eslint_utils_ts_eslint.RuleModule<"preferConstantTimeSecretCompare", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
484
485
  name: string;
485
486
  };
@@ -520,12 +521,19 @@ declare const plugin: {
520
521
  "require-interface-for-injected-service": _typescript_eslint_utils_ts_eslint.RuleModule<"requireInterface", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
521
522
  name: string;
522
523
  };
524
+ "strict-test-assertions": _typescript_eslint_utils_ts_eslint.RuleModule<"combineAssertions", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
523
525
  "prefer-non-nullable-collection": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNonNullableCollection", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
524
526
  name: string;
525
527
  };
526
528
  "no-implicit-attribute-access": _typescript_eslint_utils_ts_eslint.RuleModule<"noImplicitAttributeAccess", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
527
529
  name: string;
528
530
  };
531
+ "no-async-callback-in-waitfor": _typescript_eslint_utils_ts_eslint.RuleModule<"noAsyncCallbackInWaitFor", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
532
+ name: string;
533
+ };
534
+ "prefer-setup-file-mocks": _typescript_eslint_utils_ts_eslint.RuleModule<"preferSetupFileMocks", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
535
+ name: string;
536
+ };
529
537
  };
530
538
  configs: {
531
539
  recommended: {
@@ -534,12 +542,12 @@ declare const plugin: {
534
542
  "@sarj/zod-naming-convention": string;
535
543
  "@sarj/require-assert-never": string;
536
544
  "@sarj/require-zod-form-validation": string;
545
+ "@sarj/ban-loose-type-guards-in-tests": string;
537
546
  "@sarj/enforce-file-structure": string;
538
547
  "@sarj/no-client-side-data-fetching": string;
539
548
  "@sarj/prefer-server-actions": string;
540
549
  "@sarj/no-unnecessary-use-client": string;
541
550
  "@sarj/prefer-schema-for-api-payload": string;
542
- "@sarj/no-sequential-await": string;
543
551
  "@sarj/no-sentinel-return-on-catch": string;
544
552
  "@sarj/no-log-only-catch": string;
545
553
  "@sarj/no-insecure-random-id": string;
@@ -553,18 +561,18 @@ declare const plugin: {
553
561
  "@sarj/no-fat-try-blocks": string;
554
562
  "@sarj/no-cors-wildcard-with-credentials": string;
555
563
  "@sarj/no-secret-in-log": string;
556
- "@sarj/no-unsafe-cast": string;
557
- "@sarj/single-public-export": string;
564
+ "@sarj/no-unsafe-mock-casting": string;
558
565
  "@sarj/primary-export-file-name": string;
559
566
  "@sarj/prefer-string-literal-union": string;
567
+ "@sarj/prefer-zod-enum": string;
560
568
  "@sarj/require-fetch-timeout": string;
561
569
  "@sarj/no-silent-promise-catch": string;
562
- "@sarj/require-schema-validate-search": string;
563
570
  "@sarj/prefer-constant-time-secret-compare": string;
564
571
  "@sarj/store-insert-requires-on-conflict": string;
565
572
  "@sarj/no-offset-pagination": string;
566
573
  "@sarj/no-select-star": string;
567
574
  "@sarj/no-sleep-in-test-body": string;
575
+ "@sarj/no-conditional-in-test": string;
568
576
  "@sarj/no-repeated-string-literal": string;
569
577
  "@sarj/no-positional-tuple-return": string;
570
578
  "@sarj/no-dynamic-sql": string;
@@ -577,6 +585,8 @@ declare const plugin: {
577
585
  "@sarj/require-interface-for-injected-service": string;
578
586
  "@sarj/prefer-non-nullable-collection": string;
579
587
  "@sarj/no-implicit-attribute-access": string;
588
+ "@sarj/no-async-callback-in-waitfor": string;
589
+ "@sarj/prefer-setup-file-mocks": string;
580
590
  };
581
591
  };
582
592
  strict: {
@@ -585,15 +595,14 @@ declare const plugin: {
585
595
  "@sarj/zod-naming-convention": string;
586
596
  "@sarj/require-assert-never": string;
587
597
  "@sarj/require-zod-form-validation": string;
598
+ "@sarj/ban-loose-type-guards-in-tests": string;
588
599
  "@sarj/enforce-file-structure": string;
589
600
  "@sarj/no-raw-env": string;
590
- "@sarj/prefer-shadcn": string;
591
601
  "@sarj/no-enum": string;
592
602
  "@sarj/no-client-side-data-fetching": string;
593
603
  "@sarj/prefer-server-actions": string;
594
604
  "@sarj/no-unnecessary-use-client": string;
595
605
  "@sarj/prefer-schema-for-api-payload": string;
596
- "@sarj/no-sequential-await": string;
597
606
  "@sarj/no-sentinel-return-on-catch": string;
598
607
  "@sarj/no-log-only-catch": string;
599
608
  "@sarj/no-insecure-random-id": string;
@@ -607,18 +616,18 @@ declare const plugin: {
607
616
  "@sarj/no-fat-try-blocks": string;
608
617
  "@sarj/no-cors-wildcard-with-credentials": string;
609
618
  "@sarj/no-secret-in-log": string;
610
- "@sarj/no-unsafe-cast": string;
611
- "@sarj/single-public-export": string;
619
+ "@sarj/no-unsafe-mock-casting": string;
612
620
  "@sarj/primary-export-file-name": string;
613
621
  "@sarj/prefer-string-literal-union": string;
622
+ "@sarj/prefer-zod-enum": string;
614
623
  "@sarj/require-fetch-timeout": string;
615
624
  "@sarj/no-silent-promise-catch": string;
616
- "@sarj/require-schema-validate-search": string;
617
625
  "@sarj/prefer-constant-time-secret-compare": string;
618
626
  "@sarj/store-insert-requires-on-conflict": string;
619
627
  "@sarj/no-offset-pagination": string;
620
628
  "@sarj/no-select-star": string;
621
629
  "@sarj/no-sleep-in-test-body": string;
630
+ "@sarj/no-conditional-in-test": string;
622
631
  "@sarj/no-repeated-string-literal": string;
623
632
  "@sarj/no-positional-tuple-return": string;
624
633
  "@sarj/no-dynamic-sql": string;
@@ -633,6 +642,8 @@ declare const plugin: {
633
642
  "@sarj/require-interface-for-injected-service": string;
634
643
  "@sarj/prefer-non-nullable-collection": string;
635
644
  "@sarj/no-implicit-attribute-access": string;
645
+ "@sarj/no-async-callback-in-waitfor": string;
646
+ "@sarj/prefer-setup-file-mocks": string;
636
647
  };
637
648
  };
638
649
  };