github.com/mackerelio/mackerel-agent-plugins@v0.89.3/.golangci.yml (about)

     1  version: "2"
     2  linters:
     3    exclusions:
     4      generated: lax
     5      presets:
     6        - comments
     7        - common-false-positives
     8        - legacy
     9        - std-error-handling
    10      rules:
    11        - linters:
    12            - errcheck
    13            - ineffassign
    14            - staticcheck
    15          path: _test\.go
    16      paths:
    17        - third_party$
    18        - builtin$
    19        - examples$
    20  formatters:
    21    enable:
    22      - gofmt
    23    exclusions:
    24      generated: lax
    25      paths:
    26        - third_party$
    27        - builtin$
    28        - examples$