Find unobserved async call result

Proprietary

Detect calls to async methods where the returned Task is not awaited, assigned, or otherwise observed. Unobserved tasks may silently swallow exceptions.

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

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