mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-27 05:04:52 +00:00
golangci-lint: logcheck v0.7.0, golangci-lint v1.55.2
This adds support for the new golangci-lint plugin interface and settings mechanism.
This commit is contained in:
@@ -50,12 +50,6 @@ PATH="${GOBIN}:${PATH}"
|
||||
|
||||
invocation=(./hack/verify-golangci-lint.sh "$@")
|
||||
|
||||
# Disable warnings about the logcheck plugin using the old API
|
||||
# (https://github.com/golangci/golangci-lint/issues/4001).
|
||||
# Can be removed once logcheck gets updated to a newer release
|
||||
# which uses the new plugin API
|
||||
export GOLANGCI_LINT_HIDE_WARNING_ABOUT_PLUGIN_API_DEPRECATION=1
|
||||
|
||||
# The logcheck plugin currently has to be configured via env variables
|
||||
# (https://github.com/golangci/golangci-lint/issues/1512).
|
||||
#
|
||||
|
Reference in New Issue
Block a user