mirror of
https://github.com/coredns/coredns.git
synced 2025-12-04 09:25:13 -05:00
chore(lint): update to golangci-lint v2.6.0 (#7645)
Update to the latest golangci-lint version and use built-in modernize linter, instead of a custom CI step. Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
This commit is contained in:
@@ -14,6 +14,7 @@ linters:
|
||||
- govet
|
||||
- ineffassign
|
||||
- intrange
|
||||
- modernize
|
||||
- nakedret
|
||||
- nolintlint
|
||||
- perfsprint
|
||||
@@ -42,6 +43,9 @@ linters:
|
||||
govet:
|
||||
enable:
|
||||
- nilness
|
||||
modernize:
|
||||
disable:
|
||||
- reflecttypefor
|
||||
perfsprint:
|
||||
error-format: false
|
||||
revive:
|
||||
|
||||
Reference in New Issue
Block a user