@sarj/eslint-plugin 2.17.0 → 4.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
@@ -229,9 +229,6 @@ declare const rules: {
229
229
  "no-sentinel-return-on-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"noSentinelReturn", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
230
230
  name: string;
231
231
  };
232
- "no-sequential-await": _typescript_eslint_utils_ts_eslint.RuleModule<"noSequentialAwait", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
233
- name: string;
234
- };
235
232
  "no-string-concat-in-loop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringConcatInLoop", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
236
233
  name: string;
237
234
  };
@@ -252,9 +249,6 @@ declare const rules: {
252
249
  "prefer-server-actions": _typescript_eslint_utils_ts_eslint.RuleModule<"preferServerAction", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
253
250
  name: string;
254
251
  };
255
- "prefer-shadcn": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShadcn", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
256
- name: string;
257
- };
258
252
  "require-assert-never": _typescript_eslint_utils_ts_eslint.RuleModule<"missingAssertNever", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
259
253
  name: string;
260
254
  };
@@ -275,9 +269,6 @@ declare const rules: {
275
269
  "no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog" | "noRawBodyInLog", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
276
270
  name: string;
277
271
  };
278
- "no-unsafe-cast": _typescript_eslint_utils_ts_eslint.RuleModule<"asAny" | "doubleCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
279
- name: string;
280
- };
281
272
  "no-unsafe-mock-casting": _typescript_eslint_utils_ts_eslint.RuleModule<"unsafeMockCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
282
273
  name: string;
283
274
  };
@@ -289,12 +280,6 @@ declare const rules: {
289
280
  "prefer-zod-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferEnum", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
290
281
  name: string;
291
282
  };
292
- "single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
293
- name: string;
294
- };
295
- "primary-export-file-name": _typescript_eslint_utils_ts_eslint.RuleModule<"primaryExportMismatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
296
- name: string;
297
- };
298
283
  "no-silent-promise-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"silentCatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
299
284
  name: string;
300
285
  };
@@ -303,9 +288,6 @@ declare const rules: {
303
288
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
304
289
  name: string;
305
290
  };
306
- "require-schema-validate-search": _typescript_eslint_utils_ts_eslint.RuleModule<"castInValidateSearch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
307
- name: string;
308
- };
309
291
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
310
292
  name: string;
311
293
  };
@@ -416,9 +398,6 @@ declare const plugin: {
416
398
  "no-sentinel-return-on-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"noSentinelReturn", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
417
399
  name: string;
418
400
  };
419
- "no-sequential-await": _typescript_eslint_utils_ts_eslint.RuleModule<"noSequentialAwait", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
420
- name: string;
421
- };
422
401
  "no-string-concat-in-loop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringConcatInLoop", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
423
402
  name: string;
424
403
  };
@@ -439,9 +418,6 @@ declare const plugin: {
439
418
  "prefer-server-actions": _typescript_eslint_utils_ts_eslint.RuleModule<"preferServerAction", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
440
419
  name: string;
441
420
  };
442
- "prefer-shadcn": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShadcn", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
443
- name: string;
444
- };
445
421
  "require-assert-never": _typescript_eslint_utils_ts_eslint.RuleModule<"missingAssertNever", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
446
422
  name: string;
447
423
  };
@@ -462,9 +438,6 @@ declare const plugin: {
462
438
  "no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog" | "noRawBodyInLog", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
463
439
  name: string;
464
440
  };
465
- "no-unsafe-cast": _typescript_eslint_utils_ts_eslint.RuleModule<"asAny" | "doubleCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
466
- name: string;
467
- };
468
441
  "no-unsafe-mock-casting": _typescript_eslint_utils_ts_eslint.RuleModule<"unsafeMockCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
469
442
  name: string;
470
443
  };
@@ -476,12 +449,6 @@ declare const plugin: {
476
449
  "prefer-zod-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferEnum", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
477
450
  name: string;
478
451
  };
