version: "2"

run:
  timeout: 5m
  tests: true

linters:
  default: none
  enable:
    - errcheck
    - govet
    - ineffassign
    - staticcheck
    - unused
    - revive
  settings:
    revive:
      # Intentionally narrow: we skip `exported` (no doc-comment requirement) per
      # the project's no-boilerplate-comment policy. Re-enable if the public API
      # surface grows to the point where documentation lives alongside it.
      rules:
        - name: var-naming
        - name: unused-parameter
        - name: early-return

formatters:
  enable:
    - gofmt
    - goimports
