...

Text file src/github.com/cilium/ebpf/.golangci.yaml

Documentation: github.com/cilium/ebpf

     1---
     2issues:
     3  exclude-rules:
     4    # syscall param structs will have unused fields in Go code.
     5    - path: syscall.*.go
     6      linters:
     7        - structcheck
     8
     9linters:
    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

View as plain text