diff --git a/.golangci.yml b/.golangci.yml index 2f2c3af42..df634944a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -3,6 +3,8 @@ run: tests: false skip-files: - "testing.go" + - ".*\\.pb\\.go" + - ".*\\.gen\\.go" linters-settings: golint: @@ -18,17 +20,36 @@ linters-settings: linters: disable-all: true enable: - - goconst - - misspell + - bodyclose - deadcode - - misspell - - structcheck + - depguard + - dogsled + - dupl - errcheck - - unused - - varcheck - - staticcheck - - unconvert + - funlen + - gochecknoinits + #- gocognit + - goconst + - gocritic + - gocyclo - gofmt - goimports - golint + - gosimple + - govet - ineffassign + - interfacer + - maligned + - misspell + - nakedret + - prealloc + - scopelint + - staticcheck + - structcheck + #- stylecheck + - typecheck + - unconvert + - unparam + - unused + - varcheck + - whitespace