@sarj/eslint-plugin 2.17.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
@@ -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,9 +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
283
  "primary-export-file-name": _typescript_eslint_utils_ts_eslint.RuleModule<"primaryExportMismatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
296
284
  name: string;
297
285
  };
@@ -303,9 +291,6 @@ declare const rules: {
303
291
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
304
292
  name: string;
305
293
  };
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
294
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
310
295
  name: string;
311
296
  };
@@ -416,9 +401,6 @@ declare const plugin: {
416
401
  "no-sentinel-return-on-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"noSentinelReturn", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
417
402
  name: string;
418
403
  };
419
- "no-sequential-await": _typescript_eslint_utils_ts_eslint.RuleModule<"noSequentialAwait", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
420
- name: string;
421
- };
422
404
  "no-string-concat-in-loop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringConcatInLoop", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
423
405
  name: string;
424
406
  };
@@ -439,9 +421,6 @@ declare const plugin: {
439
421
  "prefer-server-actions": _typescript_eslint_utils_ts_eslint.RuleModule<"preferServerAction", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
440
422
  name: string;
441
423
  };
442
- "prefer-shadcn": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShadcn", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
443
- name: string;
444
- };
445
424
  "require-assert-never": _typescript_eslint_utils_ts_eslint.RuleModule<"missingAssertNever", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
446
425
  name: string;
447
426
  };
@@ -462,9 +441,6 @@ declare const plugin: {
462
441
  "no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog" | "noRawBodyInLog", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
463
442
  name: string;
464
443
  };
465
- "no-unsafe-cast": _typescript_eslint_utils_ts_eslint.RuleModule<"asAny" | "doubleCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
466
- name: string;
467
- };
468
444
  "no-unsafe-mock-casting": _typescript_eslint_utils_ts_eslint.RuleModule<"unsafeMockCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
469
445
  name: string;
470
446
  };
@@ -476,9 +452,6 @@ declare const plugin: {
476
452
  "prefer-zod-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferEnum", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
477
453
  name: string;
478
454
  };
479
- "single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
480
- name: string;
481
- };
482
455
  "primary-export-file-name": _typescript_eslint_utils_ts_eslint.RuleModule<"primaryExportMismatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
483
456
  name: string;
484
457
  };
@@ -490,9 +463,6 @@ declare const plugin: {
490
463
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
491
464
  name: string;
492
465
  };
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
466
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
497
467
  name: string;
498
468
  };
