No Misused Promises
Do not pass async callbacks where sync is expected
#Metadata
#Why it matters
Do not pass async callbacks where sync is expected:array iteration methods expect synchronous predicates and should not receive async callbacks.
#Remediation
Do not pass async callbacks where sync is expected:array iteration methods expect synchronous predicates and should not receive async callbacks.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.correctness.no-misused-promises.rule.yaml.