Control flow in finally block
Avoid return, throw, break, or continue inside finally blocks.
#Metadata
#Why it matters
Control-flow statements in finally override try/catch completion and can hide errors or skip cleanup intent.
#Remediation
Move return, throw, break, or continue out of the finally block, or restructure the try/finally logic.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.correctness.control-flow-in-finally.rule.yaml.