# golangci-lint configuration
# See https://golangci-lint.run/usage/configuration/

version: "2"

run:
  timeout: 5m
  tests: true
  modules-download-mode: readonly

linters:
  enable:
    - errcheck
    - govet
    - staticcheck
    - gosec
  disable:
    - gocritic  # Can be enabled later for stricter checks

issues:
  max-issues-per-linter: 0
  max-same-issues: 0
  # Note: exclusion rules moved in v2 config; keep minimal allowed keys

