From 4584726985857e800b4a34bec4b0befe1eeb2feb Mon Sep 17 00:00:00 2001 From: Alessandro Ros Date: Sat, 1 Mar 2025 11:37:42 +0100 Subject: [PATCH] update linter (#4294) --- .golangci.yml | 5 +++-- Makefile | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index b418e77e..4bfbdcf6 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -3,9 +3,10 @@ linters: - asciicheck - bidichk - bodyclose + #- contextcheck + - copyloopvar - dupl - errorlint - - exportloopref - gochecknoinits - gocritic - gofmt @@ -18,7 +19,7 @@ linters: - revive - usestdlibvars - unconvert - - tenv + #- usetesting - tparallel - wastedassign - whitespace diff --git a/Makefile b/Makefile index cffe5625..e39b1721 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ BASE_IMAGE = golang:1.23-alpine3.20 -LINT_IMAGE = golangci/golangci-lint:v1.61.0 +LINT_IMAGE = golangci/golangci-lint:v1.64.5 NODE_IMAGE = node:20-alpine3.20 ALPINE_IMAGE = alpine:3.20 RPI32_IMAGE = balenalib/raspberry-pi:bullseye-run-20240508