@sarj/eslint-plugin 9.8.0 → 9.9.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
@@ -126,6 +126,9 @@ declare const rules: {
126
126
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
127
127
  name: string;
128
128
  };
129
+ "no-hand-rolled-spinner": _typescript_eslint_utils_ts_eslint.RuleModule<"handRolledSpinner", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
130
+ name: string;
131
+ };
129
132
  "no-insecure-random-id": _typescript_eslint_utils_ts_eslint.RuleModule<"insecureRandomId", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
130
133
  name: string;
131
134
  };
@@ -280,6 +283,9 @@ declare const rules: {
280
283
  "require-interface-for-injected-service": _typescript_eslint_utils_ts_eslint.RuleModule<"requireInterface", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
281
284
  name: string;
282
285
  };
286
+ "require-static-next-matcher": _typescript_eslint_utils_ts_eslint.RuleModule<"dynamicMatcher", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
287
+ name: string;
288
+ };
283
289
  "require-zod-form-validation": _typescript_eslint_utils_ts_eslint.RuleModule<"missingZodValidation", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
284
290
  name: string;
285
291
  };
@@ -304,6 +310,7 @@ declare const recommendedRules: {
304
310
  readonly "@sarj/no-dynamic-sql": "warn";
305
311
  readonly "@sarj/no-fat-try-blocks": "warn";
306
312
  readonly "@sarj/no-hand-rolled-sleep": "warn";
313
+ readonly "@sarj/no-hand-rolled-spinner": "error";
307
314
  readonly "@sarj/no-insecure-random-id": "warn";
308
315
  readonly "@sarj/no-json-stringify-error": "warn";
309
316
  readonly "@sarj/no-log-only-catch": "warn";
@@ -346,6 +353,7 @@ declare const recommendedRules: {
346
353
  readonly "@sarj/require-assert-never": "error";
347
354
  readonly "@sarj/require-fetch-timeout": "warn";
348
355
  readonly "@sarj/require-interface-for-injected-service": "warn";
356
+ readonly "@sarj/require-static-next-matcher": "error";
349
357
  readonly "@sarj/require-zod-form-validation": "error";
350
358
  readonly "@sarj/store-insert-requires-on-conflict": "warn";
351
359
  readonly "@sarj/zod-naming-convention": "warn";
@@ -361,6 +369,7 @@ declare const strictRules: {
361
369
  readonly "@sarj/no-enum": "error";
362
370
  readonly "@sarj/no-fat-try-blocks": "error";
363
371
  readonly "@sarj/no-hand-rolled-sleep": "error";
372
+ readonly "@sarj/no-hand-rolled-spinner": "error";
364
373
  readonly "@sarj/no-insecure-random-id": "error";
365
374
  readonly "@sarj/no-json-stringify-error": "error";
366
375
  readonly "@sarj/no-log-only-catch": "error";
@@ -406,6 +415,7 @@ declare const strictRules: {
406
415
  readonly "@sarj/require-assert-never": "error";
407
416
  readonly "@sarj/require-fetch-timeout": "error";
408
417
  readonly "@sarj/require-interface-for-injected-service": "error";
418
+ readonly "@sarj/require-static-next-matcher": "error";
409
419
  readonly "@sarj/require-zod-form-validation": "error";
410
420
  readonly "@sarj/store-insert-requires-on-conflict": "error";
411
421
  readonly "@sarj/zod-naming-convention": "error";
@@ -423,7 +433,7 @@ type FlatPreset = {
423
433
  declare const plugin: {
424
434
  meta: {
425
435
  readonly name: "@sarj/eslint-plugin";
426
- readonly version: "9.8.0";
436
+ readonly version: "9.9.0";
427
437
  };
428
438
  rules: {
429
439
  "enforce-file-structure": _typescript_eslint_utils_ts_eslint.RuleModule<"importsFirst" | "useServerDirective", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
@@ -461,6 +471,9 @@ declare const plugin: {
461
471
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
462
472
  name: string;
463
473
  };
474
+ "no-hand-rolled-spinner": _typescript_eslint_utils_ts_eslint.RuleModule<"handRolledSpinner", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
475
+ name: string;
476
+ };
464
477
  "no-insecure-random-id": _typescript_eslint_utils_ts_eslint.RuleModule<"insecureRandomId", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
465
478
  name: string;
466
479
  };
@@ -615,6 +628,9 @@ declare const plugin: {
615
628
  "require-interface-for-injected-service": _typescript_eslint_utils_ts_eslint.RuleModule<"requireInterface", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
616
629
  name: string;
617
630
  };
631
+ "require-static-next-matcher": _typescript_eslint_utils_ts_eslint.RuleModule<"dynamicMatcher", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
632
+ name: string;
633
+ };
618
634
  "require-zod-form-validation": _typescript_eslint_utils_ts_eslint.RuleModule<"missingZodValidation", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
619
635
  name: string;
620
636
  };
package/dist/index.d.ts CHANGED
@@ -126,6 +126,9 @@ declare const rules: {
126
126
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
127
127
  name: string;
128
128
  };
129
+ "no-hand-rolled-spinner": _typescript_eslint_utils_ts_eslint.RuleModule<"handRolledSpinner", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
130
+ name: string;
131
+ };
129
132
  "no-insecure-random-id": _typescript_eslint_utils_ts_eslint.RuleModule<"insecureRandomId", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
130
133
  name: string;
131
134
  };
@@ -280,6 +283,9 @@ declare const rules: {
280
283
  "require-interface-for-injected-service": _typescript_eslint_utils_ts_eslint.RuleModule<"requireInterface", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
281
284
  name: string;
282
285
  };
286
+ "require-static-next-matcher": _typescript_eslint_utils_ts_eslint.RuleModule<"dynamicMatcher", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
287
+ name: string;
288
+ };
283
289
  "require-zod-form-validation": _typescript_eslint_utils_ts_eslint.RuleModule<"missingZodValidation", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
