Avoid global variables
ProprietaryFind package-level var declarations. Mutable global state makes code harder to test and reason about.
org. openrewrite. golang. codequality. AvoidGlobalVariablemod run . --recipe= org. openrewrite. golang. codequality. AvoidGlobalVariableInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.