479
- "single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
480
- name: string;
481
- };
482
- "primary-export-file-name": _typescript_eslint_utils_ts_eslint.RuleModule<"primaryExportMismatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
483
- name: string;
484
- };
485
452
  "no-silent-promise-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"silentCatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
486
453
  name: string;
487
454
  };
@@ -490,9 +457,6 @@ declare const plugin: {
490
457
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
491
458
  name: string;
492
459
  };
493
- "require-schema-validate-search": _typescript_eslint_utils_ts_eslint.RuleModule<"castInValidateSearch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
494
- name: string;
495
- };
496
460
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
497
461
  name: string;
498
462
  };
@@ -578,7 +542,6 @@ declare const plugin: {
578
542
  "@sarj/prefer-server-actions": string;
579
543
  "@sarj/no-unnecessary-use-client": string;
580
544
  "@sarj/prefer-schema-for-api-payload": string;
581
- "@sarj/no-sequential-await": string;
582
545
  "@sarj/no-sentinel-return-on-catch": string;
583
546
  "@sarj/no-log-only-catch": string;
584
547
  "@sarj/no-insecure-random-id": string;
@@ -592,15 +555,11 @@ declare const plugin: {
592
555
  "@sarj/no-fat-try-blocks": string;
593
556
  "@sarj/no-cors-wildcard-with-credentials": string;
594
557
  "@sarj/no-secret-in-log": string;
595
- "@sarj/no-unsafe-cast": string;
596
558
  "@sarj/no-unsafe-mock-casting": string;
597
- "@sarj/single-public-export": string;
598
- "@sarj/primary-export-file-name": string;
599
559
  "@sarj/prefer-string-literal-union": string;
600
560
  "@sarj/prefer-zod-enum": string;
601
561
  "@sarj/require-fetch-timeout": string;
602
562
  "@sarj/no-silent-promise-catch": string;
603
- "@sarj/require-schema-validate-search": string;
604
563
  "@sarj/prefer-constant-time-secret-compare": string;
605
564
  "@sarj/store-insert-requires-on-conflict": string;
606
565
  "@sarj/no-offset-pagination": string;
@@ -632,13 +591,11 @@ declare const plugin: {
632
591
  "@sarj/ban-loose-type-guards-in-tests": string;
633
592
  "@sarj/enforce-file-structure": string;
634
593
  "@sarj/no-raw-env": string;
635
- "@sarj/prefer-shadcn": string;
636
594
  "@sarj/no-enum": string;
637
595
  "@sarj/no-client-side-data-fetching": string;
638
596
  "@sarj/prefer-server-actions": string;
639
597
  "@sarj/no-unnecessary-use-client": string;
640
598
  "@sarj/prefer-schema-for-api-payload": string;
641
- "@sarj/no-sequential-await": string;
642
599
  "@sarj/no-sentinel-return-on-catch": string;
643
600
  "@sarj/no-log-only-catch": string;
644
601
  "@sarj/no-insecure-random-id": string;
@@ -652,15 +609,11 @@ declare const plugin: {
652
609
  "@sarj/no-fat-try-blocks": string;
653
610
  "@sarj/no-cors-wildcard-with-credentials": string;
654
611
  "@sarj/no-secret-in-log": string;
655
- "@sarj/no-unsafe-cast": string;
656
612
  "@sarj/no-unsafe-mock-casting": string;
657
- "@sarj/single-public-export": string;
658
- "@sarj/primary-export-file-name": string;
659
613
  "@sarj/prefer-string-literal-union": string;
660
614
  "@sarj/prefer-zod-enum": string;
661
615
  "@sarj/require-fetch-timeout": string;
662
616
  "@sarj/no-silent-promise-catch": string;
663
- "@sarj/require-schema-validate-search": string;
664
617
  "@sarj/prefer-constant-time-secret-compare": string;
665
618
  "@sarj/store-insert-requires-on-conflict": string;
666
619
  "@sarj/no-offset-pagination": string;
package/dist/index.d.ts CHANGED
@@ -229,9 +229,6 @@ declare const rules: {
229
229
  "no-sentinel-return-on-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"noSentinelReturn", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
230
230
  name: string;
231
231
  };
232
- "no-sequential-await": _typescript_eslint_utils_ts_eslint.RuleModule<"noSequentialAwait", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
233
- name: string;
234
- };
235
232
  "no-string-concat-in-loop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringConcatInLoop", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
236
233
  name: string;
237
234
  };
@@ -252,9 +249,6 @@ declare const rules: {
252
249
  "prefer-server-actions": _typescript_eslint_utils_ts_eslint.RuleModule<"preferServerAction", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
253
250
  name: string;
254
251
  };
255
- "prefer-shadcn": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShadcn", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
256
- name: string;
257
- };
258
252
  "require-assert-never": _typescript_eslint_utils_ts_eslint.RuleModule<"missingAssertNever", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
259
253
  name: string;
260
254
  };
