correctness.control-flow

Missing default case in switch or conditional dispatch

Dispatch constructs should include an explicit default or final else path.

#Metadata

#Why it matters

Default handling makes control-flow intent explicit and avoids silent fallthrough for unhandled values.

#Remediation

Handle the fallback branch explicitly so unexpected values do not rely on implicit behavior.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.correctness.missing-default-dispatch.rule.yaml.