Use golangci-lint to find unused/dead code

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
Davanum Srinivas
2021-02-16 10:58:07 -05:00
parent 47d0766106
commit 865fd2f04f
5 changed files with 271 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ EXCLUDED_PATTERNS=(
"verify-linkcheck.sh" # runs in separate Jenkins job once per day due to high network usage
"verify-*-dockerized.sh" # Don't run any scripts that intended to be run dockerized
"verify-govet-levee.sh" # Do not run levee analysis by default while KEP-1933 implementation is in alpha.
"verify-golangci-lint.sh" # Experimental - intended to be run by hand periodically
)
# Exclude generated-files-remake in certain cases, if they're running in a separate job.