version: "2" run: go: "1.22" modules-download-mode: readonly tests: false allow-parallel-runners: true linters: default: none enable: - asasalint - asciicheck - bodyclose - containedctx - copyloopvar - decorder - durationcheck - errcheck - errchkjson - errorlint - exhaustive - ginkgolinter - gocheckcompilerdirectives - gocritic - godot - goheader - gosec - govet - grouper - iface - importas - inamedparam - ineffassign - ireturn - makezero - nakedret - nilerr - nilnil - nlreturn - noctx - nolintlint - nonamedreturns - perfsprint - predeclared - promlinter - reassign - revive - rowserrcheck - sloglint - staticcheck - unconvert - unparam - unused - wastedassign - whitespace - wsl_v5 settings: gosec: excludes: - G404 - G402 exclusions: generated: lax presets: - comments - common-false-positives - legacy - std-error-handling paths: - third_party$ - builtin$ - examples$ formatters: enable: - gofmt - goimports exclusions: generated: lax paths: - third_party$ - builtin$ - examples$