linters-settings: govet: check-shadowing: true golint: min-confidence: 0 gocyclo: min-complexity: 10 maligned: suggest-new: true dupl: threshold: 100 goconst: min-len: 2 min-occurrences: 4 nolintlint: allow-leading-space: true # don't require machine-readable nolint directives (i.e. with no leading space) allow-unused: false # report any unused nolint directives require-explanation: false # don't require an explanation for nolint directives require-specific: false # don't require nolint directives to be specific about which linter is being skipped linters: disable-all: true enable: - asciicheck - bodyclose - deadcode - depguard - dogsled - dupl - errcheck - exhaustive - exportloopref # - funlen - gci # - gochecknoglobals - gochecknoinits - gocognit - goconst - gocritic - gocyclo # - godox - gofmt - gofumpt - goheader - goimports - golint - gomnd - gomodguard - goprintffuncname - gosec - gosimple - govet - ineffassign - interfacer - maligned - misspell - nakedret - nestif - nlreturn - noctx - nolintlint - prealloc - rowserrcheck - scopelint - sqlclosecheck - staticcheck - structcheck - stylecheck - typecheck - unconvert - unparam - unused - varcheck - whitespace # - wsl