github.com/kerryoscer/gqlgen@v0.17.29/.golangci.yml (about)

     1  run:
     2    tests: true
     3    skip-dirs:
     4      - bin
     5  
     6  linters-settings:
     7    errcheck:
     8      ignore: fmt:.*,[rR]ead|[wW]rite|[cC]lose,io:Copy
     9  
    10  linters:
    11    disable-all: true
    12    enable:
    13      - bodyclose
    14      - deadcode
    15      - depguard
    16      - dupl
    17      - errcheck
    18      - gocritic
    19      - gofmt
    20      - goimports
    21      - gosimple
    22      - govet
    23      - ineffassign
    24      - misspell
    25      - nakedret
    26      - prealloc
    27      - staticcheck
    28      - structcheck
    29      - typecheck
    30      - unconvert
    31      - unused
    32      - varcheck
    33  
    34  issues:
    35    exclude-rules:
    36      # Exclude some linters from running on tests files.
    37      - path: _test\.go
    38        linters:
    39          - dupl