diff --git a/.golangci.yaml b/.golangci.yaml index bc922b9c3..99603863a 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -3,6 +3,7 @@ linters: # inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint disable-all: true enable: + - asciicheck - bodyclose - deadcode - depguard @@ -17,17 +18,16 @@ linters: - gofmt - goimports - golint - - gomnd - goprintffuncname - gosec - gosimple - govet - ineffassign - - interfacer - - lll + - maligned - misspell - nakedret - nolintlint + - prealloc - rowserrcheck - scopelint - staticcheck @@ -39,17 +39,16 @@ linters: - unused - varcheck - whitespace - - prealloc - - asciicheck # do not enable... -# - gochecknoinits # - gochecknoglobals +# - gochecknoinits # this is too aggressive # - godot # - godox # - goerr113 -# - maligned +# - gomnd # this is too aggressive +# - interfacer # this is a good idea, but is no longer supported and is prone to false positives +# - lll # without a way to specify per-line exception cases, this is not usable # - nestif # - testpackage -# - wsl - +# - wsl \ No newline at end of file