github.com/google/go-github/v50@v50.2.0/.golangci.yml (about)

     1  linters:
     2    # TODO: fix errors so that all of the linters below pass.
     3    # The linters that are commented out, as well as those explicitly disabled,
     4    # are currently failing.  We should fix those failures or define exclusion
     5    # rules, and then enable those linters.
     6    enable:
     7      - dogsled
     8      - dupl
     9      - gofmt
    10      - goimports
    11    # - gosec
    12      - misspell
    13      - nakedret
    14      - stylecheck
    15    # - unconvert
    16    # - unparam
    17      - whitespace
    18    disable:
    19      - errcheck
    20      - gosimple
    21      - staticcheck
    22      - ineffassign
    23      - unused
    24  issues:
    25    exclude:
    26      - composites
    27    exclude-rules:
    28    - linters:
    29      - dogsled
    30      text:  "declaration has 3 blank identifiers"
    31      path: _test\.go
    32    - linters:
    33      - dupl
    34      path: _test\.go