From 7295b251f338ea202d43eb5b5b6c2c8d91e024a3 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Sun, 3 Apr 2022 17:57:55 +0200 Subject: [PATCH] fix: apply new signature --- pkg/golinters/revive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/golinters/revive.go b/pkg/golinters/revive.go index 64fe20d2f98e..8fd5e9802900 100644 --- a/pkg/golinters/revive.go +++ b/pkg/golinters/revive.go @@ -66,7 +66,7 @@ func NewRevive(cfg *config.ReviveSettings) *goanalysis.Linter { revive := lint.New(os.ReadFile, cfg.MaxOpenFiles) - lintingRules, err := reviveConfig.GetLintingRules(conf) + lintingRules, err := reviveConfig.GetLintingRules(conf, []lint.Rule{}) if err != nil { return nil, err }