mirror of
https://github.com/containers/podman.git
synced 2025-10-09 14:56:05 +08:00
update golangci-lint to v1.62.0
- fix issues found by recvcheck - skip k8s files from recvcheck - remove two removed linters gomnd and execinquery Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -27,7 +27,6 @@ linters:
|
||||
- wsl
|
||||
- godox
|
||||
- tparallel
|
||||
- gomnd
|
||||
- nlreturn
|
||||
- noctx
|
||||
- nestif
|
||||
@ -62,7 +61,6 @@ linters:
|
||||
- nonamedreturns
|
||||
- exhaustruct
|
||||
# deprecated linters
|
||||
- execinquery
|
||||
- exportloopref
|
||||
linters-settings:
|
||||
errcheck:
|
||||
@ -90,3 +88,8 @@ issues:
|
||||
- dependencies
|
||||
exclude-files:
|
||||
- swagger.go
|
||||
exclude-rules:
|
||||
# Exclude recvcheck from running on the imported k8s files, to much failures
|
||||
- path: pkg/k8s.io/
|
||||
linters:
|
||||
- recvcheck
|
||||
|
Reference in New Issue
Block a user