linters: disable-all: true enable: # Enabled by default - deadcode - errcheck - gosimple - govet - ineffassign - staticcheck - structcheck - typecheck - unused - varcheck # Additional checks - bodyclose - contextcheck - durationcheck - errname - exhaustive - exportloopref - gofmt - nilerr - nolintlint - predeclared - rowserrcheck - unconvert - wastedassign issues: # Don't hide potential important issues exclude-use-default: false linters-settings: exhaustive: # "default" is good enough to be exhaustive default-signifies-exhaustive: true