With DeepSource becoming (imho) less and less useful, let's get this one back on track. It will likely require adjusting over time.
68 lines
1.1 KiB
YAML
68 lines
1.1 KiB
YAML
version: "2"
|
|
linters:
|
|
default: all
|
|
disable:
|
|
- cyclop
|
|
- depguard
|
|
- exhaustive
|
|
- exhaustruct
|
|
- forbidigo
|
|
- funlen
|
|
- gochecknoglobals
|
|
- gochecknoinits
|
|
- gocognit
|
|
- goconst
|
|
- gocyclo
|
|
- godox
|
|
- gomoddirectives
|
|
- inamedparam
|
|
- interfacebloat
|
|
- ireturn
|
|
- lll
|
|
- maintidx
|
|
- mnd
|
|
- musttag
|
|
- nestif
|
|
- nlreturn
|
|
- nonamedreturns
|
|
- paralleltest
|
|
- prealloc
|
|
- predeclared
|
|
- protogetter
|
|
- recvcheck
|
|
- revive
|
|
- tagalign
|
|
- tagliatelle
|
|
- testpackage
|
|
- usetesting # go 1.24
|
|
- varnamelen
|
|
- whitespace
|
|
- wrapcheck
|
|
- wsl
|
|
exclusions:
|
|
generated: lax
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
paths:
|
|
- internal/gen
|
|
- cmd/dev
|
|
- repos
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
formatters:
|
|
enable:
|
|
- gofumpt
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- internal/gen
|
|
- cmd/dev
|
|
- repos
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|