mirror of
https://github.com/coredns/coredns.git
synced 2025-12-06 02:15:11 -05:00
GO linting bump and removal of deprecated linters (#5624)
* bump golangci-lint with support of go 1.19 Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com> * remove deprecated usage of varcheck, deadcode, and structcheck Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com> Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>
This commit is contained in:
@@ -3,11 +3,9 @@ run:
|
||||
linters:
|
||||
disable-all: true
|
||||
enable:
|
||||
- deadcode
|
||||
- govet
|
||||
- ineffassign
|
||||
- staticcheck
|
||||
- structcheck
|
||||
- typecheck
|
||||
- varcheck
|
||||
- whitespace
|
||||
- unused
|
||||
|
||||
Reference in New Issue
Block a user