@@ -275,9 +269,6 @@ declare const rules: {
275
269
  "no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog" | "noRawBodyInLog", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
276
270
  name: string;
277
271
  };
278
- "no-unsafe-cast": _typescript_eslint_utils_ts_eslint.RuleModule<"asAny" | "doubleCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
279
- name: string;
280
- };
281
272
  "no-unsafe-mock-casting": _typescript_eslint_utils_ts_eslint.RuleModule<"unsafeMockCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
282
273
  name: string;
283
274
  };
@@ -289,12 +280,6 @@ declare const rules: {
289
280
  "prefer-zod-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferEnum", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
290
281
  name: string;
291
282
  };
292
- "single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
293
- name: string;
294
- };
295
- "primary-export-file-name": _typescript_eslint_utils_ts_eslint.RuleModule<"primaryExportMismatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
296
- name: string;
297
- };
298
283
  "no-silent-promise-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"silentCatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
299
284
  name: string;
300
285
  };
@@ -303,9 +288,6 @@ declare const rules: {
303
288
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
304
289
  name: string;
305
290
  };
306
- "require-schema-validate-search": _typescript_eslint_utils_ts_eslint.RuleModule<"castInValidateSearch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
307
- name: string;
308
- };
309
291
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
310
292
  name: string;
311
293
  };
@@ -416,9 +398,6 @@ declare const plugin: {
416
398
  "no-sentinel-return-on-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"noSentinelReturn", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
417
399
  name: string;
418
400
  };
419
- "no-sequential-await": _typescript_eslint_utils_ts_eslint.RuleModule<"noSequentialAwait", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
420
- name: string;
421
- };
422
401
  "no-string-concat-in-loop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringConcatInLoop", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
423
402
  name: string;
424
403
  };
@@ -439,9 +418,6 @@ declare const plugin: {
439
418
  "prefer-server-actions": _typescript_eslint_utils_ts_eslint.RuleModule<"preferServerAction", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
440
419
  name: string;
441
420
  };
442
- "prefer-shadcn": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShadcn", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
443
- name: string;
444
- };
445
421
  "require-assert-never": _typescript_eslint_utils_ts_eslint.RuleModule<"missingAssertNever", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
446
422
  name: string;
447
423
  };
@@ -462,9 +438,6 @@ declare const plugin: {
462
438
  "no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog" | "noRawBodyInLog", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
463
439
  name: string;
464
440
  };
465
- "no-unsafe-cast": _typescript_eslint_utils_ts_eslint.RuleModule<"asAny" | "doubleCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
466
- name: string;
467
- };
468
441
  "no-unsafe-mock-casting": _typescript_eslint_utils_ts_eslint.RuleModule<"unsafeMockCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
469
442
  name: string;
470
443
  };
@@ -476,12 +449,6 @@ declare const plugin: {
476
449
  "prefer-zod-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferEnum", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
477
450
  name: string;
478
451
  };
