From b74dbdbc827c129aa0be2ac3110916f427490769 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 11 Jun 2024 16:01:26 +0200 Subject: [PATCH] Makefile: update golangci-lint from v1.57.1 to v1.59.1 See https://github.com/golangci/golangci-lint/releases/tag/v1.59.1 Thanks to ccoVeille for the suggestion at https://www.reddit.com/r/golang/comments/1dcl4ne/log_viewer_in_go/l82vsfd/ (cherry picked from commit 239a7b6e6fec21dc8fdb54ace2f85d575f7dd385) --- .golangci.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index c0df40161d..c3cbae0dce 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -16,4 +16,4 @@ issues: linters-settings: errcheck: - exclude: ./errcheck_excludes.txt + exclude-functions: ./errcheck_excludes.txt diff --git a/Makefile b/Makefile index 773135007c..031c247eba 100644 --- a/Makefile +++ b/Makefile @@ -231,7 +231,7 @@ golangci-lint: install-golangci-lint golangci-lint run install-golangci-lint: - which golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.57.1 + which golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.59.1 govulncheck: install-govulncheck govulncheck ./...