Detect async callbacks in synchronous array methods

MSAL

Detects async callbacks passed to array methods like .some(), .every(), .filter() which don't await promises. This is a common bug where Promise objects are always truthy.

org.openrewrite.javascript.cleanup.async-callback-in-sync-array-method
mod run . --recipe=org.openrewrite.javascript.cleanup.async-callback-in-sync-array-method

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.