---
run:
  build-tags:
    - apparmor
    - seccomp
    - selinux
  # Don't exceed number of threads available when running under CI
  concurrency: 4
linters:
  disable-all: true
  enable:
    - bodyclose
    - deadcode
    - depguard
    - dupl
    - errcheck
    - gofmt
    - goimports
    - golint
    # Broken? Unpredictably dies w/o any error well before deadline/timeout expires
    # - gosimple
    - govet
    - ineffassign
    - interfacer
    - misspell
    - nakedret
    - staticcheck
    - structcheck
    - stylecheck
    - typecheck
    - unconvert
    - unparam
    - unused
    - varcheck
    # - gochecknoglobals
    # - gochecknoinits
    # - goconst
    # - gocritic
    # - gocyclo
    # - gosec
    # - lll
    # - maligned
    # - prealloc
    # - scopelint

---
run:
  build-tags:
    - apparmor
    - seccomp
    - selinux
  # Don't exceed number of threads available when running under CI
  concurrency: 4
linters:
  enable-all: true
  disable:
    # All these break for one reason or another
    - deadcode
    - depguard
    - dupl
    - errcheck
    - gochecknoglobals
    - gochecknoinits
    - goconst
    - gocritic
    - gocyclo
    - golint
    - gosec
    - gosimple
    - lll
    - maligned
    - prealloc
    - scopelint
    - structcheck
    - typecheck
    - unconvert
    - varcheck

Use same linters as podman
Lint: Use same linters as podman

Signed-off-by: Chris Evich <352d8596d782a469eafa66a46434e15a449859ce@redhat.com>
