run: timeout: 5m modules-download-mode: readonly output: format: colored-line-number print-issued-lines: true print-linter-name: true uniq-by-line: true linters-settings: govet: check-shadowing: true golint: min-confidence: 0.8 gocyclo: min-complexity: 15 maligned: suggest-new: true dupl: threshold: 100 goconst: min-len: 2 min-occurrences: 2 misspell: locale: US lll: line-length: 140 goimports: local-prefixes: git.dws.rip/DWS/onyx gocritic: enabled-tags: - diagnostic - experimental - opinionated - performance - style disabled-checks: - dupImport - ifElseChain - octalLiteral - whyNoLint - wrapperFunc linters: enable: - bodyclose - deadcode - depguard - dogsled - dupl - errcheck - exportloopref - exhaustive - gochecknoinits - goconst - gocritic - gocyclo - gofmt - goimports - golint - gomnd - goprintffuncname - gosec - gosimple - govet - ineffassign - interfacer - lll - misspell - nakedret - noctx - nolintlint - rowserrcheck - scopelint - staticcheck - structcheck - stylecheck - typecheck - unconvert - unparam - unused - varcheck - whitespace issues: exclude-rules: - path: _test\.go linters: - gomnd - funlen - goconst - path: cmd/ linters: - gochecknoinits exclude-use-default: false max-issues-per-linter: 0 max-same-issues: 0 severity: default-severity: error case-sensitive: false