From d913078be86c9af671fd7320197b17e1cf743838 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Jul 2021 02:07:23 +0200 Subject: [PATCH] build(deps): bump github.com/mgechev/revive from 1.0.8 to 1.0.9 (#2113) --- go.mod | 2 +- go.sum | 4 ++-- pkg/golinters/revive.go | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 9420f09e..015196bc 100644 --- a/go.mod +++ b/go.mod @@ -49,7 +49,7 @@ require ( github.com/mattn/go-colorable v0.1.8 github.com/mbilski/exhaustivestruct v1.2.0 github.com/mgechev/dots v0.0.0-20190921121421-c36f7dcfbb81 - github.com/mgechev/revive v1.0.8 + github.com/mgechev/revive v1.0.9 github.com/mitchellh/go-homedir v1.1.0 github.com/mitchellh/go-ps v1.0.0 github.com/moricho/tparallel v0.2.1 diff --git a/go.sum b/go.sum index fbf2124e..bddb584c 100644 --- a/go.sum +++ b/go.sum @@ -462,8 +462,8 @@ github.com/mbilski/exhaustivestruct v1.2.0 h1:wCBmUnSYufAHO6J4AVWY6ff+oxWxsVFrwg github.com/mbilski/exhaustivestruct v1.2.0/go.mod h1:OeTBVxQWoEmB2J2JCHmXWPJ0aksxSUOUy+nvtVEfzXc= github.com/mgechev/dots v0.0.0-20190921121421-c36f7dcfbb81 h1:QASJXOGm2RZ5Ardbc86qNFvby9AqkLDibfChMtAg5QM= github.com/mgechev/dots v0.0.0-20190921121421-c36f7dcfbb81/go.mod h1:KQ7+USdGKfpPjXk4Ga+5XxQM4Lm4e3gAogrreFAYpOg= -github.com/mgechev/revive v1.0.8 h1:neFQQHjlPyzmm5xqz9XKfXQN6No3KxR0eE8ofx4VvCw= -github.com/mgechev/revive v1.0.8/go.mod h1:D5z6BNQBucjRhTYPoNU33S2bEFGR6aFUrJyV83ZQS/I= +github.com/mgechev/revive v1.0.9 h1:gEtqczoFbIfi6tMaYGbrvU6liYjIDNwWL5aDxvHWtJM= +github.com/mgechev/revive v1.0.9/go.mod h1:D5z6BNQBucjRhTYPoNU33S2bEFGR6aFUrJyV83ZQS/I= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.35/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM= github.com/miekg/pkcs11 v1.0.2/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= diff --git a/pkg/golinters/revive.go b/pkg/golinters/revive.go index fa8dbd9b..590332e6 100644 --- a/pkg/golinters/revive.go +++ b/pkg/golinters/revive.go @@ -244,7 +244,6 @@ var defaultRules = []lint.Rule{ &rule.ExportedRule{}, &rule.VarNamingRule{}, &rule.IndentErrorFlowRule{}, - &rule.IfReturnRule{}, &rule.RangeRule{}, &rule.ErrorfRule{}, &rule.ErrorNamingRule{},