diff --git a/.golangci.yml b/.golangci.yml index d40bdedc397..7a5fdc07abf 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -4,11 +4,26 @@ run: tests: true #Default linters: + # Disable everything by default so upgrades to not include new "default + # enabled" linters. + disable-all: true + # Specifically enable linters we want to use. enable: - - misspell + - deadcode + - errcheck + - gofmt - goimports + - gosimple + - govet + - ineffassign + - misspell - revive - - gofmt + - staticcheck + - structcheck + - typecheck + - unused + - varcheck + issues: exclude-rules: