github.com/google/go-github/v49@v49.1.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-rules:
    26    - linters:
    27      - dogsled
    28      text:  "declaration has 3 blank identifiers"
    29      path: _test\.go
    30    - linters:
    31      - dupl
    32      path: _test\.go