@@ -578,7 +548,6 @@ declare const plugin: {
578
548
  "@sarj/prefer-server-actions": string;
579
549
  "@sarj/no-unnecessary-use-client": string;
580
550
  "@sarj/prefer-schema-for-api-payload": string;
581
- "@sarj/no-sequential-await": string;
582
551
  "@sarj/no-sentinel-return-on-catch": string;
583
552
  "@sarj/no-log-only-catch": string;
584
553
  "@sarj/no-insecure-random-id": string;
@@ -592,15 +561,12 @@ declare const plugin: {
592
561
  "@sarj/no-fat-try-blocks": string;
593
562
  "@sarj/no-cors-wildcard-with-credentials": string;
594
563
  "@sarj/no-secret-in-log": string;
595
- "@sarj/no-unsafe-cast": string;
596
564
  "@sarj/no-unsafe-mock-casting": string;
597
- "@sarj/single-public-export": string;
598
565
  "@sarj/primary-export-file-name": string;
599
566
  "@sarj/prefer-string-literal-union": string;
600
567
  "@sarj/prefer-zod-enum": string;
601
568
  "@sarj/require-fetch-timeout": string;
602
569
  "@sarj/no-silent-promise-catch": string;
603
- "@sarj/require-schema-validate-search": string;
604
570
  "@sarj/prefer-constant-time-secret-compare": string;
605
571
  "@sarj/store-insert-requires-on-conflict": string;
606
572
  "@sarj/no-offset-pagination": string;
@@ -632,13 +598,11 @@ declare const plugin: {
632
598
  "@sarj/ban-loose-type-guards-in-tests": string;
633
599
  "@sarj/enforce-file-structure": string;
634
600
  "@sarj/no-raw-env": string;
635
- "@sarj/prefer-shadcn": string;
636
601
  "@sarj/no-enum": string;
637
602
  "@sarj/no-client-side-data-fetching": string;
638
603
  "@sarj/prefer-server-actions": string;
639
604
  "@sarj/no-unnecessary-use-client": string;
640
605
  "@sarj/prefer-schema-for-api-payload": string;
641
- "@sarj/no-sequential-await": string;
642
606
  "@sarj/no-sentinel-return-on-catch": string;
643
607
  "@sarj/no-log-only-catch": string;
644
608
  "@sarj/no-insecure-random-id": string;
@@ -652,15 +616,12 @@ declare const plugin: {
652
616
  "@sarj/no-fat-try-blocks": string;
653
617
  "@sarj/no-cors-wildcard-with-credentials": string;
654
618
  "@sarj/no-secret-in-log": string;
655
- "@sarj/no-unsafe-cast": string;
656
619
  "@sarj/no-unsafe-mock-casting": string;
657
- "@sarj/single-public-export": string;
658
620
  "@sarj/primary-export-file-name": string;
659
621
  "@sarj/prefer-string-literal-union": string;
660
622
  "@sarj/prefer-zod-enum": string;
661
623
  "@sarj/require-fetch-timeout": string;
662
624
  "@sarj/no-silent-promise-catch": string;
663
- "@sarj/require-schema-validate-search": string;
664
625
  "@sarj/prefer-constant-time-secret-compare": string;
665
626
  "@sarj/store-insert-requires-on-conflict": string;
666
627
  "@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,9 +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
283
  "primary-export-file-name": _typescript_eslint_utils_ts_eslint.RuleModule<"primaryExportMismatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
296
284
  name: string;
297
285
  };
@@ -303,9 +291,6 @@ declare const rules: {
303
291
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
304
292
  name: string;
305
293
  };
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
294
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
310
295
  name: string;
311
296
  };
@@ -416,9 +401,6 @@ declare const plugin: {
416
401
  "no-sentinel-return-on-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"noSentinelReturn", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
417
402
  name: string;
418
403
  };
419
- "no-sequential-await": _typescript_eslint_utils_ts_eslint.RuleModule<"noSequentialAwait", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
420
- name: string;
421
- };
422
404
  "no-string-concat-in-loop": _typescript_eslint_utils_ts_eslint.RuleModule<"noStringConcatInLoop", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
423
405
  name: string;
424
406
  };
@@ -439,9 +421,6 @@ declare const plugin: {
439
421
  "prefer-server-actions": _typescript_eslint_utils_ts_eslint.RuleModule<"preferServerAction", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
440
422
  name: string;
441
423
  };
442
- "prefer-shadcn": _typescript_eslint_utils_ts_eslint.RuleModule<"preferShadcn", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
443
- name: string;
444
- };
445
424
  "require-assert-never": _typescript_eslint_utils_ts_eslint.RuleModule<"missingAssertNever", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
446
425
  name: string;
447
426
  };
@@ -462,9 +441,6 @@ declare const plugin: {
462
441
  "no-secret-in-log": _typescript_eslint_utils_ts_eslint.RuleModule<"noSecretInLog" | "noRawBodyInLog", readonly [LoggingOptions?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
463
442
  name: string;
464
443
  };
465
- "no-unsafe-cast": _typescript_eslint_utils_ts_eslint.RuleModule<"asAny" | "doubleCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
466
- name: string;
467
- };
468
444
  "no-unsafe-mock-casting": _typescript_eslint_utils_ts_eslint.RuleModule<"unsafeMockCast", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
469
445
  name: string;
470
446
  };
