Chore: Replace scopelint with exportloopref (#26075)

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Arve Knudsen
2020-07-07 10:01:39 +02:00
committed by GitHub
parent e8a8159085
commit 586d26c729
3 changed files with 2 additions and 10 deletions

View File

@@ -29,7 +29,7 @@ enable = [
# "interfacer",
# "misspell",
"rowserrcheck",
"scopelint",
"exportloopref",
"staticcheck",
"structcheck",
# "stylecheck",
@@ -44,10 +44,6 @@ enable = [
# "gocyclo",
# "unparam"
[[issues.exclude-rules]]
path = "_test\\.go"
linters = ["scopelint"]
[[issues.exclude-rules]]
linters = ["gosec"]
text = "G108"

View File

@@ -11,10 +11,6 @@ min-occurrences = 5
[linters]
disable-all = true
[[issues.exclude-rules]]
path = "_test\\.go"
linters = ["scopelint"]
[[issues.exclude-rules]]
linters = ["gosec"]
text = "G108"