version: "2" run: tests: true timeout: 5m linters: default: none enable: - asasalint - asciicheck - bidichk - bodyclose - contextcheck - copyloopvar - durationcheck - errcheck - errchkjson - errorlint - exhaustive - gocheckcompilerdirectives - gochecksumtype - gocognit - gocritic - gosec - gosmopolitan - govet - ineffassign - loggercheck - makezero - musttag - nilerr - nilnesserr - noctx - protogetter - reassign - recvcheck - rowserrcheck - spancheck - sqlclosecheck - staticcheck - testifylint - unused - usestdlibvars - zerologlint exclusions: generated: lax presets: - comments - common-false-positives - legacy - std-error-handling paths: - third_party$ - builtin$ - examples$ - internal/service/test_service.go formatters: enable: - goimports exclusions: generated: lax paths: - third_party$ - builtin$ - examples$