github.com/newrelic/newrelic-client-go@v1.1.0/.golangci.yml (about) 1 # options for analysis running 2 run: 3 # timeout for analysis, e.g. 30s, 5m, default is 1m 4 deadline: 5m 5 6 # exit code when at least one issue was found, default is 1 7 issues-exit-code: 1 8 9 # include test files or not, default is true 10 tests: true 11 12 # all available settings of specific linters 13 linters-settings: 14 govet: 15 # report about shadowed variables 16 check-shadowing: true 17 enable: 18 - assign 19 - bools 20 - framepointer 21 - stringintconv 22 - structtag 23 golint: 24 # minimal confidence for issues, default is 0.8 25 min-confidence: 0.5 26 gocyclo: 27 # minimal code complexity to report, 30 by default (but we recommend 10-20) 28 min-complexity: 20 29 depguard: 30 list-type: blacklist 31 include-go-root: false 32 packages: 33 - github.com/davecgh/go-spew/spew 34 misspell: 35 ignore-words: 36 - newrelic 37 lll: 38 # max line length, lines longer will be reported. Default is 120. 39 # '\t' is counted as 1 character by default, and can be changed with the tab-width option 40 line-length: 150 41 42 linters: 43 disable-all: true 44 enable: 45 - deadcode 46 - errcheck 47 - gocyclo 48 - gofmt 49 - revive 50 - gosimple 51 - govet 52 - ineffassign 53 - misspell 54 - staticcheck 55 - structcheck 56 - unconvert 57 - unused 58 - varcheck 59 - vet 60 61 issues: 62 # disable limits on issue reporting 63 max-per-linter: 0 64 max-same-issues: 0