github.com/minio/madmin-go/v2@v2.2.1/.golangci.yml (about) 1 linters-settings: 2 golint: 3 min-confidence: 0 4 5 misspell: 6 locale: US 7 8 gofumpt: 9 lang-version: "1.18" 10 11 # Choose whether or not to use the extra rules that are disabled 12 # by default 13 extra-rules: false 14 15 linters: 16 disable-all: true 17 enable: 18 - typecheck 19 - goimports 20 - misspell 21 - govet 22 - revive 23 - ineffassign 24 - gosimple 25 - unused 26 - prealloc 27 - unconvert 28 - gofumpt 29 30 issues: 31 exclude-use-default: false 32 exclude: 33 - should have comment 34 - should have a package comment 35 - error strings should not be capitalized or end with punctuation or a newline 36 - don't use ALL_CAPS in Go names 37 38 service: 39 golangci-lint-version: 1.45.2 # use the fixed version to not introduce new linters unexpectedly