1version: "2"2linters:3 enable:4 - nakedret5 - rowserrcheck6 - unconvert7 - unparam8 settings:9 govet:10 disable:11 # printf: non-constant format string in call to fmt.Errorf (govet)12 # showing up since golangci-lint version 1.60.113 - printf14 staticcheck:15 checks:16 - all17 - "-QF1001" # I'm a math noob18 - "-ST1016" # Some legit code uses this pattern19 nakedret:20 max-func-lines: 0 # Disallow any unnamed return statement21 exclusions:22 generated: lax23 presets:24 - comments25 - common-false-positives26 - legacy27 - std-error-handling28 paths:29 - third_party$30 - builtin$31 - examples$32formatters:33 enable:34 - gofmt35 - goimports36 exclusions:37 generated: lax38 paths:39 - third_party$40 - builtin$41 - examples$