version: "2"

run:
  timeout: 2m
  tests: false  # Exclude test files (_test.go) to match main config

linters:
  enable:
    - staticcheck  # Primary focus - catches subtle bugs
    - govet        # Essential Go checks
    - errcheck     # Unchecked errors
    - ineffassign  # Ineffectual assignments
    - unused       # Unused code detection

linters-settings:
  # Inherit settings from main .golangci.yml where applicable
  govet:
    enable:
      - shadow
  errcheck:
    exclude-functions:
      - (io.Closer).Close
      - (*os.File).Close
      - (net/http.ResponseWriter).Write

issues:
  exclude-generated-strict: true
