linters:
  enable:
    - gofmt
    - revive
    - govet
    - errcheck
    - staticcheck
  disable:
    - golint

run:
  deadline: 5m

issues:
  exclude-use-default: false

# Cache configuration
cache:
  dir: .cache/golangci-lint

# Enable all available Go versions for the current module
service:
  golangci-lint-version: "latest"
  prepare:
    - go mod download 