github.com/fortexxx/gqlgen@v0.10.3-0.20191216030626-ca5ea8b21ead/.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      - gosec
    22      - gosimple
    23      - govet
    24      - ineffassign
    25      - interfacer
    26      - misspell
    27      - nakedret
    28      - prealloc
    29      - staticcheck
    30      - structcheck
    31      - stylecheck
    32      - unconvert
    33      - unused
    34      - varcheck
    35  
    36  issues:
    37    exclude-rules:
    38      # Exclude some linters from running on tests files.
    39      - path: _test\.go
    40        linters:
    41          - dupl