issues: # Maximum count of issues with the same text. # Set to 0 to disable. # Default: 3 max-same-issues: 1 # Fix found issues (if it's supported by the linter). fix: true linters: # Enable specific linter # https://golangci-lint.run/usage/linters/#enabled-by-default enable: - asasalint - asciicheck - bidichk - bodyclose - containedctx - contextcheck - decorder - depguard - dogsled - dupl - dupword - durationcheck - errcheck - errchkjson - errname - errorlint - execinquery - exhaustive - exportloopref - forcetypeassert - gci - gochecknoglobals - gochecknoinits - goconst - gocritic - godot - godox - goerr113 - gofmt - gofumpt - goheader - goimports - gomoddirectives - gomodguard - goprintffuncname - gosec - gosimple - govet - grouper - importas - ineffassign - interfacebloat - ireturn - loggercheck - maintidx - makezero - misspell - nakedret - nestif - nilerr - nilnil - nlreturn - noctx - nolintlint - nosprintfhostport - paralleltest - prealloc - predeclared - promlinter - reassign - revive - staticcheck - stylecheck - tagliatelle - tenv - testableexamples - testpackage - thelper - tparallel - typecheck - unconvert - unused - usestdlibvars - varnamelen - whitespace - wsl linters-settings: varnamelen: ignore-names: - i - d