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:
Patrick Ohly
2023-11-06 13:12:31 +01:00
parent 3ca88dc1d0
commit 49084fe577
3 changed files with 28 additions and 28 deletions

View File

@@ -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).
#