From ebeb7bce45d640d7355d30f286b207cd1a294796 Mon Sep 17 00:00:00 2001 From: Mikko Ylinen Date: Tue, 26 Jul 2022 13:26:43 +0300 Subject: [PATCH] golangci-lint: use revive instead of golint linter test.sh triggers a warning: WARN [runner] The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner. Replaced by revive. Change the script accordingly. Signed-off-by: Mikko Ylinen --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index a5e559062..9a5ca2d79 100755 --- a/test.sh +++ b/test.sh @@ -120,7 +120,7 @@ header_text "running golangci-lint" golangci-lint run --disable-all \ --enable=misspell \ - --enable=golint \ + --enable=revive \ --enable=govet \ --enable=deadcode \ --enable=goimports \