golangci: enable some more linters

They have not found anything and maybe we better not have them find anything
in the future. Commented ones can be useful in future, but find too many
problems at the moment.
This commit is contained in:
Roman Khimov 2022-09-02 14:30:08 +03:00
parent 97193cf337
commit 1895dfb2c1

View file

@ -42,12 +42,22 @@ linters:
# extra linters
# - exhaustive
# - goconst
# - goerr113
# - gomnd
# - nonamedreturns
# - unparam
- bidichk
- bodyclose
- contextcheck
- decorder
- durationcheck
- errorlint
- exportloopref
- gofmt
- misspell
- predeclared
- reassign
- whitespace
- goimports
disable-all: true