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 # extra linters
# - exhaustive # - exhaustive
# - goconst
# - goerr113
# - gomnd
# - nonamedreturns
# - unparam
- bidichk
- bodyclose - bodyclose
- contextcheck - contextcheck
- decorder
- durationcheck
- errorlint - errorlint
- exportloopref
- gofmt - gofmt
- misspell - misspell
- predeclared - predeclared
- reassign
- whitespace - whitespace
- goimports - goimports
disable-all: true disable-all: true