diff --git a/.golangci.toml b/.golangci.toml index 209e202b2..415c884ef 100644 --- a/.golangci.toml +++ b/.golangci.toml @@ -99,6 +99,10 @@ "deadcode", "rowserrcheck", "sqlclosecheck", + "depguard", + "perfsprint", + "inamedparam", + "nakedret", ] [issues] diff --git a/Makefile b/Makefile index 2093a52e5..92ecc24ab 100644 --- a/Makefile +++ b/Makefile @@ -322,7 +322,7 @@ bin/$(PLATFORM)/yq: Makefile hack/install-yq.sh v4.31.2 bin/$(PLATFORM)/golangci-lint: Makefile - hack/golangci-lint.sh -b "bin/$(PLATFORM)" v1.51.0 + hack/golangci-lint.sh -b "bin/$(PLATFORM)" v1.56.0 bin/$(PLATFORM)/operator-sdk: Makefile hack/install-operator-sdk.sh v1.23.0