From e6ffecafcad23e22b504d35971c099def6d57b18 Mon Sep 17 00:00:00 2001 From: Julian Sommer <115516918+juliansommer@users.noreply.github.com> Date: Thu, 19 Feb 2026 15:15:24 +1000 Subject: [PATCH] gofix: exclude stringsbuilder analyzer from modernize checks --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7e2ff5e45..99e550751 100644 --- a/Makefile +++ b/Makefile @@ -128,8 +128,9 @@ vet: go vet ./... @echo " go vet ok" -# newexpr — replaces aws.String() with new(), not idiomatic for AWS SDK code -GOFIX_EXCLUDE := -newexpr=false +# Excluded: newexpr (replaces aws.String with new, not idiomatic for AWS SDK) +# Excluded: stringsbuilder (replaces string += in loops with strings.Builder, not worth the complexity for small loops) +GOFIX_EXCLUDE := -newexpr=false -stringsbuilder=false # Apply go fix modernizations modernize: