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:
Ville Vesilehto
2025-10-30 14:07:16 +02:00
committed by GitHub
parent 60e2d455f9
commit 5cf4c80ac0
4 changed files with 11 additions and 9 deletions

View File

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