Skip to content

Commit

Permalink
golangci-lint: use revive instead of golint linter
Browse files Browse the repository at this point in the history
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 <mikko.ylinen@intel.com>
  • Loading branch information
mythi committed Jul 26, 2022
1 parent 1878064 commit ebeb7bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit ebeb7bc

Please sign in to comment.