1linters-settings: 2 golint: 3 min-confidence: 0 4 5 misspell: 6 locale: US 7 8linters: 9 disable-all: true 10 enable: 11 - typecheck 12 - goimports 13 - misspell 14 - govet 15 - revive 16 - ineffassign 17 - gosimple 18 - deadcode 19 - structcheck 20 - gomodguard 21 - gofmt 22 - unused 23 - structcheck 24 - varcheck 25 26issues: 27 exclude-use-default: false 28 exclude: 29 - instead of using struct literal 30 - should have a package comment 31 - error strings should not be capitalized or end with punctuation or a newline 32 33service: 34 golangci-lint-version: 1.20.0 # use the fixed version to not introduce new linters unexpectedly 35