Audit context.Background

Proprietary

Find calls to context.Background(). Consider using a context passed from the caller instead.

org.openrewrite.golang.codequality.AuditContextBackground
mod run . --recipe=org.openrewrite.golang.codequality.AuditContextBackground

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