version: "2" run: timeout: 5m tests: true skip-dirs: - bin - vendor linters: enable: - errcheck - govet - ineffassign - staticcheck - unused - misspell - gocyclo settings: errcheck: check-type-assertions: true check-blank: true gocyclo: min-complexity: 20 govet: enable: - shadow misspell: locale: US formatters: enable: - gofmt - goimports issues: exclude-use-default: false max-issues-per-linter: 0 max-same-issues: 0 exclude-rules: - path: _test\.go linters: - errcheck - path: (params|validator)/.*\.go text: "cyclomatic complexity .* of func .* is high" linters: - gocyclo output: formats: text: path: stdout print-issued-lines: true