mirror of
https://github.com/syncthing/syncthing.git
synced 2025-12-23 22:18:14 -05:00
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$
|