@sarj/eslint-plugin 15.17.0 → 15.17.2
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 +2580 -1912
- package/dist/index.d.cts +18 -6
- package/dist/index.d.ts +18 -6
- package/dist/index.js +2571 -1894
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -189,6 +189,7 @@ declare const RENAMED_RULES: {
|
|
|
189
189
|
};
|
|
190
190
|
|
|
191
191
|
declare const RULES: {
|
|
192
|
+
readonly "excessive-commentary": DocumentedRule<readonly [], "excessive">;
|
|
192
193
|
readonly "iac-source-coupled-test": DocumentedRule<readonly [], "rawSourceOracle">;
|
|
193
194
|
readonly "duplicate-test-body": DocumentedRule<readonly [], "duplicateTestBody">;
|
|
194
195
|
readonly "enforce-file-structure": DocumentedRule<readonly [], "importsFirst" | "useServerDirective">;
|
|
@@ -213,6 +214,7 @@ declare const RULES: {
|
|
|
213
214
|
readonly "interface-contract-members-private": DocumentedRule<readonly [], "nonContractMemberMustBePrivate">;
|
|
214
215
|
readonly "no-log-only-catch": DocumentedRule<readonly [LoggingOptions?], "noLogOnlyCatch" | "emptyCatch">;
|
|
215
216
|
readonly "no-bare-return-from-test-catch": DocumentedRule<readonly [], "bareReturnFromTestCatch">;
|
|
217
|
+
readonly "no-bespoke-api-case-conversion": DocumentedRule<readonly [], "noBespokeApiCaseConversion">;
|
|
216
218
|
readonly "no-long-comment": DocumentedRule<readonly [], "tooLong">;
|
|
217
219
|
readonly "no-vague-suppression-description": DocumentedRule<readonly [], "vagueDescription">;
|
|
218
220
|
readonly "no-generic-single-export-module": DocumentedRule<[], "genericSingleExport">;
|
|
@@ -253,6 +255,7 @@ declare const RULES: {
|
|
|
253
255
|
readonly "prefer-ecmascript-private-members": DocumentedRule<readonly [], "preferEcmascriptPrivate">;
|
|
254
256
|
readonly "prefer-discriminated-union": DocumentedRule<readonly [], "preferDiscriminatedUnion">;
|
|
255
257
|
readonly "prefer-input-group-search": DocumentedRule<readonly [], "preferInputGroup">;
|
|
258
|
+
readonly "prefer-millisecond-control-duration-schema": DocumentedRule<readonly [], "preferMilliseconds">;
|
|
256
259
|
readonly "prefer-immutable-module-constant": DocumentedRule<readonly [], "preferAsConst" | "preferReadonlyCollection">;
|
|
257
260
|
readonly "prefer-shadcn-primitives": DocumentedRule<readonly [RuleOptions$4?], "preferShadcnPrimitive">;
|
|
258
261
|
readonly "prefer-module-level-constant": DocumentedRule<readonly [{
|
|
@@ -309,8 +312,9 @@ declare const RULES: {
|
|
|
309
312
|
/** Rules registered for application-profile configs but intentionally absent from general presets. */
|
|
310
313
|
declare const APPLICATION_ONLY_RULES: readonly ["no-restricted-library-load", "prefer-native-random-uuid", "prefer-shadcn-primitives"];
|
|
311
314
|
/** Rules staged as non-blocking warnings while corpus adoption evidence accumulates. */
|
|
312
|
-
declare const ADVISORY_RULES: readonly ["@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-shared-zod-enum", "@sarj/prefer-switch-for-repeated-equality", "@sarj/require-interface-for-exported-class", "@sarj/require-
|
|
315
|
+
declare const ADVISORY_RULES: readonly ["@sarj/excessive-commentary", "@sarj/no-bespoke-api-case-conversion", "@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/require-interface-for-exported-class", "@sarj/require-sql-access-class", "@sarj/sole-export-matches-filename"];
|
|
313
316
|
declare const RECOMMENDED_RULES: {
|
|
317
|
+
readonly "@sarj/excessive-commentary": "warn";
|
|
314
318
|
readonly "@sarj/interface-contract-members-private": "error";
|
|
315
319
|
readonly "@sarj/iac-source-coupled-test": "error";
|
|
316
320
|
readonly "@sarj/duplicate-test-body": "error";
|
|
@@ -329,6 +333,7 @@ declare const RECOMMENDED_RULES: {
|
|
|
329
333
|
readonly "@sarj/no-impossible-zod-literal-bounds": "error";
|
|
330
334
|
readonly "@sarj/no-log-only-catch": "error";
|
|
331
335
|
readonly "@sarj/no-bare-return-from-test-catch": "error";
|
|
336
|
+
readonly "@sarj/no-bespoke-api-case-conversion": "warn";
|
|
332
337
|
readonly "@sarj/no-dangerously-allow-svg": "error";
|
|
333
338
|
readonly "@sarj/no-duplicate-lifecycle-refresh-listeners": "error";
|
|
334
339
|
readonly "@sarj/no-long-comment": "error";
|
|
@@ -362,6 +367,7 @@ declare const RECOMMENDED_RULES: {
|
|
|
362
367
|
readonly "@sarj/prefer-ecmascript-private-members": "error";
|
|
363
368
|
readonly "@sarj/prefer-discriminated-union": "error";
|
|
364
369
|
readonly "@sarj/prefer-input-group-search": "error";
|
|
370
|
+
readonly "@sarj/prefer-millisecond-control-duration-schema": "warn";
|
|
365
371
|
readonly "@sarj/prefer-immutable-module-constant": "error";
|
|
366
372
|
readonly "@sarj/prefer-module-level-constant": "error";
|
|
367
373
|
readonly "@sarj/prefer-module-level-schema": "error";
|
|
@@ -374,7 +380,7 @@ declare const RECOMMENDED_RULES: {
|
|
|
374
380
|
readonly "@sarj/prefer-node-crypto-hash": "warn";
|
|
375
381
|
readonly "@sarj/prefer-node-fs-promises": "warn";
|
|
376
382
|
readonly "@sarj/prefer-non-nullable-collection": "error";
|
|
377
|
-
readonly "@sarj/prefer-nullish-filter-predicate": "
|
|
383
|
+
readonly "@sarj/prefer-nullish-filter-predicate": "warn";
|
|
378
384
|
readonly "@sarj/prefer-await-in-async-return": "error";
|
|
379
385
|
readonly "@sarj/prefer-schema-for-api-payload": "error";
|
|
380
386
|
readonly "@sarj/prefer-shared-zod-enum": "warn";
|
|
@@ -400,9 +406,10 @@ declare const RECOMMENDED_RULES: {
|
|
|
400
406
|
readonly "@sarj/source-coupled-test": "error";
|
|
401
407
|
readonly "@sarj/sole-export-matches-filename": "warn";
|
|
402
408
|
readonly "@sarj/test-phase-label-comment": "error";
|
|
403
|
-
readonly "@sarj/require-pascal-case-zod-schema-name": "
|
|
409
|
+
readonly "@sarj/require-pascal-case-zod-schema-name": "error";
|
|
404
410
|
};
|
|
405
411
|
declare const STRICT_RULES: {
|
|
412
|
+
readonly "@sarj/excessive-commentary": "warn";
|
|
406
413
|
readonly "@sarj/interface-contract-members-private": "error";
|
|
407
414
|
readonly "@sarj/iac-source-coupled-test": "error";
|
|
408
415
|
readonly "@sarj/duplicate-test-body": "error";
|
|
@@ -422,6 +429,7 @@ declare const STRICT_RULES: {
|
|
|
422
429
|
readonly "@sarj/no-impossible-zod-literal-bounds": "error";
|
|
423
430
|
readonly "@sarj/no-log-only-catch": "error";
|
|
424
431
|
readonly "@sarj/no-bare-return-from-test-catch": "error";
|
|
432
|
+
readonly "@sarj/no-bespoke-api-case-conversion": "warn";
|
|
425
433
|
readonly "@sarj/no-dangerously-allow-svg": "error";
|
|
426
434
|
readonly "@sarj/no-duplicate-lifecycle-refresh-listeners": "error";
|
|
427
435
|
readonly "@sarj/no-long-comment": "error";
|
|
@@ -458,6 +466,7 @@ declare const STRICT_RULES: {
|
|
|
458
466
|
readonly "@sarj/prefer-ecmascript-private-members": "error";
|
|
459
467
|
readonly "@sarj/prefer-discriminated-union": "error";
|
|
460
468
|
readonly "@sarj/prefer-input-group-search": "error";
|
|
469
|
+
readonly "@sarj/prefer-millisecond-control-duration-schema": "warn";
|
|
461
470
|
readonly "@sarj/prefer-immutable-module-constant": "error";
|
|
462
471
|
readonly "@sarj/prefer-module-level-constant": "error";
|
|
463
472
|
readonly "@sarj/prefer-module-level-schema": "error";
|
|
@@ -470,7 +479,7 @@ declare const STRICT_RULES: {
|
|
|
470
479
|
readonly "@sarj/prefer-node-crypto-hash": "warn";
|
|
471
480
|
readonly "@sarj/prefer-node-fs-promises": "warn";
|
|
472
481
|
readonly "@sarj/prefer-non-nullable-collection": "error";
|
|
473
|
-
readonly "@sarj/prefer-nullish-filter-predicate": "
|
|
482
|
+
readonly "@sarj/prefer-nullish-filter-predicate": "warn";
|
|
474
483
|
readonly "@sarj/prefer-await-in-async-return": "error";
|
|
475
484
|
readonly "@sarj/prefer-schema-for-api-payload": "error";
|
|
476
485
|
readonly "@sarj/prefer-shared-zod-enum": "warn";
|
|
@@ -496,7 +505,7 @@ declare const STRICT_RULES: {
|
|
|
496
505
|
readonly "@sarj/source-coupled-test": "error";
|
|
497
506
|
readonly "@sarj/sole-export-matches-filename": "warn";
|
|
498
507
|
readonly "@sarj/test-phase-label-comment": "error";
|
|
499
|
-
readonly "@sarj/require-pascal-case-zod-schema-name": "
|
|
508
|
+
readonly "@sarj/require-pascal-case-zod-schema-name": "error";
|
|
500
509
|
};
|
|
501
510
|
type FlatPreset = {
|
|
502
511
|
readonly name: string;
|
|
@@ -506,9 +515,10 @@ type FlatPreset = {
|
|
|
506
515
|
declare const PLUGIN: {
|
|
507
516
|
readonly meta: {
|
|
508
517
|
readonly name: "@sarj/eslint-plugin";
|
|
509
|
-
readonly version: "15.17.
|
|
518
|
+
readonly version: "15.17.2";
|
|
510
519
|
};
|
|
511
520
|
readonly rules: {
|
|
521
|
+
readonly "excessive-commentary": DocumentedRule<readonly [], "excessive">;
|
|
512
522
|
readonly "iac-source-coupled-test": DocumentedRule<readonly [], "rawSourceOracle">;
|
|
513
523
|
readonly "duplicate-test-body": DocumentedRule<readonly [], "duplicateTestBody">;
|
|
514
524
|
readonly "enforce-file-structure": DocumentedRule<readonly [], "importsFirst" | "useServerDirective">;
|
|
@@ -533,6 +543,7 @@ declare const PLUGIN: {
|
|
|
533
543
|
readonly "interface-contract-members-private": DocumentedRule<readonly [], "nonContractMemberMustBePrivate">;
|
|
534
544
|
readonly "no-log-only-catch": DocumentedRule<readonly [LoggingOptions?], "noLogOnlyCatch" | "emptyCatch">;
|
|
535
545
|
readonly "no-bare-return-from-test-catch": DocumentedRule<readonly [], "bareReturnFromTestCatch">;
|
|
546
|
+
readonly "no-bespoke-api-case-conversion": DocumentedRule<readonly [], "noBespokeApiCaseConversion">;
|
|
536
547
|
readonly "no-long-comment": DocumentedRule<readonly [], "tooLong">;
|
|
537
548
|
readonly "no-vague-suppression-description": DocumentedRule<readonly [], "vagueDescription">;
|
|
538
549
|
readonly "no-generic-single-export-module": DocumentedRule<[], "genericSingleExport">;
|
|
@@ -573,6 +584,7 @@ declare const PLUGIN: {
|
|
|
573
584
|
readonly "prefer-ecmascript-private-members": DocumentedRule<readonly [], "preferEcmascriptPrivate">;
|
|
574
585
|
readonly "prefer-discriminated-union": DocumentedRule<readonly [], "preferDiscriminatedUnion">;
|
|
575
586
|
readonly "prefer-input-group-search": DocumentedRule<readonly [], "preferInputGroup">;
|
|
587
|
+
readonly "prefer-millisecond-control-duration-schema": DocumentedRule<readonly [], "preferMilliseconds">;
|
|
576
588
|
readonly "prefer-immutable-module-constant": DocumentedRule<readonly [], "preferAsConst" | "preferReadonlyCollection">;
|
|
577
589
|
readonly "prefer-shadcn-primitives": DocumentedRule<readonly [RuleOptions$4?], "preferShadcnPrimitive">;
|
|
578
590
|
readonly "prefer-module-level-constant": DocumentedRule<readonly [{
|
package/dist/index.d.ts
CHANGED
|
@@ -189,6 +189,7 @@ declare const RENAMED_RULES: {
|
|
|
189
189
|
};
|
|
190
190
|
|
|
191
191
|
declare const RULES: {
|
|
192
|
+
readonly "excessive-commentary": DocumentedRule<readonly [], "excessive">;
|
|
192
193
|
readonly "iac-source-coupled-test": DocumentedRule<readonly [], "rawSourceOracle">;
|
|
193
194
|
readonly "duplicate-test-body": DocumentedRule<readonly [], "duplicateTestBody">;
|
|
194
195
|
readonly "enforce-file-structure": DocumentedRule<readonly [], "importsFirst" | "useServerDirective">;
|
|
@@ -213,6 +214,7 @@ declare const RULES: {
|
|
|
213
214
|
readonly "interface-contract-members-private": DocumentedRule<readonly [], "nonContractMemberMustBePrivate">;
|
|
214
215
|
readonly "no-log-only-catch": DocumentedRule<readonly [LoggingOptions?], "noLogOnlyCatch" | "emptyCatch">;
|
|
215
216
|
readonly "no-bare-return-from-test-catch": DocumentedRule<readonly [], "bareReturnFromTestCatch">;
|
|
217
|
+
readonly "no-bespoke-api-case-conversion": DocumentedRule<readonly [], "noBespokeApiCaseConversion">;
|
|
216
218
|
readonly "no-long-comment": DocumentedRule<readonly [], "tooLong">;
|
|
217
219
|
readonly "no-vague-suppression-description": DocumentedRule<readonly [], "vagueDescription">;
|
|
218
220
|
readonly "no-generic-single-export-module": DocumentedRule<[], "genericSingleExport">;
|
|
@@ -253,6 +255,7 @@ declare const RULES: {
|
|
|
253
255
|
readonly "prefer-ecmascript-private-members": DocumentedRule<readonly [], "preferEcmascriptPrivate">;
|
|
254
256
|
readonly "prefer-discriminated-union": DocumentedRule<readonly [], "preferDiscriminatedUnion">;
|
|
255
257
|
readonly "prefer-input-group-search": DocumentedRule<readonly [], "preferInputGroup">;
|
|
258
|
+
readonly "prefer-millisecond-control-duration-schema": DocumentedRule<readonly [], "preferMilliseconds">;
|
|
256
259
|
readonly "prefer-immutable-module-constant": DocumentedRule<readonly [], "preferAsConst" | "preferReadonlyCollection">;
|
|
257
260
|
readonly "prefer-shadcn-primitives": DocumentedRule<readonly [RuleOptions$4?], "preferShadcnPrimitive">;
|
|
258
261
|
readonly "prefer-module-level-constant": DocumentedRule<readonly [{
|
|
@@ -309,8 +312,9 @@ declare const RULES: {
|
|
|
309
312
|
/** Rules registered for application-profile configs but intentionally absent from general presets. */
|
|
310
313
|
declare const APPLICATION_ONLY_RULES: readonly ["no-restricted-library-load", "prefer-native-random-uuid", "prefer-shadcn-primitives"];
|
|
311
314
|
/** Rules staged as non-blocking warnings while corpus adoption evidence accumulates. */
|
|
312
|
-
declare const ADVISORY_RULES: readonly ["@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-shared-zod-enum", "@sarj/prefer-switch-for-repeated-equality", "@sarj/require-interface-for-exported-class", "@sarj/require-
|
|
315
|
+
declare const ADVISORY_RULES: readonly ["@sarj/excessive-commentary", "@sarj/no-bespoke-api-case-conversion", "@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/require-interface-for-exported-class", "@sarj/require-sql-access-class", "@sarj/sole-export-matches-filename"];
|
|
313
316
|
declare const RECOMMENDED_RULES: {
|
|
317
|
+
readonly "@sarj/excessive-commentary": "warn";
|
|
314
318
|
readonly "@sarj/interface-contract-members-private": "error";
|
|
315
319
|
readonly "@sarj/iac-source-coupled-test": "error";
|
|
316
320
|
readonly "@sarj/duplicate-test-body": "error";
|
|
@@ -329,6 +333,7 @@ declare const RECOMMENDED_RULES: {
|
|
|
329
333
|
readonly "@sarj/no-impossible-zod-literal-bounds": "error";
|
|
330
334
|
readonly "@sarj/no-log-only-catch": "error";
|
|
331
335
|
readonly "@sarj/no-bare-return-from-test-catch": "error";
|
|
336
|
+
readonly "@sarj/no-bespoke-api-case-conversion": "warn";
|
|
332
337
|
readonly "@sarj/no-dangerously-allow-svg": "error";
|
|
333
338
|
readonly "@sarj/no-duplicate-lifecycle-refresh-listeners": "error";
|
|
334
339
|
readonly "@sarj/no-long-comment": "error";
|
|
@@ -362,6 +367,7 @@ declare const RECOMMENDED_RULES: {
|
|
|
362
367
|
readonly "@sarj/prefer-ecmascript-private-members": "error";
|
|
363
368
|
readonly "@sarj/prefer-discriminated-union": "error";
|
|
364
369
|
readonly "@sarj/prefer-input-group-search": "error";
|
|
370
|
+
readonly "@sarj/prefer-millisecond-control-duration-schema": "warn";
|
|
365
371
|
readonly "@sarj/prefer-immutable-module-constant": "error";
|
|
366
372
|
readonly "@sarj/prefer-module-level-constant": "error";
|
|
367
373
|
readonly "@sarj/prefer-module-level-schema": "error";
|
|
@@ -374,7 +380,7 @@ declare const RECOMMENDED_RULES: {
|
|
|
374
380
|
readonly "@sarj/prefer-node-crypto-hash": "warn";
|
|
375
381
|
readonly "@sarj/prefer-node-fs-promises": "warn";
|
|
376
382
|
readonly "@sarj/prefer-non-nullable-collection": "error";
|
|
377
|
-
readonly "@sarj/prefer-nullish-filter-predicate": "
|
|
383
|
+
readonly "@sarj/prefer-nullish-filter-predicate": "warn";
|
|
378
384
|
readonly "@sarj/prefer-await-in-async-return": "error";
|
|
379
385
|
readonly "@sarj/prefer-schema-for-api-payload": "error";
|
|
380
386
|
readonly "@sarj/prefer-shared-zod-enum": "warn";
|
|
@@ -400,9 +406,10 @@ declare const RECOMMENDED_RULES: {
|
|
|
400
406
|
readonly "@sarj/source-coupled-test": "error";
|
|
401
407
|
readonly "@sarj/sole-export-matches-filename": "warn";
|
|
402
408
|
readonly "@sarj/test-phase-label-comment": "error";
|
|
403
|
-
readonly "@sarj/require-pascal-case-zod-schema-name": "
|
|
409
|
+
readonly "@sarj/require-pascal-case-zod-schema-name": "error";
|
|
404
410
|
};
|
|
405
411
|
declare const STRICT_RULES: {
|
|
412
|
+
readonly "@sarj/excessive-commentary": "warn";
|
|
406
413
|
readonly "@sarj/interface-contract-members-private": "error";
|
|
407
414
|
readonly "@sarj/iac-source-coupled-test": "error";
|
|
408
415
|
readonly "@sarj/duplicate-test-body": "error";
|
|
@@ -422,6 +429,7 @@ declare const STRICT_RULES: {
|
|
|
422
429
|
readonly "@sarj/no-impossible-zod-literal-bounds": "error";
|
|
423
430
|
readonly "@sarj/no-log-only-catch": "error";
|
|
424
431
|
readonly "@sarj/no-bare-return-from-test-catch": "error";
|
|
432
|
+
readonly "@sarj/no-bespoke-api-case-conversion": "warn";
|
|
425
433
|
readonly "@sarj/no-dangerously-allow-svg": "error";
|
|
426
434
|
readonly "@sarj/no-duplicate-lifecycle-refresh-listeners": "error";
|
|
427
435
|
readonly "@sarj/no-long-comment": "error";
|
|
@@ -458,6 +466,7 @@ declare const STRICT_RULES: {
|
|
|
458
466
|
readonly "@sarj/prefer-ecmascript-private-members": "error";
|
|
459
467
|
readonly "@sarj/prefer-discriminated-union": "error";
|
|
460
468
|
readonly "@sarj/prefer-input-group-search": "error";
|
|
469
|
+
readonly "@sarj/prefer-millisecond-control-duration-schema": "warn";
|
|
461
470
|
readonly "@sarj/prefer-immutable-module-constant": "error";
|
|
462
471
|
readonly "@sarj/prefer-module-level-constant": "error";
|
|
463
472
|
readonly "@sarj/prefer-module-level-schema": "error";
|
|
@@ -470,7 +479,7 @@ declare const STRICT_RULES: {
|
|
|
470
479
|
readonly "@sarj/prefer-node-crypto-hash": "warn";
|
|
471
480
|
readonly "@sarj/prefer-node-fs-promises": "warn";
|
|
472
481
|
readonly "@sarj/prefer-non-nullable-collection": "error";
|
|
473
|
-
readonly "@sarj/prefer-nullish-filter-predicate": "
|
|
482
|
+
readonly "@sarj/prefer-nullish-filter-predicate": "warn";
|
|
474
483
|
readonly "@sarj/prefer-await-in-async-return": "error";
|
|
475
484
|
readonly "@sarj/prefer-schema-for-api-payload": "error";
|
|
476
485
|
readonly "@sarj/prefer-shared-zod-enum": "warn";
|
|
@@ -496,7 +505,7 @@ declare const STRICT_RULES: {
|
|
|
496
505
|
readonly "@sarj/source-coupled-test": "error";
|
|
497
506
|
readonly "@sarj/sole-export-matches-filename": "warn";
|
|
498
507
|
readonly "@sarj/test-phase-label-comment": "error";
|
|
499
|
-
readonly "@sarj/require-pascal-case-zod-schema-name": "
|
|
508
|
+
readonly "@sarj/require-pascal-case-zod-schema-name": "error";
|
|
500
509
|
};
|
|
501
510
|
type FlatPreset = {
|
|
502
511
|
readonly name: string;
|
|
@@ -506,9 +515,10 @@ type FlatPreset = {
|
|
|
506
515
|
declare const PLUGIN: {
|
|
507
516
|
readonly meta: {
|
|
508
517
|
readonly name: "@sarj/eslint-plugin";
|
|
509
|
-
readonly version: "15.17.
|
|
518
|
+
readonly version: "15.17.2";
|
|
510
519
|
};
|
|
511
520
|
readonly rules: {
|
|
521
|
+
readonly "excessive-commentary": DocumentedRule<readonly [], "excessive">;
|
|
512
522
|
readonly "iac-source-coupled-test": DocumentedRule<readonly [], "rawSourceOracle">;
|
|
513
523
|
readonly "duplicate-test-body": DocumentedRule<readonly [], "duplicateTestBody">;
|
|
514
524
|
readonly "enforce-file-structure": DocumentedRule<readonly [], "importsFirst" | "useServerDirective">;
|
|
@@ -533,6 +543,7 @@ declare const PLUGIN: {
|
|
|
533
543
|
readonly "interface-contract-members-private": DocumentedRule<readonly [], "nonContractMemberMustBePrivate">;
|
|
534
544
|
readonly "no-log-only-catch": DocumentedRule<readonly [LoggingOptions?], "noLogOnlyCatch" | "emptyCatch">;
|
|
535
545
|
readonly "no-bare-return-from-test-catch": DocumentedRule<readonly [], "bareReturnFromTestCatch">;
|
|
546
|
+
readonly "no-bespoke-api-case-conversion": DocumentedRule<readonly [], "noBespokeApiCaseConversion">;
|
|
536
547
|
readonly "no-long-comment": DocumentedRule<readonly [], "tooLong">;
|
|
537
548
|
readonly "no-vague-suppression-description": DocumentedRule<readonly [], "vagueDescription">;
|
|
538
549
|
readonly "no-generic-single-export-module": DocumentedRule<[], "genericSingleExport">;
|
|
@@ -573,6 +584,7 @@ declare const PLUGIN: {
|
|
|
573
584
|
readonly "prefer-ecmascript-private-members": DocumentedRule<readonly [], "preferEcmascriptPrivate">;
|
|
574
585
|
readonly "prefer-discriminated-union": DocumentedRule<readonly [], "preferDiscriminatedUnion">;
|
|
575
586
|
readonly "prefer-input-group-search": DocumentedRule<readonly [], "preferInputGroup">;
|
|
587
|
+
readonly "prefer-millisecond-control-duration-schema": DocumentedRule<readonly [], "preferMilliseconds">;
|
|
576
588
|
readonly "prefer-immutable-module-constant": DocumentedRule<readonly [], "preferAsConst" | "preferReadonlyCollection">;
|
|
577
589
|
readonly "prefer-shadcn-primitives": DocumentedRule<readonly [RuleOptions$4?], "preferShadcnPrimitive">;
|
|
578
590
|
readonly "prefer-module-level-constant": DocumentedRule<readonly [{
|