diff --git a/.golangci.yaml b/.golangci.yaml index 8838350c20..bfd9f863bb 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -67,6 +67,10 @@ linters-settings: exhaustruct: include: [] + gosec: + excludes: + - G115 #TODO: remove after fixing https://github.com/securego/gosec/issues/1212 + linters: disable-all: true enable: @@ -75,7 +79,7 @@ linters: - dogsled - dupl - errcheck - - exportloopref + - copyloopvar - funlen - gochecknoinits - goconst @@ -108,14 +112,12 @@ linters: # don't enable: # - asciicheck - # - scopelint # - gochecknoglobals # - gocognit # - godot # - godox - # - goerr113 + # - err113 # - interfacer - # - maligned # - nestif # - prealloc # - testpackage