Update golangci-lint configuration

- replace deprecated linters
- add more linters
This commit is contained in:
Jan Dittberner 2022-03-21 12:14:25 +01:00
parent a9290b9717
commit 63c748bb1d

View file

@ -37,17 +37,22 @@ linters:
disable-all: false
enable:
- bodyclose
- containedctx
- contextcheck
- cyclop
- decorder
- errorlint
- exportloopref
- forbidigo
- forcetypeassert
- gocognit
- goconst
- gocritic
- gofmt
- goheader
- goimports
- golint
- gomnd
- gosec
- interfacer
- lll
- makezero
- misspell
@ -56,8 +61,8 @@ linters:
- nlreturn
- nolintlint
- predeclared
- revive
- rowserrcheck
- scopelint
- sqlclosecheck
- wrapcheck
- wsl