2020-01-12 18:23:35 +01:00
|
|
|
linters:
|
2021-03-05 22:52:22 +01:00
|
|
|
enable:
|
|
|
|
- govet
|
2021-03-05 22:59:09 +01:00
|
|
|
- errcheck
|
|
|
|
- staticcheck
|
|
|
|
- unused
|
|
|
|
- gosimple
|
|
|
|
- structcheck
|
|
|
|
- varcheck
|
|
|
|
- ineffassign
|
|
|
|
- deadcode
|
|
|
|
- typecheck
|
|
|
|
- bodyclose
|
2021-09-18 22:41:01 +02:00
|
|
|
- revive
|
2021-03-05 22:59:09 +01:00
|
|
|
- stylecheck
|
|
|
|
- gosec
|
|
|
|
- unconvert
|
|
|
|
- dupl
|
|
|
|
- goconst
|
|
|
|
- gocyclo
|
|
|
|
- gocognit
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
|
|
|
- depguard
|
|
|
|
- misspell
|
|
|
|
- lll
|
|
|
|
- unparam
|
2021-03-05 22:52:22 +01:00
|
|
|
- dogsled
|
|
|
|
- funlen
|
|
|
|
- gochecknoglobals
|
|
|
|
- gochecknoinits
|
|
|
|
- gocritic
|
|
|
|
- godox
|
|
|
|
- nakedret
|
|
|
|
- prealloc
|
|
|
|
- whitespace
|
|
|
|
- wsl
|
2021-04-30 22:45:38 +02:00
|
|
|
- exportloopref
|
2021-03-05 22:52:22 +01:00
|
|
|
disable:
|
|
|
|
- noctx
|
2021-09-18 22:41:01 +02:00
|
|
|
- scopelint
|
2020-01-12 18:23:35 +01:00
|
|
|
|
2021-03-05 22:52:22 +01:00
|
|
|
disable-all: false
|
|
|
|
presets:
|
|
|
|
- bugs
|
|
|
|
- unused
|
|
|
|
fast: false
|
2020-01-12 18:23:35 +01:00
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
# Exclude some linters from running on tests files.
|
|
|
|
- path: _test\.go
|
|
|
|
linters:
|
|
|
|
- gochecknoglobals
|
|
|
|
- dupl
|