version: "2"
run:
  timeout: 6m
  issues-exit-code: 1
linters:
  default: none
  enable:
    - gocritic
    - govet
    - misspell
    - unconvert
    - unused
  exclusions:
    generated: lax
    presets:
      - comments
      - common-false-positives
      - legacy
      - std-error-handling
    paths:
      - third_party$
      - builtin$
      - examples$
issues:
  new: true
formatters:
  enable:
    - goimports
  exclusions:
    generated: lax
    warn-unused: true
    paths:
      - third_party$
      - builtin$
      - examples$
