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

linters-settings:
  revive:
    rules:
      - name: package-comments
        severity: warning
        disabled: false
      - name: unused-parameter
        severity: warning
        disabled: false

run:
  timeout: 5m
  skip-dirs:
    - vendor/
    - third_party/

issues:
  exclude-use-default: false
  max-issues-per-linter: 0
  max-same-issues: 0

# 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 