hack: update golangci-lint to v1.46.2

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 65e1adc219)
Signed-off-by: Cory Snider <csnider@mirantis.com>
This commit is contained in:
Sebastiaan van Stijn 2022-07-02 19:20:06 +02:00 committed by Cory Snider
parent 057ea3492e
commit 432fbc8638
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
: "${GOLANGCI_LINT_VERSION=v1.44.0}"
: "${GOLANGCI_LINT_VERSION=v1.46.2}"
install_golangci_lint() {
set -e

View file

@ -42,7 +42,7 @@ issues:
# ID's.
#
# These exclusion patterns are copied from the default excluses at:
# https://github.com/golangci/golangci-lint/blob/v1.44.0/pkg/config/issues.go#L10-L104
# https://github.com/golangci/golangci-lint/blob/v1.46.2/pkg/config/issues.go#L10-L104
# EXC0001
- text: "Error return value of .((os\\.)?std(out|err)\\..*|.*Close|.*Flush|os\\.Remove(All)?|.*print(f|ln)?|os\\.(Un)?Setenv). is not checked"