2020-03-04 05:34:23 +00:00
|
|
|
linters:
|
|
|
|
# please, do not use `enable-all`: it's deprecated and will be removed soon.
|
|
|
|
# inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- deadcode
|
|
|
|
- depguard
|
|
|
|
- dupl
|
|
|
|
- errcheck
|
|
|
|
# - gochecknoinits
|
|
|
|
- goconst
|
|
|
|
- gocritic
|
|
|
|
- gocyclo
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
2022-02-08 21:56:44 +00:00
|
|
|
- revive
|
2020-03-04 05:34:23 +00:00
|
|
|
- gosec
|
|
|
|
- gosimple
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
|
|
|
# - lll
|
|
|
|
- misspell
|
|
|
|
- nakedret
|
2022-02-08 21:56:44 +00:00
|
|
|
- exportloopref
|
2020-03-04 05:34:23 +00:00
|
|
|
- staticcheck
|
|
|
|
- structcheck
|
|
|
|
# - typecheck
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
- unused
|
|
|
|
- varcheck
|