linters-settings: govet: check-shadowing: true enable-all: true golint: min-confidence: 0 gocyclo: min-complexity: 10 dupl: threshold: 100 goconst: min-len: 2 min-occurrences: 4 ignore-tests: true nolintlint: 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 - dogsled - dupl - errcheck - exhaustive - exportloopref # - funlen # - gci # - gochecknoglobals - gochecknoinits - gocognit - goconst - gocritic - gocyclo # - godox - gofmt - gofumpt - goheader - goimports # - gomnd - gomodguard - goprintffuncname - gosec - gosimple - govet - ineffassign - misspell - nakedret - nestif - nlreturn - noctx - nolintlint - prealloc - revive - rowserrcheck - sqlclosecheck - staticcheck - stylecheck - typecheck - unconvert - unparam - unused - whitespace # - wsl