version: "2"

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

linters-settings:
  revive:
    rules:
      - name: exported
      - name: var-naming

issues:
  exclude-rules:
    # tools.go is build-tag-only, ignore unused import warnings
    - path: tools\.go
      linters:
        - revive
