diff --git a/.golangci.yml b/.golangci.yml index fc72419b7b00f..4ba22caa945ba 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -6,9 +6,26 @@ linters: enable: - gofmt - golint + - depguard + - misspell + - nakedret + # TODO: enable more linters! + # - dupl + # - gochecknoglobals + # - gochecknoinits + # - goconst # TODO + # - gocyclo + # - goimports + # - gosec + # - interfacer + # - lll + # - maligned + # - prealloc + # - scopelint + # - stylecheck + # - unconvert + # - unparam disable: - - deadcode - errcheck - staticcheck - structcheck - - varcheck