From a850aecf22bd1104e2c082fe1be53217e43f4653 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Jul 2021 20:12:44 +0000 Subject: [PATCH 1/2] build(deps): bump github.com/mgechev/revive from 1.0.8 to 1.0.9 Bumps [github.com/mgechev/revive](https://github.com/mgechev/revive) from 1.0.8 to 1.0.9. - [Release notes](https://github.com/mgechev/revive/releases) - [Changelog](https://github.com/mgechev/revive/blob/master/.goreleaser.yml) - [Commits](https://github.com/mgechev/revive/compare/v1.0.8...v1.0.9) --- updated-dependencies: - dependency-name: github.com/mgechev/revive dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 9420f09ed4e5..015196bce590 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 fbf2124e9e4b..bddb584c8b35 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= From 4ddde87e901f044e62ea53f0241b40276e03f2f0 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Tue, 13 Jul 2021 01:09:18 +0200 Subject: [PATCH 2/2] review --- pkg/golinters/revive.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/golinters/revive.go b/pkg/golinters/revive.go index fa8dbd9b76aa..590332e66c40 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{},