--- linters: enable: - errcheck - gosimple - govet - ineffassign - staticcheck - typecheck - unused - asciicheck - bidichk - bodyclose - containedctx - contextcheck - cyclop - decorder - depguard - dupl - durationcheck - errchkjson - errname - errorlint - exhaustive - exhaustruct - exportloopref - forcetypeassert - funlen - gci - gochecknoinits - gocognit - goconst - gocritic # - gocyclo # Using cyclop - godot # - goerr113 # Using errorlint - gofmt - goheader - goimports - gomnd - gomoddirectives - gomodguard - goprintffuncname - gosec - grouper - importas # - ireturn - lll - maintidx - makezero - misspell - nakedret - nestif - nilerr - nilnil - nlreturn - noctx - nolintlint - paralleltest - prealloc - predeclared # - promlinter # Not common enough - revive - rowserrcheck - sqlclosecheck # - stylecheck # Using revive - tagliatelle - tenv - testpackage - thelper - tparallel - unconvert - unparam - varnamelen - wastedassign - whitespace - wrapcheck - wsl disable: - gochecknoglobals - godox - forbidigo # Deprecated - golint - interfacer - maligned - scopelint - ifshort - varcheck - structcheck - deadcode - exhaustivestruct linters-settings: gomnd: settings: mnd: ignored-functions: math.* issues: fix: true exclude-rules: - path: _test\.go linters: - errcheck - gosec - funlen