git.sr.ht/~sircmpwn/gqlgen@v0.0.0-20200522192042-c84d29a1c940/.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 - unconvert 32 - unused 33 - varcheck 34 35 issues: 36 exclude-rules: 37 # Exclude some linters from running on tests files. 38 - path: _test\.go 39 linters: 40 - dupl