github.com/grafana/synthetic-monitoring-agent@v0.64.2/internal/rules/rules.go (about) 1 //go:build ruleguard 2 3 package gorules 4 5 import "github.com/quasilyte/go-ruleguard/dsl" 6 7 func noContextTODO(m dsl.Matcher) { 8 m.Match(`context.TODO()`).Report(`should use another context if possible, not context.TODO()`) 9 }