Array callback missing return
Array iteration callbacks with block bodies should return a value when required.
#Metadata
#Why it matters
map, filter, reduce, every, and some expect callback return values; missing returns yield undefined elements or incorrect predicates.
#Remediation
Return the computed value from the callback, or switch to forEach when side effects are intended.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.correctness.array-callback-missing-return.rule.yaml.