README.md
Rendering markdown...
# https://golangci-lint.run/usage/quick-start/
run:
timeout: 1m
skip-dirs:
skip-files:
build-tags:
linters:
# https://golangci-lint.run/usage/linters/
enable:
- errcheck
- gosimple
#- govet inconsistent results across platforms
- ineffassign
- staticcheck
- typecheck
- unused
- asasalint
- asciicheck
- bidichk
#- bodyclose
#- canonicalheader
- containedctx
- contextcheck
- copyloopvar
#- cyclop
- decorder
#- depguard
- dogsled
- dupl
#- dupword
- durationcheck
- err113
- errchkjson
- errname
- errorlint
#- exhaustive
#- exhaustruct
- fatcontext
- forbidigo
#- forcetypeassert
#- funlen
- gci
- ginkgolinter
- gochecknoinits
- gocheckcompilerdirectives
- gochecksumtype
#- gocognit
#- goconst
#- gocritic
- gocyclo
- godot
#- godox
- gofmt
- gofumpt
- goheader
- goimports
#- gomoddirectives This one needs a solution
- gomodguard
#- gosec
#- gosmopolitan
- grouper
- importas
- inamedparam
- interfacebloat
- intrange
- ireturn
- loggercheck
#- maintidx
#- makezero
- mirror
- misspell
#- mnd
- nakedret
#- nestif
- nilerr
- nilnil
- nlreturn
- nolintlint
- nonamedreturns
- prealloc
- predeclared
- promlinter
- reassign
- revive
#- rowserrcheck // buggy on 1.54
- sloglint
- spancheck
- sqlclosecheck
- stylecheck
- tagalign
- tagliatelle
- tenv
- unconvert
- unparam
#- usestdlibvars
#- varnamelen
- wastedassign
- whitespace
#- wrapcheck
disable:
- govet
issues:
exclude-files:
- feed/cve-2024-38063/go.mod