@sarj/eslint-plugin 15.25.0 → 15.25.1

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.cjs CHANGED
@@ -23154,7 +23154,7 @@ var RULES = {
23154
23154
  };
23155
23155
  var meta = {
23156
23156
  name: "@sarj/eslint-plugin",
23157
- version: "15.25.0"
23157
+ version: "15.25.1"
23158
23158
  };
23159
23159
  var APPLICATION_ONLY_RULES = [];
23160
23160
  var LIBRARY_IMPORT_POLICY = ["error", {
@@ -23164,30 +23164,18 @@ var LIBRARY_IMPORT_POLICY = ["error", {
23164
23164
  var ADVISORY_RULES = [
23165
23165
  "@sarj/excessive-commentary",
23166
23166
  "@sarj/no-bespoke-api-case-conversion",
23167
- "@sarj/no-detached-global-fetch",
23168
- "@sarj/no-first-party-module-mock",
23169
- "@sarj/no-in-operator-on-built-in-collections",
23170
23167
  "@sarj/no-json-stringify-object-equality",
23171
- "@sarj/no-redundant-optional-array-default",
23172
23168
  "@sarj/no-restated-comment",
23173
23169
  "@sarj/no-restated-jsdoc",
23174
- "@sarj/no-unlocalized-jsx-attributes",
23175
- "@sarj/no-unlocalized-jsx-text",
23176
- "@sarj/no-unlocalized-toast",
23177
- "@sarj/no-unsafe-test-double-cast",
23178
- "@sarj/prefer-logical-tailwind-utilities",
23179
23170
  "@sarj/prefer-millisecond-control-duration-schema",
23180
23171
  "@sarj/prefer-module-level-refined-schema",
23181
23172
  "@sarj/prefer-multi-value-zod-literal",
23182
- "@sarj/prefer-named-callback-domain",
23183
23173
  "@sarj/prefer-named-complex-return-type",
23184
23174
  "@sarj/prefer-node-crypto-hash",
23185
23175
  "@sarj/prefer-node-fs-promises",
23186
- "@sarj/prefer-nullish-filter-predicate",
23187
23176
  "@sarj/prefer-shared-zod-enum",
23188
23177
  "@sarj/prefer-switch-for-repeated-equality",
23189
23178
  "@sarj/prefer-whole-object-assertion",
23190
- "@sarj/prefer-zod-parse-output-type",
23191
23179
  "@sarj/require-interface-for-exported-class",
23192
23180
  "@sarj/require-sql-access-class",
23193
23181
  "@sarj/sole-export-matches-filename"
@@ -23200,10 +23188,10 @@ var RECOMMENDED_RULES = {
23200
23188
  "@sarj/no-known-value-widening": "error",
23201
23189
  "@sarj/require-button-accessible-name": "error",
23202
23190
  "@sarj/require-svg-accessible-name": "error",
23203
- "@sarj/prefer-logical-tailwind-utilities": ["warn", { enabled: false }],
23204
- "@sarj/no-unlocalized-toast": ["warn", { enabled: false }],
23205
- "@sarj/no-unlocalized-jsx-attributes": ["warn", { enabled: false }],
23206
- "@sarj/no-unlocalized-jsx-text": ["warn", { enabled: false }],
23191
+ "@sarj/prefer-logical-tailwind-utilities": ["error", { enabled: false }],
23192
+ "@sarj/no-unlocalized-toast": ["error", { enabled: false }],
23193
+ "@sarj/no-unlocalized-jsx-attributes": ["error", { enabled: false }],
23194
+ "@sarj/no-unlocalized-jsx-text": ["error", { enabled: false }],
23207
23195
  "no-restricted-imports": LIBRARY_IMPORT_POLICY,
23208
23196
  "@sarj/no-restricted-library-load": ["error", { libraries: LIBRARY_POLICY }],
23209
23197
  "@sarj/prefer-native-random-uuid": "error",
@@ -23224,11 +23212,11 @@ var RECOMMENDED_RULES = {
23224
23212
  "@sarj/no-insecure-random-id": "error",
23225
23213
  "@sarj/no-json-stringify-error": "error",
23226
23214
  "@sarj/no-impossible-zod-literal-bounds": "error",
23227
- "@sarj/no-in-operator-on-built-in-collections": "warn",
23215
+ "@sarj/no-in-operator-on-built-in-collections": "error",
23228
23216
  "@sarj/no-log-only-catch": "error",
23229
23217
  "@sarj/no-bare-return-from-test-catch": "error",
23230
23218
  "@sarj/no-bespoke-api-case-conversion": "warn",
23231
- "@sarj/no-detached-global-fetch": "warn",
23219
+ "@sarj/no-detached-global-fetch": "error",
23232
23220
  "@sarj/no-json-stringify-object-equality": "warn",
23233
23221
  "@sarj/no-dangerously-allow-svg": "error",
23234
23222
  "@sarj/no-duplicate-lifecycle-refresh-listeners": "error",
@@ -23239,7 +23227,7 @@ var RECOMMENDED_RULES = {
23239
23227
  "@sarj/no-positional-tuple-return": "error",
23240
23228
  "@sarj/no-production-browser-source-maps": "error",
23241
23229
  "@sarj/no-repeated-string-literal": "error",
23242
- "@sarj/no-redundant-optional-array-default": "warn",
23230
+ "@sarj/no-redundant-optional-array-default": "error",
23243
23231
  "@sarj/no-router-refresh-polling": "error",
23244
23232
  "@sarj/no-restated-comment": "warn",
23245
23233
  "@sarj/no-restated-jsdoc": "warn",
@@ -23258,8 +23246,8 @@ var RECOMMENDED_RULES = {
23258
23246
  "@sarj/no-type-member-comment-wall": "error",
23259
23247
  "@sarj/no-unnecessary-use-client": "error",
23260
23248
  "@sarj/no-unsafe-mock-casting": "error",
23261
- "@sarj/no-unsafe-test-double-cast": "warn",
23262
- "@sarj/no-first-party-module-mock": "warn",
23249
+ "@sarj/no-unsafe-test-double-cast": "error",
23250
+ "@sarj/no-first-party-module-mock": "error",
23263
23251
  "@sarj/no-zod-native-enum": "error",
23264
23252
  "@sarj/test-loops-over-literal-cases": "error",
23265
23253
  "@sarj/prefer-constant-time-secret-compare": "error",
@@ -23272,12 +23260,12 @@ var RECOMMENDED_RULES = {
23272
23260
  "@sarj/prefer-module-level-schema": "error",
23273
23261
  "@sarj/prefer-module-level-refined-schema": "warn",
23274
23262
  "@sarj/prefer-multi-value-zod-literal": ["warn", { zodMajorVersion: 4 }],
23275
- "@sarj/prefer-named-callback-domain": "warn",
23263
+ "@sarj/prefer-named-callback-domain": "error",
23276
23264
  "@sarj/prefer-named-complex-return-type": "warn",
23277
23265
  "@sarj/prefer-node-crypto-hash": "warn",
23278
23266
  "@sarj/prefer-node-fs-promises": "warn",
23279
23267
  "@sarj/prefer-non-nullable-collection": "error",
23280
- "@sarj/prefer-nullish-filter-predicate": "warn",
23268
+ "@sarj/prefer-nullish-filter-predicate": "error",
23281
23269
  "@sarj/prefer-await-in-async-return": "error",
23282
23270
  "@sarj/prefer-schema-for-api-payload": "error",
23283
23271
  "@sarj/prefer-shared-zod-enum": "warn",
@@ -23287,7 +23275,7 @@ var RECOMMENDED_RULES = {
23287
23275
  "@sarj/prefer-whole-object-assertion": "warn",
23288
23276
  "@sarj/repeated-static-call-cases": "error",
23289
23277
  "@sarj/prefer-zod-infer": "error",
23290
- "@sarj/prefer-zod-parse-output-type": "warn",
23278
+ "@sarj/prefer-zod-parse-output-type": "error",
23291
23279
  "@sarj/require-assert-never": "error",
23292
23280
  "@sarj/require-fetch-timeout": "error",
23293
23281
  "@sarj/require-interface-for-exported-class": "warn",
@@ -23312,10 +23300,10 @@ var STRICT_RULES = {
23312
23300
  "@sarj/no-known-value-widening": "error",
23313
23301
  "@sarj/require-button-accessible-name": "error",
23314
23302
  "@sarj/require-svg-accessible-name": "error",
23315
- "@sarj/prefer-logical-tailwind-utilities": ["warn", { enabled: false }],
23316
- "@sarj/no-unlocalized-toast": ["warn", { enabled: false }],
23317
- "@sarj/no-unlocalized-jsx-attributes": ["warn", { enabled: false }],
23318
- "@sarj/no-unlocalized-jsx-text": ["warn", { enabled: false }],
23303
+ "@sarj/prefer-logical-tailwind-utilities": ["error", { enabled: false }],
23304
+ "@sarj/no-unlocalized-toast": ["error", { enabled: false }],
23305
+ "@sarj/no-unlocalized-jsx-attributes": ["error", { enabled: false }],
23306
+ "@sarj/no-unlocalized-jsx-text": ["error", { enabled: false }],
23319
23307
  "no-restricted-imports": LIBRARY_IMPORT_POLICY,
23320
23308
  "@sarj/no-restricted-library-load": ["error", { libraries: LIBRARY_POLICY }],
23321
23309
  "@sarj/prefer-native-random-uuid": "error",
@@ -23337,11 +23325,11 @@ var STRICT_RULES = {
23337
23325
  "@sarj/no-insecure-random-id": "error",
23338
23326
  "@sarj/no-json-stringify-error": "error",
23339
23327
  "@sarj/no-impossible-zod-literal-bounds": "error",
23340
- "@sarj/no-in-operator-on-built-in-collections": "warn",
23328
+ "@sarj/no-in-operator-on-built-in-collections": "error",
23341
23329
  "@sarj/no-log-only-catch": "error",
23342
23330
  "@sarj/no-bare-return-from-test-catch": "error",
23343
23331
  "@sarj/no-bespoke-api-case-conversion": "warn",
23344
- "@sarj/no-detached-global-fetch": "warn",
23332
+ "@sarj/no-detached-global-fetch": "error",
23345
23333
  "@sarj/no-json-stringify-object-equality": "warn",
23346
23334
  "@sarj/no-dangerously-allow-svg": "error",
23347
23335
  "@sarj/no-duplicate-lifecycle-refresh-listeners": "error",
@@ -23354,7 +23342,7 @@ var STRICT_RULES = {
23354
23342
  "@sarj/no-raw-env": "error",
23355
23343
  "@sarj/no-raw-fetch-outside-clients": "error",
23356
23344
  "@sarj/no-repeated-string-literal": "error",
23357
- "@sarj/no-redundant-optional-array-default": "warn",
23345
+ "@sarj/no-redundant-optional-array-default": "error",
23358
23346
  "@sarj/no-router-refresh-polling": "error",
23359
23347
  "@sarj/no-restated-comment": "warn",
23360
23348
  "@sarj/no-restated-jsdoc": "warn",
@@ -23374,8 +23362,8 @@ var STRICT_RULES = {
23374
23362
  "@sarj/no-type-member-comment-wall": "error",
23375
23363
  "@sarj/no-unnecessary-use-client": "error",
23376
23364
  "@sarj/no-unsafe-mock-casting": "error",
23377
- "@sarj/no-unsafe-test-double-cast": "warn",
23378
- "@sarj/no-first-party-module-mock": "warn",
23365
+ "@sarj/no-unsafe-test-double-cast": "error",
23366
+ "@sarj/no-first-party-module-mock": "error",
23379
23367
  "@sarj/no-zod-native-enum": "error",
23380
23368
  "@sarj/test-loops-over-literal-cases": "error",
23381
23369
  "@sarj/prefer-constant-time-secret-compare": "error",
@@ -23388,12 +23376,12 @@ var STRICT_RULES = {
23388
23376
  "@sarj/prefer-module-level-schema": "error",
23389
23377
  "@sarj/prefer-module-level-refined-schema": "warn",
23390
23378
  "@sarj/prefer-multi-value-zod-literal": ["warn", { zodMajorVersion: 4 }],
23391
- "@sarj/prefer-named-callback-domain": "warn",
23379
+ "@sarj/prefer-named-callback-domain": "error",
23392
23380
  "@sarj/prefer-named-complex-return-type": "warn",
23393
23381
  "@sarj/prefer-node-crypto-hash": "warn",
23394
23382
  "@sarj/prefer-node-fs-promises": "warn",
23395
23383
  "@sarj/prefer-non-nullable-collection": "error",
23396
- "@sarj/prefer-nullish-filter-predicate": "warn",
23384
+ "@sarj/prefer-nullish-filter-predicate": "error",
23397
23385
  "@sarj/prefer-await-in-async-return": "error",
23398
23386
  "@sarj/prefer-schema-for-api-payload": "error",
23399
23387
  "@sarj/prefer-shared-zod-enum": "warn",
@@ -23403,7 +23391,7 @@ var STRICT_RULES = {
23403
23391
  "@sarj/prefer-whole-object-assertion": "warn",
23404
23392
  "@sarj/repeated-static-call-cases": "error",
23405
23393
  "@sarj/prefer-zod-infer": "error",
23406
- "@sarj/prefer-zod-parse-output-type": "warn",
23394
+ "@sarj/prefer-zod-parse-output-type": "error",
23407
23395
  "@sarj/require-assert-never": "error",
23408
23396
  "@sarj/require-fetch-timeout": "error",
23409
23397
  "@sarj/require-interface-for-exported-class": "warn",
package/dist/index.d.cts CHANGED
@@ -368,7 +368,7 @@ declare const RULES: {
368
368
  /** @deprecated All repositories use one policy; retained for import compatibility. */
369
369
  declare const APPLICATION_ONLY_RULES: readonly [];
370
370
  /** Rules staged as non-blocking warnings while corpus adoption evidence accumulates. */
371
- declare const ADVISORY_RULES: readonly ["@sarj/excessive-commentary", "@sarj/no-bespoke-api-case-conversion", "@sarj/no-detached-global-fetch", "@sarj/no-first-party-module-mock", "@sarj/no-in-operator-on-built-in-collections", "@sarj/no-json-stringify-object-equality", "@sarj/no-redundant-optional-array-default", "@sarj/no-restated-comment", "@sarj/no-restated-jsdoc", "@sarj/no-unlocalized-jsx-attributes", "@sarj/no-unlocalized-jsx-text", "@sarj/no-unlocalized-toast", "@sarj/no-unsafe-test-double-cast", "@sarj/prefer-logical-tailwind-utilities", "@sarj/prefer-millisecond-control-duration-schema", "@sarj/prefer-module-level-refined-schema", "@sarj/prefer-multi-value-zod-literal", "@sarj/prefer-named-callback-domain", "@sarj/prefer-named-complex-return-type", "@sarj/prefer-node-crypto-hash", "@sarj/prefer-node-fs-promises", "@sarj/prefer-nullish-filter-predicate", "@sarj/prefer-shared-zod-enum", "@sarj/prefer-switch-for-repeated-equality", "@sarj/prefer-whole-object-assertion", "@sarj/prefer-zod-parse-output-type", "@sarj/require-interface-for-exported-class", "@sarj/require-sql-access-class", "@sarj/sole-export-matches-filename"];
371
+ declare const ADVISORY_RULES: readonly ["@sarj/excessive-commentary", "@sarj/no-bespoke-api-case-conversion", "@sarj/no-json-stringify-object-equality", "@sarj/no-restated-comment", "@sarj/no-restated-jsdoc", "@sarj/prefer-millisecond-control-duration-schema", "@sarj/prefer-module-level-refined-schema", "@sarj/prefer-multi-value-zod-literal", "@sarj/prefer-named-complex-return-type", "@sarj/prefer-node-crypto-hash", "@sarj/prefer-node-fs-promises", "@sarj/prefer-shared-zod-enum", "@sarj/prefer-switch-for-repeated-equality", "@sarj/prefer-whole-object-assertion", "@sarj/require-interface-for-exported-class", "@sarj/require-sql-access-class", "@sarj/sole-export-matches-filename"];
372
372
  declare const RECOMMENDED_RULES: {
373
373
  readonly "@sarj/no-conditional-empty-object-spread": "error";
374
374
  readonly "@sarj/prefer-typed-reflection": "error";
@@ -377,16 +377,16 @@ declare const RECOMMENDED_RULES: {
377
377
  readonly "@sarj/no-known-value-widening": "error";
378
378
  readonly "@sarj/require-button-accessible-name": "error";
379
379
  readonly "@sarj/require-svg-accessible-name": "error";
380
- readonly "@sarj/prefer-logical-tailwind-utilities": readonly ["warn", {
380
+ readonly "@sarj/prefer-logical-tailwind-utilities": readonly ["error", {
381
381
  readonly enabled: false;
382
382
  }];
383
- readonly "@sarj/no-unlocalized-toast": readonly ["warn", {
383
+ readonly "@sarj/no-unlocalized-toast": readonly ["error", {
384
384
  readonly enabled: false;
385
385
  }];
386
- readonly "@sarj/no-unlocalized-jsx-attributes": readonly ["warn", {
386
+ readonly "@sarj/no-unlocalized-jsx-attributes": readonly ["error", {
387
387
  readonly enabled: false;
388
388
  }];
389
- readonly "@sarj/no-unlocalized-jsx-text": readonly ["warn", {
389
+ readonly "@sarj/no-unlocalized-jsx-text": readonly ["error", {
390
390
  readonly enabled: false;
391
391
  }];
392
392
  readonly "no-restricted-imports": readonly ["error", {
@@ -592,11 +592,11 @@ declare const RECOMMENDED_RULES: {
592
592
  readonly "@sarj/no-insecure-random-id": "error";
593
593
  readonly "@sarj/no-json-stringify-error": "error";
594
594
  readonly "@sarj/no-impossible-zod-literal-bounds": "error";
595
- readonly "@sarj/no-in-operator-on-built-in-collections": "warn";
595
+ readonly "@sarj/no-in-operator-on-built-in-collections": "error";
596
596
  readonly "@sarj/no-log-only-catch": "error";
597
597
  readonly "@sarj/no-bare-return-from-test-catch": "error";
598
598
  readonly "@sarj/no-bespoke-api-case-conversion": "warn";
599
- readonly "@sarj/no-detached-global-fetch": "warn";
599
+ readonly "@sarj/no-detached-global-fetch": "error";
600
600
  readonly "@sarj/no-json-stringify-object-equality": "warn";
601
601
  readonly "@sarj/no-dangerously-allow-svg": "error";
602
602
  readonly "@sarj/no-duplicate-lifecycle-refresh-listeners": "error";
@@ -607,7 +607,7 @@ declare const RECOMMENDED_RULES: {
607
607
  readonly "@sarj/no-positional-tuple-return": "error";
608
608
  readonly "@sarj/no-production-browser-source-maps": "error";
609
609
  readonly "@sarj/no-repeated-string-literal": "error";
610
- readonly "@sarj/no-redundant-optional-array-default": "warn";
610
+ readonly "@sarj/no-redundant-optional-array-default": "error";
611
611
  readonly "@sarj/no-router-refresh-polling": "error";
612
612
  readonly "@sarj/no-restated-comment": "warn";
613
613
  readonly "@sarj/no-restated-jsdoc": "warn";
@@ -626,8 +626,8 @@ declare const RECOMMENDED_RULES: {
626
626
  readonly "@sarj/no-type-member-comment-wall": "error";
627
627
  readonly "@sarj/no-unnecessary-use-client": "error";
628
628
  readonly "@sarj/no-unsafe-mock-casting": "error";
629
- readonly "@sarj/no-unsafe-test-double-cast": "warn";
630
- readonly "@sarj/no-first-party-module-mock": "warn";
629
+ readonly "@sarj/no-unsafe-test-double-cast": "error";
630
+ readonly "@sarj/no-first-party-module-mock": "error";
631
631
  readonly "@sarj/no-zod-native-enum": "error";
632
632
  readonly "@sarj/test-loops-over-literal-cases": "error";
633
633
  readonly "@sarj/prefer-constant-time-secret-compare": "error";
@@ -642,12 +642,12 @@ declare const RECOMMENDED_RULES: {
642
642
  readonly "@sarj/prefer-multi-value-zod-literal": readonly ["warn", {
643
643
  readonly zodMajorVersion: 4;
644
644
  }];
645
- readonly "@sarj/prefer-named-callback-domain": "warn";
645
+ readonly "@sarj/prefer-named-callback-domain": "error";
646
646
  readonly "@sarj/prefer-named-complex-return-type": "warn";
647
647
  readonly "@sarj/prefer-node-crypto-hash": "warn";
648
648
  readonly "@sarj/prefer-node-fs-promises": "warn";
649
649
  readonly "@sarj/prefer-non-nullable-collection": "error";
650
- readonly "@sarj/prefer-nullish-filter-predicate": "warn";
650
+ readonly "@sarj/prefer-nullish-filter-predicate": "error";
651
651
  readonly "@sarj/prefer-await-in-async-return": "error";
652
652
  readonly "@sarj/prefer-schema-for-api-payload": "error";
653
653
  readonly "@sarj/prefer-shared-zod-enum": "warn";
@@ -659,7 +659,7 @@ declare const RECOMMENDED_RULES: {
659
659
  readonly "@sarj/prefer-whole-object-assertion": "warn";
660
660
  readonly "@sarj/repeated-static-call-cases": "error";
661
661
  readonly "@sarj/prefer-zod-infer": "error";
662
- readonly "@sarj/prefer-zod-parse-output-type": "warn";
662
+ readonly "@sarj/prefer-zod-parse-output-type": "error";
663
663
  readonly "@sarj/require-assert-never": "error";
664
664
  readonly "@sarj/require-fetch-timeout": "error";
665
665
  readonly "@sarj/require-interface-for-exported-class": "warn";
@@ -684,16 +684,16 @@ declare const STRICT_RULES: {
684
684
  readonly "@sarj/no-known-value-widening": "error";
685
685
  readonly "@sarj/require-button-accessible-name": "error";
686
686
  readonly "@sarj/require-svg-accessible-name": "error";
687
- readonly "@sarj/prefer-logical-tailwind-utilities": readonly ["warn", {
687
+ readonly "@sarj/prefer-logical-tailwind-utilities": readonly ["error", {
688
688
  readonly enabled: false;
689
689
  }];
690
- readonly "@sarj/no-unlocalized-toast": readonly ["warn", {
690
+ readonly "@sarj/no-unlocalized-toast": readonly ["error", {
691
691
  readonly enabled: false;
692
692
  }];
693
- readonly "@sarj/no-unlocalized-jsx-attributes": readonly ["warn", {
693
+ readonly "@sarj/no-unlocalized-jsx-attributes": readonly ["error", {
694
694
  readonly enabled: false;
695
695
  }];
696
- readonly "@sarj/no-unlocalized-jsx-text": readonly ["warn", {
696
+ readonly "@sarj/no-unlocalized-jsx-text": readonly ["error", {
697
697
  readonly enabled: false;
698
698
  }];
699
699
  readonly "no-restricted-imports": readonly ["error", {
@@ -900,11 +900,11 @@ declare const STRICT_RULES: {
900
900
  readonly "@sarj/no-insecure-random-id": "error";
901
901
  readonly "@sarj/no-json-stringify-error": "error";
902
902
  readonly "@sarj/no-impossible-zod-literal-bounds": "error";
903
- readonly "@sarj/no-in-operator-on-built-in-collections": "warn";
903
+ readonly "@sarj/no-in-operator-on-built-in-collections": "error";
904
904
  readonly "@sarj/no-log-only-catch": "error";
905
905
  readonly "@sarj/no-bare-return-from-test-catch": "error";
906
906
  readonly "@sarj/no-bespoke-api-case-conversion": "warn";
907
- readonly "@sarj/no-detached-global-fetch": "warn";
907
+ readonly "@sarj/no-detached-global-fetch": "error";
908
908
  readonly "@sarj/no-json-stringify-object-equality": "warn";
909
909
  readonly "@sarj/no-dangerously-allow-svg": "error";
910
910
  readonly "@sarj/no-duplicate-lifecycle-refresh-listeners": "error";
@@ -917,7 +917,7 @@ declare const STRICT_RULES: {
917
917
  readonly "@sarj/no-raw-env": "error";
918
918
  readonly "@sarj/no-raw-fetch-outside-clients": "error";
919
919
  readonly "@sarj/no-repeated-string-literal": "error";
920
- readonly "@sarj/no-redundant-optional-array-default": "warn";
920
+ readonly "@sarj/no-redundant-optional-array-default": "error";
921
921
  readonly "@sarj/no-router-refresh-polling": "error";
922
922
  readonly "@sarj/no-restated-comment": "warn";
923
923
  readonly "@sarj/no-restated-jsdoc": "warn";
@@ -937,8 +937,8 @@ declare const STRICT_RULES: {
937
937
  readonly "@sarj/no-type-member-comment-wall": "error";
938
938
  readonly "@sarj/no-unnecessary-use-client": "error";
939
939
  readonly "@sarj/no-unsafe-mock-casting": "error";
940
- readonly "@sarj/no-unsafe-test-double-cast": "warn";
941
- readonly "@sarj/no-first-party-module-mock": "warn";
940
+ readonly "@sarj/no-unsafe-test-double-cast": "error";
941
+ readonly "@sarj/no-first-party-module-mock": "error";
942
942
  readonly "@sarj/no-zod-native-enum": "error";
943
943
  readonly "@sarj/test-loops-over-literal-cases": "error";
944
944
  readonly "@sarj/prefer-constant-time-secret-compare": "error";
@@ -953,12 +953,12 @@ declare const STRICT_RULES: {
953
953
  readonly "@sarj/prefer-multi-value-zod-literal": readonly ["warn", {
954
954
  readonly zodMajorVersion: 4;
955
955
  }];
956
- readonly "@sarj/prefer-named-callback-domain": "warn";
956
+ readonly "@sarj/prefer-named-callback-domain": "error";
957
957
  readonly "@sarj/prefer-named-complex-return-type": "warn";
958
958
  readonly "@sarj/prefer-node-crypto-hash": "warn";
959
959
  readonly "@sarj/prefer-node-fs-promises": "warn";
960
960
  readonly "@sarj/prefer-non-nullable-collection": "error";
961
- readonly "@sarj/prefer-nullish-filter-predicate": "warn";
961
+ readonly "@sarj/prefer-nullish-filter-predicate": "error";
962
962
  readonly "@sarj/prefer-await-in-async-return": "error";
963
963
  readonly "@sarj/prefer-schema-for-api-payload": "error";
964
964
  readonly "@sarj/prefer-shared-zod-enum": "warn";
@@ -970,7 +970,7 @@ declare const STRICT_RULES: {
970
970
  readonly "@sarj/prefer-whole-object-assertion": "warn";
971
971
  readonly "@sarj/repeated-static-call-cases": "error";
972
972
  readonly "@sarj/prefer-zod-infer": "error";
973
- readonly "@sarj/prefer-zod-parse-output-type": "warn";
973
+ readonly "@sarj/prefer-zod-parse-output-type": "error";
974
974
  readonly "@sarj/require-assert-never": "error";
975
975
  readonly "@sarj/require-fetch-timeout": "error";
976
976
  readonly "@sarj/require-interface-for-exported-class": "warn";
@@ -995,7 +995,7 @@ type FlatPreset = {
995
995
  declare const PLUGIN: {
996
996
  readonly meta: {
997
997
  readonly name: "@sarj/eslint-plugin";
998
- readonly version: "15.25.0";
998
+ readonly version: "15.25.1";
999
999
  };
1000
1000
  readonly rules: {
1001
1001
  readonly "no-conditional-empty-object-spread": DocumentedRule<[], "avoid">;
package/dist/index.d.ts CHANGED
@@ -368,7 +368,7 @@ declare const RULES: {
368
368
  /** @deprecated All repositories use one policy; retained for import compatibility. */
369
369
  declare const APPLICATION_ONLY_RULES: readonly [];
370
370
  /** Rules staged as non-blocking warnings while corpus adoption evidence accumulates. */
371
- declare const ADVISORY_RULES: readonly ["@sarj/excessive-commentary", "@sarj/no-bespoke-api-case-conversion", "@sarj/no-detached-global-fetch", "@sarj/no-first-party-module-mock", "@sarj/no-in-operator-on-built-in-collections", "@sarj/no-json-stringify-object-equality", "@sarj/no-redundant-optional-array-default", "@sarj/no-restated-comment", "@sarj/no-restated-jsdoc", "@sarj/no-unlocalized-jsx-attributes", "@sarj/no-unlocalized-jsx-text", "@sarj/no-unlocalized-toast", "@sarj/no-unsafe-test-double-cast", "@sarj/prefer-logical-tailwind-utilities", "@sarj/prefer-millisecond-control-duration-schema", "@sarj/prefer-module-level-refined-schema", "@sarj/prefer-multi-value-zod-literal", "@sarj/prefer-named-callback-domain", "@sarj/prefer-named-complex-return-type", "@sarj/prefer-node-crypto-hash", "@sarj/prefer-node-fs-promises", "@sarj/prefer-nullish-filter-predicate", "@sarj/prefer-shared-zod-enum", "@sarj/prefer-switch-for-repeated-equality", "@sarj/prefer-whole-object-assertion", "@sarj/prefer-zod-parse-output-type", "@sarj/require-interface-for-exported-class", "@sarj/require-sql-access-class", "@sarj/sole-export-matches-filename"];
371
+ declare const ADVISORY_RULES: readonly ["@sarj/excessive-commentary", "@sarj/no-bespoke-api-case-conversion", "@sarj/no-json-stringify-object-equality", "@sarj/no-restated-comment", "@sarj/no-restated-jsdoc", "@sarj/prefer-millisecond-control-duration-schema", "@sarj/prefer-module-level-refined-schema", "@sarj/prefer-multi-value-zod-literal", "@sarj/prefer-named-complex-return-type", "@sarj/prefer-node-crypto-hash", "@sarj/prefer-node-fs-promises", "@sarj/prefer-shared-zod-enum", "@sarj/prefer-switch-for-repeated-equality", "@sarj/prefer-whole-object-assertion", "@sarj/require-interface-for-exported-class", "@sarj/require-sql-access-class", "@sarj/sole-export-matches-filename"];
372
372
  declare const RECOMMENDED_RULES: {
373
373
  readonly "@sarj/no-conditional-empty-object-spread": "error";
374
374
  readonly "@sarj/prefer-typed-reflection": "error";
@@ -377,16 +377,16 @@ declare const RECOMMENDED_RULES: {
377
377
  readonly "@sarj/no-known-value-widening": "error";
378
378
  readonly "@sarj/require-button-accessible-name": "error";
379
379
  readonly "@sarj/require-svg-accessible-name": "error";
380
- readonly "@sarj/prefer-logical-tailwind-utilities": readonly ["warn", {
380
+ readonly "@sarj/prefer-logical-tailwind-utilities": readonly ["error", {
381
381
  readonly enabled: false;
382
382
  }];
383
- readonly "@sarj/no-unlocalized-toast": readonly ["warn", {
383
+ readonly "@sarj/no-unlocalized-toast": readonly ["error", {
384
384
  readonly enabled: false;
385
385
  }];
386
- readonly "@sarj/no-unlocalized-jsx-attributes": readonly ["warn", {
386
+ readonly "@sarj/no-unlocalized-jsx-attributes": readonly ["error", {
387
387
  readonly enabled: false;
388
388
  }];
389
- readonly "@sarj/no-unlocalized-jsx-text": readonly ["warn", {
389
+ readonly "@sarj/no-unlocalized-jsx-text": readonly ["error", {
390
390
  readonly enabled: false;
391
391
  }];
392
392
  readonly "no-restricted-imports": readonly ["error", {
@@ -592,11 +592,11 @@ declare const RECOMMENDED_RULES: {
592
592
  readonly "@sarj/no-insecure-random-id": "error";
593
593
  readonly "@sarj/no-json-stringify-error": "error";
594
594
  readonly "@sarj/no-impossible-zod-literal-bounds": "error";
595
- readonly "@sarj/no-in-operator-on-built-in-collections": "warn";
595
+ readonly "@sarj/no-in-operator-on-built-in-collections": "error";
596
596
  readonly "@sarj/no-log-only-catch": "error";
597
597
  readonly "@sarj/no-bare-return-from-test-catch": "error";
598
598
  readonly "@sarj/no-bespoke-api-case-conversion": "warn";
599
- readonly "@sarj/no-detached-global-fetch": "warn";
599
+ readonly "@sarj/no-detached-global-fetch": "error";
600
600
  readonly "@sarj/no-json-stringify-object-equality": "warn";
601
601
  readonly "@sarj/no-dangerously-allow-svg": "error";
602
602
  readonly "@sarj/no-duplicate-lifecycle-refresh-listeners": "error";
@@ -607,7 +607,7 @@ declare const RECOMMENDED_RULES: {
607
607
  readonly "@sarj/no-positional-tuple-return": "error";
608
608
  readonly "@sarj/no-production-browser-source-maps": "error";
609
609
  readonly "@sarj/no-repeated-string-literal": "error";
610
- readonly "@sarj/no-redundant-optional-array-default": "warn";
610
+ readonly "@sarj/no-redundant-optional-array-default": "error";
611
611
  readonly "@sarj/no-router-refresh-polling": "error";
612
612
  readonly "@sarj/no-restated-comment": "warn";
613
613
  readonly "@sarj/no-restated-jsdoc": "warn";
@@ -626,8 +626,8 @@ declare const RECOMMENDED_RULES: {
626
626
  readonly "@sarj/no-type-member-comment-wall": "error";
627
627
  readonly "@sarj/no-unnecessary-use-client": "error";
628
628
  readonly "@sarj/no-unsafe-mock-casting": "error";
629
- readonly "@sarj/no-unsafe-test-double-cast": "warn";
630
- readonly "@sarj/no-first-party-module-mock": "warn";
629
+ readonly "@sarj/no-unsafe-test-double-cast": "error";
630
+ readonly "@sarj/no-first-party-module-mock": "error";
631
631
  readonly "@sarj/no-zod-native-enum": "error";
632
632
  readonly "@sarj/test-loops-over-literal-cases": "error";
633
633
  readonly "@sarj/prefer-constant-time-secret-compare": "error";
@@ -642,12 +642,12 @@ declare const RECOMMENDED_RULES: {
642
642
  readonly "@sarj/prefer-multi-value-zod-literal": readonly ["warn", {
643
643
  readonly zodMajorVersion: 4;
644
644
  }];
645
- readonly "@sarj/prefer-named-callback-domain": "warn";
645
+ readonly "@sarj/prefer-named-callback-domain": "error";
646
646
  readonly "@sarj/prefer-named-complex-return-type": "warn";
647
647
  readonly "@sarj/prefer-node-crypto-hash": "warn";
648
648
  readonly "@sarj/prefer-node-fs-promises": "warn";
649
649
  readonly "@sarj/prefer-non-nullable-collection": "error";
650
- readonly "@sarj/prefer-nullish-filter-predicate": "warn";
650
+ readonly "@sarj/prefer-nullish-filter-predicate": "error";
651
651
  readonly "@sarj/prefer-await-in-async-return": "error";
652
652
  readonly "@sarj/prefer-schema-for-api-payload": "error";
653
653
  readonly "@sarj/prefer-shared-zod-enum": "warn";
@@ -659,7 +659,7 @@ declare const RECOMMENDED_RULES: {
659
659
  readonly "@sarj/prefer-whole-object-assertion": "warn";
660
660
  readonly "@sarj/repeated-static-call-cases": "error";
661
661
  readonly "@sarj/prefer-zod-infer": "error";
662
- readonly "@sarj/prefer-zod-parse-output-type": "warn";
662
+ readonly "@sarj/prefer-zod-parse-output-type": "error";
663
663
  readonly "@sarj/require-assert-never": "error";
664
664
  readonly "@sarj/require-fetch-timeout": "error";
665
665
  readonly "@sarj/require-interface-for-exported-class": "warn";
@@ -684,16 +684,16 @@ declare const STRICT_RULES: {
684
684
  readonly "@sarj/no-known-value-widening": "error";
685
685
  readonly "@sarj/require-button-accessible-name": "error";
686
686
  readonly "@sarj/require-svg-accessible-name": "error";
687
- readonly "@sarj/prefer-logical-tailwind-utilities": readonly ["warn", {
687
+ readonly "@sarj/prefer-logical-tailwind-utilities": readonly ["error", {
688
688
  readonly enabled: false;
689
689
  }];
690
- readonly "@sarj/no-unlocalized-toast": readonly ["warn", {
690
+ readonly "@sarj/no-unlocalized-toast": readonly ["error", {
691
691
  readonly enabled: false;
692
692
  }];
693
- readonly "@sarj/no-unlocalized-jsx-attributes": readonly ["warn", {
693
+ readonly "@sarj/no-unlocalized-jsx-attributes": readonly ["error", {
694
694
  readonly enabled: false;
695
695
  }];
696
- readonly "@sarj/no-unlocalized-jsx-text": readonly ["warn", {
696
+ readonly "@sarj/no-unlocalized-jsx-text": readonly ["error", {
697
697
  readonly enabled: false;
698
698
  }];
699
699
  readonly "no-restricted-imports": readonly ["error", {
@@ -900,11 +900,11 @@ declare const STRICT_RULES: {
900
900
  readonly "@sarj/no-insecure-random-id": "error";
901
901
  readonly "@sarj/no-json-stringify-error": "error";
902
902
  readonly "@sarj/no-impossible-zod-literal-bounds": "error";
903
- readonly "@sarj/no-in-operator-on-built-in-collections": "warn";
903
+ readonly "@sarj/no-in-operator-on-built-in-collections": "error";
904
904
  readonly "@sarj/no-log-only-catch": "error";
905
905
  readonly "@sarj/no-bare-return-from-test-catch": "error";
906
906
  readonly "@sarj/no-bespoke-api-case-conversion": "warn";
907
- readonly "@sarj/no-detached-global-fetch": "warn";
907
+ readonly "@sarj/no-detached-global-fetch": "error";
908
908
  readonly "@sarj/no-json-stringify-object-equality": "warn";
909
909
  readonly "@sarj/no-dangerously-allow-svg": "error";
910
910
  readonly "@sarj/no-duplicate-lifecycle-refresh-listeners": "error";
@@ -917,7 +917,7 @@ declare const STRICT_RULES: {
917
917
  readonly "@sarj/no-raw-env": "error";
918
918
  readonly "@sarj/no-raw-fetch-outside-clients": "error";
919
919
  readonly "@sarj/no-repeated-string-literal": "error";
920
- readonly "@sarj/no-redundant-optional-array-default": "warn";
920
+ readonly "@sarj/no-redundant-optional-array-default": "error";
921
921
  readonly "@sarj/no-router-refresh-polling": "error";
922
922
  readonly "@sarj/no-restated-comment": "warn";
923
923
  readonly "@sarj/no-restated-jsdoc": "warn";
@@ -937,8 +937,8 @@ declare const STRICT_RULES: {
937
937
  readonly "@sarj/no-type-member-comment-wall": "error";
938
938
  readonly "@sarj/no-unnecessary-use-client": "error";
939
939
  readonly "@sarj/no-unsafe-mock-casting": "error";
940
- readonly "@sarj/no-unsafe-test-double-cast": "warn";
941
- readonly "@sarj/no-first-party-module-mock": "warn";
940
+ readonly "@sarj/no-unsafe-test-double-cast": "error";
941
+ readonly "@sarj/no-first-party-module-mock": "error";
942
942
  readonly "@sarj/no-zod-native-enum": "error";
943
943
  readonly "@sarj/test-loops-over-literal-cases": "error";
944
944
  readonly "@sarj/prefer-constant-time-secret-compare": "error";
@@ -953,12 +953,12 @@ declare const STRICT_RULES: {
953
953
  readonly "@sarj/prefer-multi-value-zod-literal": readonly ["warn", {
954
954
  readonly zodMajorVersion: 4;
955
955
  }];
956
- readonly "@sarj/prefer-named-callback-domain": "warn";
956
+ readonly "@sarj/prefer-named-callback-domain": "error";
957
957
  readonly "@sarj/prefer-named-complex-return-type": "warn";
958
958
  readonly "@sarj/prefer-node-crypto-hash": "warn";
959
959
  readonly "@sarj/prefer-node-fs-promises": "warn";
960
960
  readonly "@sarj/prefer-non-nullable-collection": "error";
961
- readonly "@sarj/prefer-nullish-filter-predicate": "warn";
961
+ readonly "@sarj/prefer-nullish-filter-predicate": "error";
962
962
  readonly "@sarj/prefer-await-in-async-return": "error";
963
963
  readonly "@sarj/prefer-schema-for-api-payload": "error";
964
964
  readonly "@sarj/prefer-shared-zod-enum": "warn";
@@ -970,7 +970,7 @@ declare const STRICT_RULES: {
970
970
  readonly "@sarj/prefer-whole-object-assertion": "warn";
971
971
  readonly "@sarj/repeated-static-call-cases": "error";
972
972
  readonly "@sarj/prefer-zod-infer": "error";
973
- readonly "@sarj/prefer-zod-parse-output-type": "warn";
973
+ readonly "@sarj/prefer-zod-parse-output-type": "error";
974
974
  readonly "@sarj/require-assert-never": "error";
975
975
  readonly "@sarj/require-fetch-timeout": "error";
976
976
  readonly "@sarj/require-interface-for-exported-class": "warn";
@@ -995,7 +995,7 @@ type FlatPreset = {
995
995
  declare const PLUGIN: {
996
996
  readonly meta: {
997
997
  readonly name: "@sarj/eslint-plugin";
998
- readonly version: "15.25.0";
998
+ readonly version: "15.25.1";
999
999
  };
1000
1000
  readonly rules: {
1001
1001
  readonly "no-conditional-empty-object-spread": DocumentedRule<[], "avoid">;
package/dist/index.js CHANGED
@@ -23175,7 +23175,7 @@ var RULES = {
23175
23175
  };
23176
23176
  var meta = {
23177
23177
  name: "@sarj/eslint-plugin",
23178
- version: "15.25.0"
23178
+ version: "15.25.1"
23179
23179
  };
23180
23180
  var APPLICATION_ONLY_RULES = [];
23181
23181
  var LIBRARY_IMPORT_POLICY = ["error", {
@@ -23185,30 +23185,18 @@ var LIBRARY_IMPORT_POLICY = ["error", {
23185
23185
  var ADVISORY_RULES = [
23186
23186
  "@sarj/excessive-commentary",
23187
23187
  "@sarj/no-bespoke-api-case-conversion",
23188
- "@sarj/no-detached-global-fetch",
23189
- "@sarj/no-first-party-module-mock",
23190
- "@sarj/no-in-operator-on-built-in-collections",
23191
23188
  "@sarj/no-json-stringify-object-equality",
23192
- "@sarj/no-redundant-optional-array-default",
23193
23189
  "@sarj/no-restated-comment",
23194
23190
  "@sarj/no-restated-jsdoc",
23195
- "@sarj/no-unlocalized-jsx-attributes",
23196
- "@sarj/no-unlocalized-jsx-text",
23197
- "@sarj/no-unlocalized-toast",
23198
- "@sarj/no-unsafe-test-double-cast",
23199
- "@sarj/prefer-logical-tailwind-utilities",
23200
23191
  "@sarj/prefer-millisecond-control-duration-schema",
23201
23192
  "@sarj/prefer-module-level-refined-schema",
23202
23193
  "@sarj/prefer-multi-value-zod-literal",
23203
- "@sarj/prefer-named-callback-domain",
23204
23194
  "@sarj/prefer-named-complex-return-type",
23205
23195
  "@sarj/prefer-node-crypto-hash",
23206
23196
  "@sarj/prefer-node-fs-promises",
23207
- "@sarj/prefer-nullish-filter-predicate",
23208
23197
  "@sarj/prefer-shared-zod-enum",
23209
23198
  "@sarj/prefer-switch-for-repeated-equality",
23210
23199
  "@sarj/prefer-whole-object-assertion",
23211
- "@sarj/prefer-zod-parse-output-type",
23212
23200
  "@sarj/require-interface-for-exported-class",
23213
23201
  "@sarj/require-sql-access-class",
23214
23202
  "@sarj/sole-export-matches-filename"
@@ -23221,10 +23209,10 @@ var RECOMMENDED_RULES = {
23221
23209
  "@sarj/no-known-value-widening": "error",
23222
23210
  "@sarj/require-button-accessible-name": "error",
23223
23211
  "@sarj/require-svg-accessible-name": "error",
23224
- "@sarj/prefer-logical-tailwind-utilities": ["warn", { enabled: false }],
23225
- "@sarj/no-unlocalized-toast": ["warn", { enabled: false }],
23226
- "@sarj/no-unlocalized-jsx-attributes": ["warn", { enabled: false }],
23227
- "@sarj/no-unlocalized-jsx-text": ["warn", { enabled: false }],
23212
+ "@sarj/prefer-logical-tailwind-utilities": ["error", { enabled: false }],
23213
+ "@sarj/no-unlocalized-toast": ["error", { enabled: false }],
23214
+ "@sarj/no-unlocalized-jsx-attributes": ["error", { enabled: false }],
23215
+ "@sarj/no-unlocalized-jsx-text": ["error", { enabled: false }],
23228
23216
  "no-restricted-imports": LIBRARY_IMPORT_POLICY,
23229
23217
  "@sarj/no-restricted-library-load": ["error", { libraries: LIBRARY_POLICY }],
23230
23218
  "@sarj/prefer-native-random-uuid": "error",
@@ -23245,11 +23233,11 @@ var RECOMMENDED_RULES = {
23245
23233
  "@sarj/no-insecure-random-id": "error",
23246
23234
  "@sarj/no-json-stringify-error": "error",
23247
23235
  "@sarj/no-impossible-zod-literal-bounds": "error",
23248
- "@sarj/no-in-operator-on-built-in-collections": "warn",
23236
+ "@sarj/no-in-operator-on-built-in-collections": "error",
23249
23237
  "@sarj/no-log-only-catch": "error",
23250
23238
  "@sarj/no-bare-return-from-test-catch": "error",
23251
23239
  "@sarj/no-bespoke-api-case-conversion": "warn",
23252
- "@sarj/no-detached-global-fetch": "warn",
23240
+ "@sarj/no-detached-global-fetch": "error",
23253
23241
  "@sarj/no-json-stringify-object-equality": "warn",
23254
23242
  "@sarj/no-dangerously-allow-svg": "error",
23255
23243
  "@sarj/no-duplicate-lifecycle-refresh-listeners": "error",
@@ -23260,7 +23248,7 @@ var RECOMMENDED_RULES = {
23260
23248
  "@sarj/no-positional-tuple-return": "error",
23261
23249
  "@sarj/no-production-browser-source-maps": "error",
23262
23250
  "@sarj/no-repeated-string-literal": "error",
23263
- "@sarj/no-redundant-optional-array-default": "warn",
23251
+ "@sarj/no-redundant-optional-array-default": "error",
23264
23252
  "@sarj/no-router-refresh-polling": "error",
23265
23253
  "@sarj/no-restated-comment": "warn",
23266
23254
  "@sarj/no-restated-jsdoc": "warn",
@@ -23279,8 +23267,8 @@ var RECOMMENDED_RULES = {
23279
23267
  "@sarj/no-type-member-comment-wall": "error",
23280
23268
  "@sarj/no-unnecessary-use-client": "error",
23281
23269
  "@sarj/no-unsafe-mock-casting": "error",
23282
- "@sarj/no-unsafe-test-double-cast": "warn",
23283
- "@sarj/no-first-party-module-mock": "warn",
23270
+ "@sarj/no-unsafe-test-double-cast": "error",
23271
+ "@sarj/no-first-party-module-mock": "error",
23284
23272
  "@sarj/no-zod-native-enum": "error",
23285
23273
  "@sarj/test-loops-over-literal-cases": "error",
23286
23274
  "@sarj/prefer-constant-time-secret-compare": "error",
@@ -23293,12 +23281,12 @@ var RECOMMENDED_RULES = {
23293
23281
  "@sarj/prefer-module-level-schema": "error",
23294
23282
  "@sarj/prefer-module-level-refined-schema": "warn",
23295
23283
  "@sarj/prefer-multi-value-zod-literal": ["warn", { zodMajorVersion: 4 }],
23296
- "@sarj/prefer-named-callback-domain": "warn",
23284
+ "@sarj/prefer-named-callback-domain": "error",
23297
23285
  "@sarj/prefer-named-complex-return-type": "warn",
23298
23286
  "@sarj/prefer-node-crypto-hash": "warn",
23299
23287
  "@sarj/prefer-node-fs-promises": "warn",
23300
23288
  "@sarj/prefer-non-nullable-collection": "error",
23301
- "@sarj/prefer-nullish-filter-predicate": "warn",
23289
+ "@sarj/prefer-nullish-filter-predicate": "error",
23302
23290
  "@sarj/prefer-await-in-async-return": "error",
23303
23291
  "@sarj/prefer-schema-for-api-payload": "error",
23304
23292
  "@sarj/prefer-shared-zod-enum": "warn",
@@ -23308,7 +23296,7 @@ var RECOMMENDED_RULES = {
23308
23296
  "@sarj/prefer-whole-object-assertion": "warn",
23309
23297
  "@sarj/repeated-static-call-cases": "error",
23310
23298
  "@sarj/prefer-zod-infer": "error",
23311
- "@sarj/prefer-zod-parse-output-type": "warn",
23299
+ "@sarj/prefer-zod-parse-output-type": "error",
23312
23300
  "@sarj/require-assert-never": "error",
23313
23301
  "@sarj/require-fetch-timeout": "error",
23314
23302
  "@sarj/require-interface-for-exported-class": "warn",
@@ -23333,10 +23321,10 @@ var STRICT_RULES = {
23333
23321
  "@sarj/no-known-value-widening": "error",
23334
23322
  "@sarj/require-button-accessible-name": "error",
23335
23323
  "@sarj/require-svg-accessible-name": "error",
23336
- "@sarj/prefer-logical-tailwind-utilities": ["warn", { enabled: false }],
23337
- "@sarj/no-unlocalized-toast": ["warn", { enabled: false }],
23338
- "@sarj/no-unlocalized-jsx-attributes": ["warn", { enabled: false }],
23339
- "@sarj/no-unlocalized-jsx-text": ["warn", { enabled: false }],
23324
+ "@sarj/prefer-logical-tailwind-utilities": ["error", { enabled: false }],
23325
+ "@sarj/no-unlocalized-toast": ["error", { enabled: false }],
23326
+ "@sarj/no-unlocalized-jsx-attributes": ["error", { enabled: false }],
23327
+ "@sarj/no-unlocalized-jsx-text": ["error", { enabled: false }],
23340
23328
  "no-restricted-imports": LIBRARY_IMPORT_POLICY,
23341
23329
  "@sarj/no-restricted-library-load": ["error", { libraries: LIBRARY_POLICY }],
23342
23330
  "@sarj/prefer-native-random-uuid": "error",
@@ -23358,11 +23346,11 @@ var STRICT_RULES = {
23358
23346
  "@sarj/no-insecure-random-id": "error",
23359
23347
  "@sarj/no-json-stringify-error": "error",
23360
23348
  "@sarj/no-impossible-zod-literal-bounds": "error",
23361
- "@sarj/no-in-operator-on-built-in-collections": "warn",
23349
+ "@sarj/no-in-operator-on-built-in-collections": "error",
23362
23350
  "@sarj/no-log-only-catch": "error",
23363
23351
  "@sarj/no-bare-return-from-test-catch": "error",
23364
23352
  "@sarj/no-bespoke-api-case-conversion": "warn",
23365
- "@sarj/no-detached-global-fetch": "warn",
23353
+ "@sarj/no-detached-global-fetch": "error",
23366
23354
  "@sarj/no-json-stringify-object-equality": "warn",
23367
23355
  "@sarj/no-dangerously-allow-svg": "error",
23368
23356
  "@sarj/no-duplicate-lifecycle-refresh-listeners": "error",
@@ -23375,7 +23363,7 @@ var STRICT_RULES = {
23375
23363
  "@sarj/no-raw-env": "error",
23376
23364
  "@sarj/no-raw-fetch-outside-clients": "error",
23377
23365
  "@sarj/no-repeated-string-literal": "error",
23378
- "@sarj/no-redundant-optional-array-default": "warn",
23366
+ "@sarj/no-redundant-optional-array-default": "error",
23379
23367
  "@sarj/no-router-refresh-polling": "error",
23380
23368
  "@sarj/no-restated-comment": "warn",
23381
23369
  "@sarj/no-restated-jsdoc": "warn",
@@ -23395,8 +23383,8 @@ var STRICT_RULES = {
23395
23383
  "@sarj/no-type-member-comment-wall": "error",
23396
23384
  "@sarj/no-unnecessary-use-client": "error",
23397
23385
  "@sarj/no-unsafe-mock-casting": "error",
23398
- "@sarj/no-unsafe-test-double-cast": "warn",
23399
- "@sarj/no-first-party-module-mock": "warn",
23386
+ "@sarj/no-unsafe-test-double-cast": "error",
23387
+ "@sarj/no-first-party-module-mock": "error",
23400
23388
  "@sarj/no-zod-native-enum": "error",
23401
23389
  "@sarj/test-loops-over-literal-cases": "error",
23402
23390
  "@sarj/prefer-constant-time-secret-compare": "error",
@@ -23409,12 +23397,12 @@ var STRICT_RULES = {
23409
23397
  "@sarj/prefer-module-level-schema": "error",
23410
23398
  "@sarj/prefer-module-level-refined-schema": "warn",
23411
23399
  "@sarj/prefer-multi-value-zod-literal": ["warn", { zodMajorVersion: 4 }],
23412
- "@sarj/prefer-named-callback-domain": "warn",
23400
+ "@sarj/prefer-named-callback-domain": "error",
23413
23401
  "@sarj/prefer-named-complex-return-type": "warn",
23414
23402
  "@sarj/prefer-node-crypto-hash": "warn",
23415
23403
  "@sarj/prefer-node-fs-promises": "warn",
23416
23404
  "@sarj/prefer-non-nullable-collection": "error",
23417
- "@sarj/prefer-nullish-filter-predicate": "warn",
23405
+ "@sarj/prefer-nullish-filter-predicate": "error",
23418
23406
  "@sarj/prefer-await-in-async-return": "error",
23419
23407
  "@sarj/prefer-schema-for-api-payload": "error",
23420
23408
  "@sarj/prefer-shared-zod-enum": "warn",
@@ -23424,7 +23412,7 @@ var STRICT_RULES = {
23424
23412
  "@sarj/prefer-whole-object-assertion": "warn",
23425
23413
  "@sarj/repeated-static-call-cases": "error",
23426
23414
  "@sarj/prefer-zod-infer": "error",
23427
- "@sarj/prefer-zod-parse-output-type": "warn",
23415
+ "@sarj/prefer-zod-parse-output-type": "error",
23428
23416
  "@sarj/require-assert-never": "error",
23429
23417
  "@sarj/require-fetch-timeout": "error",
23430
23418
  "@sarj/require-interface-for-exported-class": "warn",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sarj/eslint-plugin",
3
- "version": "15.25.0",
3
+ "version": "15.25.1",
4
4
  "packageManager": "npm@12.0.2",
5
5
  "description": "Custom ESLint rules for hypermodern TypeScript / React / Next.js projects",
6
6
  "type": "module",