diff --git a/tools/sggolangcilint/golangci.yml b/tools/sggolangcilint/golangci.yml index 20da57c1..db890415 100644 --- a/tools/sggolangcilint/golangci.yml +++ b/tools/sggolangcilint/golangci.yml @@ -18,6 +18,10 @@ linters: # [fast: false, auto-fix: false] - bodyclose + # Copyloopvar is a linter detects places where loop variables are copied. + # [fast: false, auto-fix: false] + - copyloopvar + # Check for two durations multiplied together. # [fast: false, auto-fix: false] - durationcheck @@ -34,10 +38,6 @@ linters: # [fast: false, auto-fix: false] - errorlint - # Check for pointers to enclosing loop variables. - # [fast: false, auto-fix: false] - - exportloopref - # Check package import order and make it always deterministic. # [fast: true, auto-fix: true] - gci