From 49c8acf2f6ea7e57d6b4d3098e97819dc49b8382 Mon Sep 17 00:00:00 2001 From: Alessandro Ros Date: Sun, 4 Aug 2024 13:10:14 +0200 Subject: [PATCH] update golangci-lint (#3611) --- .golangci.yml | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 1ac50f4c..b418e77e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -14,9 +14,11 @@ linters: - misspell - nilerr - prealloc + - predeclared - revive - usestdlibvars - unconvert + - tenv - tparallel - wastedassign - whitespace diff --git a/Makefile b/Makefile index 0b10828b..2bd05b85 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ BASE_IMAGE = golang:1.22-alpine3.19 -LINT_IMAGE = golangci/golangci-lint:v1.56.2 +LINT_IMAGE = golangci/golangci-lint:v1.59.1 NODE_IMAGE = node:20-alpine3.19 ALPINE_IMAGE = alpine:3.19 RPI32_IMAGE = balenalib/raspberry-pi:bullseye-run-20230712