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:
co-authored by
Arve Knudsen
parent
6c512e1414
commit
6f9ecceb9f
@@ -1,9 +1,6 @@
|
|||||||
[run]
|
[run]
|
||||||
timeout = "10m"
|
timeout = "10m"
|
||||||
|
|
||||||
[linters-settings.golint]
|
|
||||||
min-confidence = 3
|
|
||||||
|
|
||||||
[linters-settings.goconst]
|
[linters-settings.goconst]
|
||||||
min-len = 5
|
min-len = 5
|
||||||
min-occurrences = 5
|
min-occurrences = 5
|
||||||
@@ -33,7 +30,6 @@ enable = [
|
|||||||
"goconst",
|
"goconst",
|
||||||
"gocritic",
|
"gocritic",
|
||||||
"goimports",
|
"goimports",
|
||||||
"golint",
|
|
||||||
"goprintffuncname",
|
"goprintffuncname",
|
||||||
"gosec",
|
"gosec",
|
||||||
"gosimple",
|
"gosimple",
|
||||||
|
|||||||
+1
-2
@@ -3,8 +3,7 @@ module github.com/grafana/grafana/scripts/go
|
|||||||
go 1.14
|
go 1.14
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/golangci/golangci-lint v1.37.1
|
github.com/golangci/golangci-lint v1.40.1
|
||||||
github.com/mattn/go-runewidth v0.0.9 // indirect
|
|
||||||
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
||||||
github.com/unknwon/bra v0.0.0-20200517080246-1e3013ecaff8
|
github.com/unknwon/bra v0.0.0-20200517080246-1e3013ecaff8
|
||||||
github.com/unknwon/log v0.0.0-20200308114134-929b1006e34a // indirect
|
github.com/unknwon/log v0.0.0-20200308114134-929b1006e34a // indirect
|
||||||
|
|||||||
+482
-153
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user