Update golangci-lint configuration

- replace deprecated linters
- add more linters
main
Jan Dittberner 2 years ago
parent a9290b9717
commit 63c748bb1d

@ -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

Loading…
Cancel
Save