correctness.control-flow

Unreachable code after return or throw

Statements after terminal exits should be removed or moved before the exit.

#Metadata

#Why it matters

Dead statements obscure intent and often indicate a refactor that left stale logic behind.

#Remediation

Delete the dead statement or move it before the return or throw.

#Repository path

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