github.com/niko0xdev/gqlgen@v0.17.55-0.20240120102243-2ecff98c3e37/.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      - dupl
    15      - errcheck
    16      - gocritic
    17      - gofmt
    18      - goimports
    19      - gosimple
    20      - govet
    21      - ineffassign
    22      - misspell
    23      - nakedret
    24      - prealloc
    25      - staticcheck
    26      - typecheck
    27      - unconvert
    28      - unused
    29  
    30  issues:
    31    exclude-rules:
    32      # Exclude some linters from running on tests files.
    33      - path: _test\.go
    34        linters:
    35          - dupl