@@ -476,9 +452,6 @@ declare const plugin: {
476
452
  "prefer-zod-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"preferEnum", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
477
453
  name: string;
478
454
  };
479
- "single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
480
- name: string;
481
- };
482
455
  "primary-export-file-name": _typescript_eslint_utils_ts_eslint.RuleModule<"primaryExportMismatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
483
456
  name: string;
484
457
  };
@@ -490,9 +463,6 @@ declare const plugin: {
490
463
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
491
464
  name: string;
492
465
  };
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
466
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
497
467
  name: string;
498
468
  };
@@ -578,7 +548,6 @@ declare const plugin: {
578
548
  "@sarj/prefer-server-actions": string;
579
549
  "@sarj/no-unnecessary-use-client": string;
580
550
  "@sarj/prefer-schema-for-api-payload": string;
581
- "@sarj/no-sequential-await": string;
582
551
  "@sarj/no-sentinel-return-on-catch": string;
583
552
  "@sarj/no-log-only-catch": string;
584
553
  "@sarj/no-insecure-random-id": string;
@@ -592,15 +561,12 @@ declare const plugin: {
592
561
  "@sarj/no-fat-try-blocks": string;
593
562
  "@sarj/no-cors-wildcard-with-credentials": string;
594
563
  "@sarj/no-secret-in-log": string;
595
- "@sarj/no-unsafe-cast": string;
596
564
  "@sarj/no-unsafe-mock-casting": string;
597
- "@sarj/single-public-export": string;
598
565
  "@sarj/primary-export-file-name": string;
599
566
  "@sarj/prefer-string-literal-union": string;
600
567
  "@sarj/prefer-zod-enum": string;
601
568
  "@sarj/require-fetch-timeout": string;
602
569
  "@sarj/no-silent-promise-catch": string;
603
- "@sarj/require-schema-validate-search": string;
604
570
  "@sarj/prefer-constant-time-secret-compare": string;
605
571
  "@sarj/store-insert-requires-on-conflict": string;
606
572
  "@sarj/no-offset-pagination": string;
@@ -632,13 +598,11 @@ declare const plugin: {
632
598
  "@sarj/ban-loose-type-guards-in-tests": string;
633
599
  "@sarj/enforce-file-structure": string;
634
600
  "@sarj/no-raw-env": string;
635
- "@sarj/prefer-shadcn": string;
636
601
  "@sarj/no-enum": string;
637
602
  "@sarj/no-client-side-data-fetching": string;
638
603
  "@sarj/prefer-server-actions": string;
639
604
  "@sarj/no-unnecessary-use-client": string;
640
605
  "@sarj/prefer-schema-for-api-payload": string;
641
- "@sarj/no-sequential-await": string;
642
606
  "@sarj/no-sentinel-return-on-catch": string;
643
607
  "@sarj/no-log-only-catch": string;
644
608
  "@sarj/no-insecure-random-id": string;
@@ -652,15 +616,12 @@ declare const plugin: {
652
616
  "@sarj/no-fat-try-blocks": string;
653
617
  "@sarj/no-cors-wildcard-with-credentials": string;
654
618
  "@sarj/no-secret-in-log": string;
655
- "@sarj/no-unsafe-cast": string;
656
619
  "@sarj/no-unsafe-mock-casting": string;
657
- "@sarj/single-public-export": string;
658
620
  "@sarj/primary-export-file-name": string;
659
621
  "@sarj/prefer-string-literal-union": string;
660
622
  "@sarj/prefer-zod-enum": string;
661
623
  "@sarj/require-fetch-timeout": string;
662
624
  "@sarj/no-silent-promise-catch": string;
663
- "@sarj/require-schema-validate-search": string;
664
625
  "@sarj/prefer-constant-time-secret-compare": string;
665
626
  "@sarj/store-insert-requires-on-conflict": string;
666
627
  "@sarj/no-offset-pagination": string;