@sarj/eslint-plugin 18.2.1 → 18.3.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
@@ -128,6 +128,7 @@ interface RetiredRule {
128
128
  declare const RETIRED_RULES: Readonly<Record<string, RetiredRule>>;
129
129
 
130
130
  declare const RULES: {
131
+ readonly "no-explicit-type-predicate": DocumentedRule<readonly [], "noExplicitTypePredicate">;
131
132
  readonly "prefer-zod-enum-validator": DocumentedRule<[], "useEnumSchema">;
132
133
  readonly "no-growing-array-spread-in-loop": DocumentedRule<[], "copy">;
133
134
  readonly "no-logical-or-fallback": DocumentedRule<[], "logicalOrFallback">;
@@ -358,6 +359,7 @@ declare const RULE_POLICY: {
358
359
  readonly "@sarj/no-invalid-typed-mutation": readonly ["error", "both"];
359
360
  readonly "@sarj/no-contradictory-type-predicate": readonly ["error", "both"];
360
361
  readonly "@sarj/no-partial-type-predicate": readonly ["error", "both"];
362
+ readonly "@sarj/no-explicit-type-predicate": readonly ["warn", "both"];
361
363
  readonly "@sarj/no-boolean-selector-parameter": readonly ["warn", "both"];
362
364
  readonly "@sarj/no-invalid-zod-custom-parse": readonly ["error", "both"];
363
365
  readonly "@sarj/no-contradictory-overload-return": readonly ["error", "both"];
package/dist/index.d.ts CHANGED
@@ -128,6 +128,7 @@ interface RetiredRule {
128
128
  declare const RETIRED_RULES: Readonly<Record<string, RetiredRule>>;
129
129
 
130
130
  declare const RULES: {
131
+ readonly "no-explicit-type-predicate": DocumentedRule<readonly [], "noExplicitTypePredicate">;
131
132
  readonly "prefer-zod-enum-validator": DocumentedRule<[], "useEnumSchema">;
132
133
  readonly "no-growing-array-spread-in-loop": DocumentedRule<[], "copy">;
133
134
  readonly "no-logical-or-fallback": DocumentedRule<[], "logicalOrFallback">;
@@ -358,6 +359,7 @@ declare const RULE_POLICY: {
358
359
  readonly "@sarj/no-invalid-typed-mutation": readonly ["error", "both"];
359
360
  readonly "@sarj/no-contradictory-type-predicate": readonly ["error", "both"];
360
361
  readonly "@sarj/no-partial-type-predicate": readonly ["error", "both"];
362
+ readonly "@sarj/no-explicit-type-predicate": readonly ["warn", "both"];
361
363
  readonly "@sarj/no-boolean-selector-parameter": readonly ["warn", "both"];
362
364
  readonly "@sarj/no-invalid-zod-custom-parse": readonly ["error", "both"];
363
365
  readonly "@sarj/no-contradictory-overload-return": readonly ["error", "both"];