diff --git a/.golangci.yml b/.golangci.yml index 909331f933..eff68a1e13 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,24 +1,23 @@ issues: max-same-issues: 0 max-issues-per-linter: 0 - -enable: - - bodyclose - - deadcode - - errcheck - - goconst - - gocritic - - gocyclo - - gofmt - - goimports - - golint - - gomnd - - goprintffuncname - - gosec - - gosimple - - govet - - ineffassign - - interfacer - - lll - - misspell - - nakedret +linters: + presets: + - bugs + - error + - format + - performance + - unused + enable: + - goconst + - gocritic + - gocyclo + - gofmt + - gomnd + - goprintffuncname + - gosimple + - lll + - misspell + - nakedret + - promlinter + - revive