@sarj/eslint-plugin 9.13.1 → 9.14.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
@@ -141,6 +141,9 @@ declare const rules: {
141
141
  "no-long-comment": _typescript_eslint_utils_ts_eslint.RuleModule<"tooLong", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
142
142
  name: string;
143
143
  };
144
+ "no-generic-single-export-module": _typescript_eslint_utils_ts_eslint.RuleModule<"genericSingleExport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
145
+ name: string;
146
+ };
144
147
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
145
148
  name: string;
146
149
  };
@@ -301,6 +304,9 @@ declare const rules: {
301
304
  "store-insert-requires-on-conflict": _typescript_eslint_utils_ts_eslint.RuleModule<"storeInsertRequiresOnConflict", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
302
305
  name: string;
303
306
  };
307
+ stepdown: _typescript_eslint_utils_ts_eslint.RuleModule<"helperAboveOnlyCaller", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
308
+ name: string;
309
+ };
304
310
  "zod-naming-convention": _typescript_eslint_utils_ts_eslint.RuleModule<"zPrefix" | "schemaSuffix" | "zodSchemaName", readonly [{
305
311
  convention?: "prefix" | "suffix" | "either";
306
312
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
@@ -324,6 +330,7 @@ declare const recommendedRules: {
324
330
  readonly "@sarj/no-json-stringify-error": "warn";
325
331
  readonly "@sarj/no-log-only-catch": "warn";
326
332
  readonly "@sarj/no-long-comment": "warn";
333
+ readonly "@sarj/no-generic-single-export-module": "warn";
327
334
  readonly "@sarj/no-offset-pagination": "warn";
328
335
  readonly "@sarj/no-positional-tuple-return": "warn";
329
336
  readonly "@sarj/no-repeated-string-literal": "warn";
@@ -367,6 +374,7 @@ declare const recommendedRules: {
367
374
  readonly "@sarj/require-static-next-matcher": "error";
368
375
  readonly "@sarj/require-zod-form-validation": "error";
369
376
  readonly "@sarj/store-insert-requires-on-conflict": "warn";
377
+ readonly "@sarj/stepdown": "warn";
370
378
  readonly "@sarj/zod-naming-convention": "warn";
371
379
  };
372
380
  declare const strictRules: {
@@ -385,6 +393,7 @@ declare const strictRules: {
385
393
  readonly "@sarj/no-json-stringify-error": "error";
386
394
  readonly "@sarj/no-log-only-catch": "error";
387
395
  readonly "@sarj/no-long-comment": "error";
396
+ readonly "@sarj/no-generic-single-export-module": "warn";
388
397
  readonly "@sarj/no-offset-pagination": "error";
389
398
  readonly "@sarj/no-positional-tuple-return": "error";
390
399
  readonly "@sarj/no-raw-env": "error";
@@ -431,6 +440,7 @@ declare const strictRules: {
431
440
  readonly "@sarj/require-static-next-matcher": "error";
432
441
  readonly "@sarj/require-zod-form-validation": "error";
433
442
  readonly "@sarj/store-insert-requires-on-conflict": "error";
443
+ readonly "@sarj/stepdown": "warn";
434
444
  readonly "@sarj/zod-naming-convention": "error";
435
445
  };
436
446
  type FlatPreset = {
@@ -446,7 +456,7 @@ type FlatPreset = {
446
456
  declare const plugin: {
447
457
  meta: {
448
458
  readonly name: "@sarj/eslint-plugin";
449
- readonly version: "9.13.1";
459
+ readonly version: "9.14.0";
450
460
  };
451
461
  rules: {
452
462
  "enforce-file-structure": _typescript_eslint_utils_ts_eslint.RuleModule<"importsFirst" | "useServerDirective", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
@@ -499,6 +509,9 @@ declare const plugin: {
499
509
  "no-long-comment": _typescript_eslint_utils_ts_eslint.RuleModule<"tooLong", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
500
510
  name: string;
501
511
  };
512
+ "no-generic-single-export-module": _typescript_eslint_utils_ts_eslint.RuleModule<"genericSingleExport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
513
+ name: string;
514
+ };
502
515
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
503
516
  name: string;
504
517
  };
@@ -659,6 +672,9 @@ declare const plugin: {
659
672
  "store-insert-requires-on-conflict": _typescript_eslint_utils_ts_eslint.RuleModule<"storeInsertRequiresOnConflict", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
660
673
  name: string;
661
674
  };
675
+ stepdown: _typescript_eslint_utils_ts_eslint.RuleModule<"helperAboveOnlyCaller", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
676
+ name: string;
677
+ };
662
678
  "zod-naming-convention": _typescript_eslint_utils_ts_eslint.RuleModule<"zPrefix" | "schemaSuffix" | "zodSchemaName", readonly [{
663
679
  convention?: "prefix" | "suffix" | "either";
664
680
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
package/dist/index.d.ts CHANGED
@@ -141,6 +141,9 @@ declare const rules: {
141
141
  "no-long-comment": _typescript_eslint_utils_ts_eslint.RuleModule<"tooLong", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
142
142
  name: string;
143
143
  };
144
+ "no-generic-single-export-module": _typescript_eslint_utils_ts_eslint.RuleModule<"genericSingleExport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
145
+ name: string;
146
+ };
144
147
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
145
148
  name: string;
146
149
  };
@@ -301,6 +304,9 @@ declare const rules: {
301
304
  "store-insert-requires-on-conflict": _typescript_eslint_utils_ts_eslint.RuleModule<"storeInsertRequiresOnConflict", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
302
305
  name: string;
303
306
  };
307
+ stepdown: _typescript_eslint_utils_ts_eslint.RuleModule<"helperAboveOnlyCaller", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
308
+ name: string;
309
+ };
304
310
  "zod-naming-convention": _typescript_eslint_utils_ts_eslint.RuleModule<"zPrefix" | "schemaSuffix" | "zodSchemaName", readonly [{
305
311
  convention?: "prefix" | "suffix" | "either";
306
312
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
@@ -324,6 +330,7 @@ declare const recommendedRules: {
324
330
  readonly "@sarj/no-json-stringify-error": "warn";
325
331
  readonly "@sarj/no-log-only-catch": "warn";
326
332
  readonly "@sarj/no-long-comment": "warn";
333
+ readonly "@sarj/no-generic-single-export-module": "warn";
327
334
  readonly "@sarj/no-offset-pagination": "warn";
328
335
  readonly "@sarj/no-positional-tuple-return": "warn";
329
336
  readonly "@sarj/no-repeated-string-literal": "warn";
@@ -367,6 +374,7 @@ declare const recommendedRules: {
367
374
  readonly "@sarj/require-static-next-matcher": "error";
368
375
  readonly "@sarj/require-zod-form-validation": "error";
369
376
  readonly "@sarj/store-insert-requires-on-conflict": "warn";
377
+ readonly "@sarj/stepdown": "warn";
370
378
  readonly "@sarj/zod-naming-convention": "warn";
371
379
  };
372
380
  declare const strictRules: {
@@ -385,6 +393,7 @@ declare const strictRules: {
385
393
  readonly "@sarj/no-json-stringify-error": "error";
386
394
  readonly "@sarj/no-log-only-catch": "error";
387
395
  readonly "@sarj/no-long-comment": "error";
396
+ readonly "@sarj/no-generic-single-export-module": "warn";
388
397
  readonly "@sarj/no-offset-pagination": "error";
389
398
  readonly "@sarj/no-positional-tuple-return": "error";
390
399
  readonly "@sarj/no-raw-env": "error";
@@ -431,6 +440,7 @@ declare const strictRules: {
431
440
  readonly "@sarj/require-static-next-matcher": "error";
432
441
  readonly "@sarj/require-zod-form-validation": "error";
433
442
  readonly "@sarj/store-insert-requires-on-conflict": "error";
443
+ readonly "@sarj/stepdown": "warn";
434
444
  readonly "@sarj/zod-naming-convention": "error";
435
445
  };
436
446
  type FlatPreset = {
@@ -446,7 +456,7 @@ type FlatPreset = {
446
456
  declare const plugin: {
447
457
  meta: {
448
458
  readonly name: "@sarj/eslint-plugin";
449
- readonly version: "9.13.1";
459
+ readonly version: "9.14.0";
450
460
  };
451
461
  rules: {
452
462
  "enforce-file-structure": _typescript_eslint_utils_ts_eslint.RuleModule<"importsFirst" | "useServerDirective", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
@@ -499,6 +509,9 @@ declare const plugin: {
499
509
  "no-long-comment": _typescript_eslint_utils_ts_eslint.RuleModule<"tooLong", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
500
510
  name: string;
501
511
  };
512
+ "no-generic-single-export-module": _typescript_eslint_utils_ts_eslint.RuleModule<"genericSingleExport", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
513
+ name: string;
514
+ };
502
515
  "no-offset-pagination": _typescript_eslint_utils_ts_eslint.RuleModule<"noOffsetPagination", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
503
516
  name: string;
504
517
  };
@@ -659,6 +672,9 @@ declare const plugin: {
659
672
  "store-insert-requires-on-conflict": _typescript_eslint_utils_ts_eslint.RuleModule<"storeInsertRequiresOnConflict", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
660
673
  name: string;
661
674
  };
675
+ stepdown: _typescript_eslint_utils_ts_eslint.RuleModule<"helperAboveOnlyCaller", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
676
+ name: string;
677
+ };
662
678
  "zod-naming-convention": _typescript_eslint_utils_ts_eslint.RuleModule<"zPrefix" | "schemaSuffix" | "zodSchemaName", readonly [{
663
679
  convention?: "prefix" | "suffix" | "either";
664
680
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {