run: timeout: 5m modules-download-mode: readonly linters: enable: - gofmt - govet - errcheck - gosimple - staticcheck - unused - gocyclo - golint - ineffassign - misspell - unconvert - nakedret - prealloc - gocritic linters-settings: gocyclo: min-complexity: 15 golint: min-confidence: 0.8 gofmt: simplify: true issues: exclude-use-default: false exclude: - "Error return value of .((os\\.)?std(out|err)\\..*|.*Close|.*Flush|os\\.Remove(All)?|.*print(f|ln)?|os\\.(Un)?Setenv). is not checked" - "should have a package comment" - "should have a comment" - "comment on exported method" - "don't use ALL_CAPS in Go names; use CamelCase" output: format: colored-line-number print-issued-lines: true print-linter-name: true