version: "2" linters: default: none enable: - asasalint - asciicheck - bidichk - bodyclose - containedctx - contextcheck - decorder - dogsled - dupl - dupword - durationcheck - errcheck - errchkjson - errname - errorlint - exhaustive - ginkgolinter - gocheckcompilerdirectives - gochecknoinits - gochecksumtype - goheader - gomodguard - goprintffuncname - gosmopolitan - govet - forcetypeassert - grouper - importas - ineffassign - loggercheck - makezero - mirror - misspell - noctx - nosprintfhostport - promlinter - reassign - revive - rowserrcheck - sloglint - spancheck - sqlclosecheck - staticcheck - tagalign - tagliatelle - testableexamples - thelper - tparallel - unconvert - unused - usestdlibvars - wastedassign - whitespace - zerologlint exclusions: generated: lax presets: - comments - common-false-positives - legacy - std-error-handling settings: revive: rules: - name: var-naming disabled: true formatters: enable: - gci - gofmt - gofumpt - goimports exclusions: generated: lax