github.com/minio/mc@v0.0.0-20240507152021-646712d5e5fb/.golangci.yml (about) 1 linters: 2 disable-all: true 3 enable: 4 - typecheck 5 - goimports 6 - misspell 7 - govet 8 - revive 9 - ineffassign 10 - gomodguard 11 - gofmt 12 - unused 13 - gofumpt 14 15 linters-settings: 16 golint: 17 min-confidence: 0 18 19 misspell: 20 locale: US 21 22 gofumpt: 23 lang-version: "1.17" 24 25 # Choose whether or not to use the extra rules that are disabled 26 # by default 27 extra-rules: false 28 29 issues: 30 exclude-use-default: false 31 exclude: 32 - instead of using struct literal 33 - should have a package comment 34 - error strings should not be capitalized or end with punctuation or a newline 35 36 service: 37 golangci-lint-version: 1.43.0 # use the fixed version to not introduce new linters unexpectedly