Repeated IO call inside loop
Database or network calls inside loops can multiply latency and load.
#Metadata
#Why it matters
Per-item IO in loops often turns one operation into N round trips and is a common performance bottleneck.
#Remediation
Move the IO outside the loop, batch the work, or fetch the required data in one call before iterating.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.performance.repeated-io-in-loop.rule.yaml.