linters-settings:
  gocyclo:
    min-complexity: 25
  govet:
    check-shadowing: false
  misspell:
    locale: "US"

linters:
  enable-all: true
  disable:
    - stylecheck
    - gosec
    - dupl
    - maligned
    - depguard
    - lll
    - prealloc
    - scopelint
    - gocritic
    - gochecknoinits
    - gochecknoglobals
    - gomnd
    - wsl
    - goerr113
    - godot

issues:
  exclude-use-default: true
  max-per-linter: 0
  max-same-issues: 0
  # The following excludes are considered false-positives/known-OK.
  exclude-rules:
    - path: tlsalpnone.go
      text: '`marshalling` is a misspelling of `marshaling`'
