github.com/huner2/gomarkdoc@v0.3.6/.golangci.yml (about) 1 linters: 2 enable: 3 - bodyclose 4 - gochecknoinits 5 - gocritic 6 - gocyclo 7 - goimports 8 - govet 9 - lll 10 - misspell 11 - revive 12 - unconvert 13 14 linters-settings: 15 gocyclo: 16 min-complexity: 15 17 lll: 18 tab-width: 4 19 nakedret: 20 max-func-lines: 10 21 revive: 22 min-confidence: 0.5 23 24 issues: 25 exclude-rules: 26 # Exclude assertion lines in tests from line length 27 - path: "_test\\.go" 28 linters: 29 - lll 30 source: "^\\s*is." 31 32 # Exclude documentation files from line length 33 - path: "doc\\.go" 34 linters: 35 - lll 36 37 exclude: 38 # errcheck: Almost all programs ignore errors on these functions and in most cases it's ok 39 - Error return value of .((os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*printf?|os\.(Un)?Setenv). is not checked 40 41 exclude-use-default: false