284
290
  name: string;
285
291
  };
@@ -304,6 +310,7 @@ declare const recommendedRules: {
304
310
  readonly "@sarj/no-dynamic-sql": "warn";
305
311
  readonly "@sarj/no-fat-try-blocks": "warn";
306
312
  readonly "@sarj/no-hand-rolled-sleep": "warn";
313
+ readonly "@sarj/no-hand-rolled-spinner": "error";
307
314
  readonly "@sarj/no-insecure-random-id": "warn";
308
315
  readonly "@sarj/no-json-stringify-error": "warn";
309
316
  readonly "@sarj/no-log-only-catch": "warn";
@@ -346,6 +353,7 @@ declare const recommendedRules: {
346
353
  readonly "@sarj/require-assert-never": "error";
347
354
  readonly "@sarj/require-fetch-timeout": "warn";
348
355
  readonly "@sarj/require-interface-for-injected-service": "warn";
356
+ readonly "@sarj/require-static-next-matcher": "error";
349
357
  readonly "@sarj/require-zod-form-validation": "error";
350
358
  readonly "@sarj/store-insert-requires-on-conflict": "warn";
351
359
  readonly "@sarj/zod-naming-convention": "warn";
@@ -361,6 +369,7 @@ declare const strictRules: {
361
369
  readonly "@sarj/no-enum": "error";
362
370
  readonly "@sarj/no-fat-try-blocks": "error";
363
371
  readonly "@sarj/no-hand-rolled-sleep": "error";
372
+ readonly "@sarj/no-hand-rolled-spinner": "error";
364
373
  readonly "@sarj/no-insecure-random-id": "error";
365
374
  readonly "@sarj/no-json-stringify-error": "error";
366
375
  readonly "@sarj/no-log-only-catch": "error";
@@ -406,6 +415,7 @@ declare const strictRules: {
406
415
  readonly "@sarj/require-assert-never": "error";
407
416
  readonly "@sarj/require-fetch-timeout": "error";
408
417
  readonly "@sarj/require-interface-for-injected-service": "error";
418
+ readonly "@sarj/require-static-next-matcher": "error";
409
419
  readonly "@sarj/require-zod-form-validation": "error";
410
420
  readonly "@sarj/store-insert-requires-on-conflict": "error";
411
421
  readonly "@sarj/zod-naming-convention": "error";
@@ -423,7 +433,7 @@ type FlatPreset = {
423
433
  declare const plugin: {
424
434
  meta: {
425
435
  readonly name: "@sarj/eslint-plugin";
426
- readonly version: "9.8.0";
436
+ readonly version: "9.9.0";
427
437
  };
428
438
  rules: {
429
439
  "enforce-file-structure": _typescript_eslint_utils_ts_eslint.RuleModule<"importsFirst" | "useServerDirective", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
@@ -461,6 +471,9 @@ declare const plugin: {
461
471
  }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
462
472
  name: string;
463
473
  };
474
+ "no-hand-rolled-spinner": _typescript_eslint_utils_ts_eslint.RuleModule<"handRolledSpinner", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
475
+ name: string;
476
+ };
464
477
  "no-insecure-random-id": _typescript_eslint_utils_ts_eslint.RuleModule<"insecureRandomId", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
465
478
  name: string;
466
479
  };
@@ -615,6 +628,9 @@ declare const plugin: {
615
628
  "require-interface-for-injected-service": _typescript_eslint_utils_ts_eslint.RuleModule<"requireInterface", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
616
629
  name: string;
617
630
  };
631
+ "require-static-next-matcher": _typescript_eslint_utils_ts_eslint.RuleModule<"dynamicMatcher", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
632
+ name: string;
633
+ };
618
634
  "require-zod-form-validation": _typescript_eslint_utils_ts_eslint.RuleModule<"missingZodValidation", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
619
635
  name: string;
620
636
  };