479
- "single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
480
- name: string;
481
- };
482
- "primary-export-file-name": _typescript_eslint_utils_ts_eslint.RuleModule<"primaryExportMismatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
483
- name: string;
484
- };
485
452
  "no-silent-promise-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"silentCatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
486
453
  name: string;
487
454
  };
@@ -490,9 +457,6 @@ declare const plugin: {
490
457
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
491
458
  name: string;
492
459
  };
493
- "require-schema-validate-search": _typescript_eslint_utils_ts_eslint.RuleModule<"castInValidateSearch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
494
- name: string;
495
- };
496
460
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
497
461
  name: string;
498
462
  };
@@ -578,7 +542,6 @@ declare const plugin: {
578
542
  "@sarj/prefer-server-actions": string;
579
543
  "@sarj/no-unnecessary-use-client": string;
580
544
  "@sarj/prefer-schema-for-api-payload": string;
581
- "@sarj/no-sequential-await": string;
582
545
  "@sarj/no-sentinel-return-on-catch": string;
583
546
  "@sarj/no-log-only-catch": string;
584
547
  "@sarj/no-insecure-random-id": string;
@@ -592,15 +555,11 @@ declare const plugin: {
592
555
  "@sarj/no-fat-try-blocks": string;
593
556
  "@sarj/no-cors-wildcard-with-credentials": string;
594
557
  "@sarj/no-secret-in-log": string;
595
- "@sarj/no-unsafe-cast": string;
596
558
  "@sarj/no-unsafe-mock-casting": string;
597
- "@sarj/single-public-export": string;
598
- "@sarj/primary-export-file-name": string;
599
559
  "@sarj/prefer-string-literal-union": string;
600
560
  "@sarj/prefer-zod-enum": string;
601
561
  "@sarj/require-fetch-timeout": string;
602
562
  "@sarj/no-silent-promise-catch": string;
603
- "@sarj/require-schema-validate-search": string;
604
563
  "@sarj/prefer-constant-time-secret-compare": string;
605
564
  "@sarj/store-insert-requires-on-conflict": string;
606
565
  "@sarj/no-offset-pagination": string;
@@ -632,13 +591,11 @@ declare const plugin: {
632
591
  "@sarj/ban-loose-type-guards-in-tests": string;
633
592
  "@sarj/enforce-file-structure": string;
634
593
  "@sarj/no-raw-env": string;
635
- "@sarj/prefer-shadcn": string;
636
594
  "@sarj/no-enum": string;
637
595
  "@sarj/no-client-side-data-fetching": string;
638
596
  "@sarj/prefer-server-actions": string;
639
597
  "@sarj/no-unnecessary-use-client": string;
640
598
  "@sarj/prefer-schema-for-api-payload": string;
641
- "@sarj/no-sequential-await": string;
642
599
  "@sarj/no-sentinel-return-on-catch": string;
643
600
  "@sarj/no-log-only-catch": string;
644
601
  "@sarj/no-insecure-random-id": string;
@@ -652,15 +609,11 @@ declare const plugin: {
652
609
  "@sarj/no-fat-try-blocks": string;
653
610
  "@sarj/no-cors-wildcard-with-credentials": string;
654
611
  "@sarj/no-secret-in-log": string;
655
- "@sarj/no-unsafe-cast": string;
656
612
  "@sarj/no-unsafe-mock-casting": string;
657
- "@sarj/single-public-export": string;
658
- "@sarj/primary-export-file-name": string;
659
613
  "@sarj/prefer-string-literal-union": string;
660
614
  "@sarj/prefer-zod-enum": string;
661
615
  "@sarj/require-fetch-timeout": string;
662
616
  "@sarj/no-silent-promise-catch": string;
663
- "@sarj/require-schema-validate-search": string;
664
617
  "@sarj/prefer-constant-time-secret-compare": string;
665
618
  "@sarj/store-insert-requires-on-conflict": string;
666
619
  "@sarj/no-offset-pagination": string;