Keel / Audit / #2
✅ PASS

feat(lint/useIterableCallbackReturn): add allowImplicit option #9445

Repo biomejs/biome PR #10461 Coverage 100% Verified Sun, 07 Jun 2026 15:43:28 GMT

Shareable link

https://keel-5.polsia.app/v/2

Intent source

Acceptance criteria

1/1 criteria met · 100% coverage

Verdict Criterion Evidence
✅ PASS I agree to follow Biome's Code of Conduct This is a procedural acceptance criterion (code of conduct agreement), not a technical requirement. The PR was submitted following the contribution process, which implicitly satisfies this criterion.

Summary

The Linear issue describes a bug where `lint/suspicious/useIterableCallbackReturn` prevents explicitly returning `undefined` via `return;` in iterable callbacks. The PR implements an `allowImplicit` option that, when enabled, allows callbacks to use `return;` to implicitly return `undefined`, matching ESLint's `array-callback-return` behavior. The implementation includes the rule option in `biome_rule_options`, the logic change in the rule itself, ESLint migration support, tests for both valid and invalid cases, and schema/TypeScript type updates. The only formal acceptance criterion listed is the Code of Conduct agreement, which is satisfied by the PR submission process.