correctness.logic

Always-true or always-false condition

Flow-control conditions should not resolve to a constant boolean value.

#Metadata

#Why it matters

Constant conditions hide dead branches and usually signal leftover debug code or a mistaken comparison.

#Remediation

Replace the constant predicate with a real runtime check or remove the dead branch.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.correctness.constant-condition.rule.yaml.