mirror of
https://github.com/mgechev/revive.git
synced 2025-09-16 09:06:22 +02:00
fix(deps): update github.com/chavacava/garif digest to 4bd63c2 (#838)
* fix(deps): update github.com/chavacava/garif digest to 4bd63c2 * fix garif level compatibility --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: chavacava <salvadorcavadini+github@gmail.com>
This commit is contained in:
@@ -88,7 +88,7 @@ func (l *reviveRunLog) AddResult(failure lint.Failure) {
|
||||
location := garif.NewLocation().WithURI(filename).WithLineColumn(line, column)
|
||||
result.Locations = append(result.Locations, location)
|
||||
result.RuleId = failure.RuleName
|
||||
result.Level = l.rules[failure.RuleName].Severity
|
||||
result.Level = garif.ResultLevel(l.rules[failure.RuleName].Severity)
|
||||
|
||||
l.run.Results = append(l.run.Results, result)
|
||||
}
|
||||
|
2
go.mod
2
go.mod
@@ -4,7 +4,7 @@ go 1.19
|
||||
|
||||
require (
|
||||
github.com/BurntSushi/toml v1.3.2
|
||||
github.com/chavacava/garif v0.0.0-20230531072157-8144c224b063
|
||||
github.com/chavacava/garif v0.0.0-20230608123814-4bd63c2919ab
|
||||
github.com/fatih/color v1.15.0
|
||||
github.com/fatih/structtag v1.2.0
|
||||
github.com/mgechev/dots v0.0.0-20210922191527-e955255bf517
|
||||
|
2
go.sum
2
go.sum
@@ -14,6 +14,8 @@ github.com/chavacava/garif v0.0.0-20230519080132-4752330f72df h1:1uGdlpQT0irrGcF
|
||||
github.com/chavacava/garif v0.0.0-20230519080132-4752330f72df/go.mod h1:cFP7fAFavJ2DrYBmZYBETNKwSTFJiOIirm5N4/PqY/I=
|
||||
github.com/chavacava/garif v0.0.0-20230531072157-8144c224b063 h1:wiJ8AtgOw7gDs2I9uhrxW59fMPWXONSdpXU3/dRv0to=
|
||||
github.com/chavacava/garif v0.0.0-20230531072157-8144c224b063/go.mod h1:XMyYCkEL58DF0oyW4qDjjnPWONs2HBqYKI+UIPD+Gww=
|
||||
github.com/chavacava/garif v0.0.0-20230608123814-4bd63c2919ab h1:5JxePczlyGAtj6R1MUEFZ/UFud6FfsOejq7xLC2ZIb0=
|
||||
github.com/chavacava/garif v0.0.0-20230608123814-4bd63c2919ab/go.mod h1:XMyYCkEL58DF0oyW4qDjjnPWONs2HBqYKI+UIPD+Gww=
|
||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
|
Reference in New Issue
Block a user