From da061537c9a899b1fa6d0be087bc6106afe3cc12 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Tue, 2 Aug 2022 11:26:16 +0200 Subject: [PATCH] contextcheck: disable linter --- pkg/lint/lintersdb/manager.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/lint/lintersdb/manager.go b/pkg/lint/lintersdb/manager.go index 2d5174e54a82..d09f74d705fa 100644 --- a/pkg/lint/lintersdb/manager.go +++ b/pkg/lint/lintersdb/manager.go @@ -299,7 +299,9 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config { WithSince("v1.43.0"). WithPresets(linter.PresetBugs). WithLoadForGoAnalysis(). - WithURL("https://github.com/sylvia7788/contextcheck"), + WithURL("https://github.com/sylvia7788/contextcheck"). + Deprecated("The owner seems to have abandoned the linter.", "v1.49.0", ""). + WithNoopFallback(m.cfg), linter.NewConfig(golinters.NewCyclop(cyclopCfg)). WithSince("v1.37.0").