Deprecate 'scopelint' linter ()

* Deprecate scopelint linter

* clean code base.
This commit is contained in:
Ludovic Fernandez 2021-03-09 19:19:22 +01:00 committed by GitHub
parent 8d0075da00
commit fce3949d5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 12 additions and 11 deletions

View file

@ -337,9 +337,9 @@ func TestPathPrefix(t *testing.T) {
} {
t.Run(tt.Name, func(t *testing.T) {
testshared.NewLintRunner(t).Run(
append(tt.Args, getTestDataDir("withtests"))..., //nolint:scopelint
append(tt.Args, getTestDataDir("withtests"))...,
).ExpectOutputRegexp(
tt.Pattern, //nolint:scopelint
tt.Pattern,
)
})
}