Merge pull request #160 from lburgazzoli/golangci-lint-v1.59.0

chore(tools): bump golangci-lint to v1.59.0
This commit is contained in:
Luca Burgazzoli 2024-05-28 14:31:42 +02:00 committed by GitHub
commit 2d79f28ad8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 16 deletions

View File

@ -51,17 +51,9 @@ issues:
linters:
enable-all: true
disable:
# abandoned
- deadcode
- golint
- ifshort
- varcheck
- structcheck
- scopelint
- nosnakecase
- maligned
- exhaustivestruct
- interfacer
#deprecated
- gomnd
- execinquery
# keep
- varnamelen
- godox # there are a bunch of TODOs that must be solved

View File

@ -29,12 +29,12 @@ OPENSHIFT_VERSIONS ?= v4.12
## Tool Versions
CODEGEN_VERSION ?= v0.30.0
KUSTOMIZE_VERSION ?= v5.4.1
KUSTOMIZE_VERSION ?= v5.4.2
CONTROLLER_TOOLS_VERSION ?= v0.15.0
KIND_VERSION ?= v0.22.0
LINTER_VERSION ?= v1.57.2
OPERATOR_SDK_VERSION ?= v1.34.1
OPM_VERSION ?= v1.40.0
LINTER_VERSION ?= v1.59.0
OPERATOR_SDK_VERSION ?= v1.34.2
OPM_VERSION ?= v1.43.1
GOVULNCHECK_VERSION ?= latest
KO_VERSION ?= latest

View File

@ -21,7 +21,7 @@ limitations under the License.
package v1alpha1
import (
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
)