From 3a79a7bcbd7ecd29437a60e2a3234dbb4f4c4b9e Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Mon, 14 Nov 2022 15:28:56 +0100 Subject: [PATCH] Disable deprecated linters varcheck, deadcode, and structcheck are deprecated since 1.49.0. Signed-off-by: Stephen Kitt --- .golangci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 7e657175..53eb27a7 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -55,7 +55,6 @@ linters: - bodyclose - contextcheck # - cyclop # This is equivalent to gocyclo - - deadcode - depguard - dogsled - dupl @@ -118,7 +117,6 @@ linters: # - scopelint # Deprecated since v1.39.0 # - sqlclosecheck # We don't use SQL - staticcheck - - structcheck - stylecheck # - tagliatelle # Inconsistent with stylecheck and not as good # - tenv # Not relevant for our Ginkgo UTs @@ -129,7 +127,6 @@ linters: - unconvert - unparam - unused - - varcheck # - varnamelen # It doesn't seem necessary to enforce a minimum variable name length - wastedassign - whitespace