From 239a7b6e6fec21dc8fdb54ace2f85d575f7dd385 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/ --- .golangci.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index c0df40161..c3cbae0dc 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 4dc679ce3..e40dad505 100644 --- a/Makefile +++ b/Makefile @@ -492,7 +492,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 ./...