Skip to content

Commit 00b1b71

Browse files
build(deps): bump github.com/mgechev/revive from 1.1.4 to 1.2.0 (#2741)
1 parent 80c4a76 commit 00b1b71

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ require (
5757
github.com/matoous/godox v0.0.0-20210227103229-6504466cf951 // v1.0
5858
github.com/mattn/go-colorable v0.1.12
5959
github.com/mbilski/exhaustivestruct v1.2.0
60-
github.com/mgechev/revive v1.1.4
60+
github.com/mgechev/revive v1.2.0
6161
github.com/mitchellh/go-homedir v1.1.0
6262
github.com/mitchellh/go-ps v1.0.0
6363
github.com/moricho/tparallel v0.2.1
@@ -108,7 +108,7 @@ require (
108108
github.com/Masterminds/semver v1.5.0 // indirect
109109
github.com/beorn7/perks v1.0.1 // indirect
110110
github.com/cespare/xxhash/v2 v2.1.2 // indirect
111-
github.com/chavacava/garif v0.0.0-20210405164556-e8a0a408d6af // indirect
111+
github.com/chavacava/garif v0.0.0-20220316182200-5cad0b5181d4 // indirect
112112
github.com/davecgh/go-spew v1.1.1 // indirect
113113
github.com/ettle/strcase v0.1.1 // indirect
114114
github.com/fatih/structtag v1.2.0 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/golinters/revive.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func NewRevive(cfg *config.ReviveSettings) *goanalysis.Linter {
6666

6767
revive := lint.New(os.ReadFile, cfg.MaxOpenFiles)
6868

69-
lintingRules, err := reviveConfig.GetLintingRules(conf)
69+
lintingRules, err := reviveConfig.GetLintingRules(conf, []lint.Rule{})
7070
if err != nil {
7171
return nil, err
7272
}

0 commit comments

Comments
 (0)