Find await foreach without CancellationToken

Proprietary

Detect await foreach loops that don't pass a CancellationToken via WithCancellation() when one is available in the enclosing method.

OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindFlowCancellationTokenInAwaitForEach
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindFlowCancellationTokenInAwaitForEach

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