2021-10-27 07:07:19 +00:00
|
|
|
---
|
2025-04-18 11:15:02 +02:00
|
|
|
version: "2"
|
2021-11-13 08:53:34 +00:00
|
|
|
linters:
|
2025-04-18 11:15:02 +02:00
|
|
|
default: all
|
2021-11-13 08:53:34 +00:00
|
|
|
disable:
|
2025-04-18 11:15:02 +02:00
|
|
|
- cyclop
|
|
|
|
- depguard
|
|
|
|
- dupl
|
|
|
|
- exhaustruct
|
|
|
|
- funlen
|
2021-11-13 08:53:34 +00:00
|
|
|
- gochecknoglobals
|
|
|
|
- gochecknoinits
|
|
|
|
- gocognit
|
|
|
|
- godox
|
2025-04-18 11:15:02 +02:00
|
|
|
- interfacebloat
|
2022-05-16 14:29:05 +02:00
|
|
|
- ireturn
|
2025-04-18 11:15:02 +02:00
|
|
|
- lll
|
2022-05-16 14:29:05 +02:00
|
|
|
- maintidx
|
2025-04-18 11:15:02 +02:00
|
|
|
- makezero
|
|
|
|
- musttag
|
2021-11-13 08:53:34 +00:00
|
|
|
- nestif
|
2025-04-18 11:15:02 +02:00
|
|
|
- nolintlint
|
2021-11-15 18:42:44 +00:00
|
|
|
- paralleltest
|
2025-04-18 11:15:02 +02:00
|
|
|
- revive
|
|
|
|
- tagliatelle
|
|
|
|
- testpackage
|
2025-07-06 12:37:53 +02:00
|
|
|
- varnamelen
|
2025-04-18 11:15:02 +02:00
|
|
|
- wrapcheck
|
|
|
|
- wsl
|
|
|
|
settings:
|
|
|
|
gocritic:
|
|
|
|
disabled-checks:
|
|
|
|
- appendAssign
|
|
|
|
- ifElseChain
|
|
|
|
nlreturn:
|
|
|
|
block-size: 4
|
|
|
|
varnamelen:
|
|
|
|
ignore-names:
|
|
|
|
- err
|
|
|
|
- db
|
|
|
|
- id
|
|
|
|
- ip
|
|
|
|
- ok
|
|
|
|
- c
|
|
|
|
- tt
|
|
|
|
- tx
|
|
|
|
- rx
|
|
|
|
- sb
|
|
|
|
- wg
|
|
|
|
- pr
|
|
|
|
- p
|
|
|
|
- p2
|
|
|
|
ignore-type-assert-ok: true
|
|
|
|
ignore-map-index-ok: true
|
|
|
|
exclusions:
|
|
|
|
generated: lax
|
|
|
|
presets:
|
|
|
|
- comments
|
|
|
|
- common-false-positives
|
|
|
|
- legacy
|
|
|
|
- std-error-handling
|
|
|
|
paths:
|
|
|
|
- third_party$
|
|
|
|
- builtin$
|
|
|
|
- examples$
|
|
|
|
- gen
|
2021-11-15 16:16:16 +00:00
|
|
|
|
2025-04-18 11:15:02 +02:00
|
|
|
formatters:
|
|
|
|
enable:
|
|
|
|
- gci
|
|
|
|
- gofmt
|
|
|
|
- gofumpt
|
|
|
|
- goimports
|
|
|
|
exclusions:
|
|
|
|
generated: lax
|
|
|
|
paths:
|
|
|
|
- third_party$
|
|
|
|
- builtin$
|
|
|
|
- examples$
|
|
|
|
- gen
|