[run] deadline = "5m" skip-files = [ "^old/.*", "^acme/.*", "^cluster/.*", "^cmd/convert/.*", "^h2c/.*", "^integration/.*", # "^cmd/traefik/.*", # "^anonymize/.*", # "^provider/.*", # "^tracing/.*", # "^safe/.*", # "^h2c/.*", # "^healthcheck/.*", # "^middlewares/.*", # "^server/.*", ] [linters-settings] [linters-settings.govet] check-shadowing = true [linters-settings.golint] min-confidence = 0.0 [linters-settings.gocyclo] min-complexity = 22.0 [linters-settings.maligned] suggest-new = true [linters-settings.goconst] min-len = 3.0 min-occurrences = 4.0 [linters-settings.misspell] locale = "US" [linters] enable-all = true disable = [ "maligned", "lll", "gas", "dupl", "prealloc", "gochecknoinits", "gochecknoglobals", "unparam", "scopelint", "goimports", ] [issues] max-per-linter = 0 max-same = 0 exclude = [ "field `(foo|fuu)` is unused", "(.+) is deprecated:", "cyclomatic complexity (\\d+) of func `\\(\\*Builder\\)\\.buildConstructor` is high", #alt/server/middleware/middlewares.go "`logger` can be `github.com/containous/traefik/vendor/github.com/stretchr/testify/assert.TestingT`", # alt/middlewares/recovery/recovery.go: "`fn` can be `net/http.Handler`", # alt/server/alice/chain.go ]