version: "2" linters: enable: - asasalint - asciicheck - bidichk - bodyclose - containedctx - contextcheck - copyloopvar - decorder - durationcheck - errchkjson - errname - ginkgolinter - gocheckcompilerdirectives - gochecksumtype - gocritic - goheader - gomoddirectives - gomodguard - goprintffuncname - gosmopolitan - grouper - importas - inamedparam - interfacebloat - loggercheck - makezero - mirror - misspell - musttag - nilerr - noctx - nolintlint - nosprintfhostport - perfsprint - prealloc - predeclared - promlinter - protogetter - reassign - rowserrcheck - sloglint - staticcheck - tagliatelle - testableexamples - testifylint - thelper - tparallel - unparam - usestdlibvars - usetesting - wastedassign - whitespace - zerologlint settings: tagliatelle: case: rules: json: kebab 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$