From 45f1e48f3d2f564b7d3650728b22ac72c52691ae Mon Sep 17 00:00:00 2001 From: Trevor Pounds <trevor.pounds@gmail.com> Date: Tue, 21 Jan 2020 21:09:18 -0500 Subject: [PATCH] Fix rowserrcheck URL. Fixes #932 --- README.md | 2 +- pkg/lint/lintersdb/manager.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a3894f2f..c3379ec2 100644 --- a/README.md +++ b/README.md @@ -458,7 +458,7 @@ golangci-lint help linters - [bodyclose](https://github.com/timakin/bodyclose) - checks whether HTTP response body is closed successfully - [golint](https://github.com/golang/lint) - Golint differs from gofmt. Gofmt reformats Go source code, whereas golint prints out style mistakes -- [rowserrcheck](https://github.com/jingyugao/rowserr) - checks whether Err of rows is checked successfully +- [rowserrcheck](https://github.com/jingyugao/rowserrcheck) - checks whether Err of rows is checked successfully - [stylecheck](https://github.com/dominikh/go-tools/tree/master/stylecheck) - Stylecheck is a replacement for golint - [gosec](https://github.com/securego/gosec) - Inspects source code for security problems - [interfacer](https://github.com/mvdan/interfacer) - Linter that suggests narrower interface types diff --git a/pkg/lint/lintersdb/manager.go b/pkg/lint/lintersdb/manager.go index 3498b5e2..cf71c1f4 100644 --- a/pkg/lint/lintersdb/manager.go +++ b/pkg/lint/lintersdb/manager.go @@ -111,7 +111,7 @@ func (m Manager) GetAllSupportedLinterConfigs() []*linter.Config { linter.NewConfig(golinters.NewRowsErrCheck()). WithLoadForGoAnalysis(). WithPresets(linter.PresetPerformance, linter.PresetBugs). - WithURL("https://github.com/jingyugao/rowserr"), + WithURL("https://github.com/jingyugao/rowserrcheck"), linter.NewConfig(golinters.NewStaticcheck()). WithLoadForGoAnalysis().