diff --git a/.golangci.yml b/.golangci.yml index 8b4661a5..7c733e04 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -43,6 +43,7 @@ linters: - bidichk - bodyclose - contextcheck + - copyloopvar # - cyclop # This is equivalent to gocyclo # - depguard # depguard now denies by default, it should only be enabled if we actually use it - dogsled @@ -54,7 +55,6 @@ linters: - errorlint - exhaustive # - exhaustivestruct # Not recommended for general use - meant to be used only for special cases - - exportloopref # - forbidigo # We don't forbid any statements # - forcetypeassert # There are many unchecked type assertions that would be the result of a programming error so the # reasonable recourse would be to panic anyway if checked so this doesn't seem useful