From 7d27deaaa1006405f23ff7ea217e4ecf27ff3741 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Mon, 14 Jul 2025 10:34:41 +0200 Subject: [PATCH] lint: update linter config --- .golangci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 51013e7..12b186d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,11 +1,12 @@ run: # timeout for analysis timeout: 4m + go: "1.23" linters-settings: govet: # Don't report about shadowed variables - check-shadowing: false + shadow: false gofmt: # simplify code: gofmt with `-s` option, true by default simplify: true @@ -17,7 +18,6 @@ linters-settings: rules: json: snake staticcheck: - go: "1.18" checks: ["-SA1019"] gomoddirectives: replace-allow-list: @@ -34,7 +34,6 @@ linters: - varnamelen - wrapcheck - testpackage - - gomnd - err113 - exhaustruct - forbidigo