From 74d27ee5fa461c113107749ab698c7c8075f9922 Mon Sep 17 00:00:00 2001 From: greizgh Date: Wed, 17 Jul 2024 10:08:41 +0200 Subject: [PATCH] Remove deprecated linters from golangci-lint (#2009) When running lints, golangci-lint complained about removed linters (which were already disabled). This removes the relevant warnings. --- .golangci.yaml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index 65a88511..cd41a4df 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -12,19 +12,13 @@ linters: disable: - depguard - - exhaustivestruct - revive - lll - - interfacer - - scopelint - - maligned - - golint - gofmt - gochecknoglobals - gochecknoinits - gocognit - funlen - - exhaustivestruct - tagliatelle - godox - ireturn @@ -34,13 +28,6 @@ linters: - musttag # causes issues with imported libs - depguard - # deprecated - - structcheck # replaced by unused - - ifshort # deprecated by the owner - - varcheck # replaced by unused - - nosnakecase # replaced by revive - - deadcode # replaced by unused - # We should strive to enable these: - wrapcheck - dupl