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 }