github.com/cilium/ebpf@v0.10.0/.golangci.yaml (about)

     1  ---
     2  issues:
     3    exclude-rules:
     4      # syscall param structs will have unused fields in Go code.
     5      - path: syscall.*.go
     6        linters:
     7          - structcheck
     8  
     9  linters:
    10    disable-all: true
    11    enable:
    12      - deadcode
    13      - errcheck
    14      - goimports
    15      - gosimple
    16      - govet
    17      - ineffassign
    18      - misspell
    19      - staticcheck
    20      - structcheck
    21      - typecheck
    22      - unused
    23      - varcheck
    24  
    25      # Could be enabled later:
    26      # - gocyclo
    27      # - maligned
    28      # - gosec