Chore: Upgrade golangci-lint (#35188) (#35192)

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
(cherry picked from commit 4d1cbe551f)

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2021-06-04 07:45:15 +02:00
committed by GitHub
co-authored by Arve Knudsen
parent 6c512e1414
commit 6f9ecceb9f
3 changed files with 483 additions and 159 deletions
-4
View File
@@ -1,9 +1,6 @@
[run]
timeout = "10m"
[linters-settings.golint]
min-confidence = 3
[linters-settings.goconst]
min-len = 5
min-occurrences = 5
@@ -33,7 +30,6 @@ enable = [
"goconst",
"gocritic",
"goimports",
"golint",
"goprintffuncname",
"gosec",
"gosimple",
+1 -2
View File
@@ -3,8 +3,7 @@ module github.com/grafana/grafana/scripts/go
go 1.14
require (
github.com/golangci/golangci-lint v1.37.1
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/golangci/golangci-lint v1.40.1
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/unknwon/bra v0.0.0-20200517080246-1e3013ecaff8
github.com/unknwon/log v0.0.0-20200308114134-929b1006e34a // indirect
+482 -153
View File
File diff suppressed because it is too large Load Diff