From 77d911b7fee1c25e1bedfbc930c7e7728704b809 Mon Sep 17 00:00:00 2001 From: Matthias Rampke Date: Sun, 15 Sep 2024 09:38:10 +0000 Subject: [PATCH] Enable all govet linters except fieldalignment When linting, govet complains about the deprecated `check-shadowing` setting. Replace it with enabling all currently passing linters. This excludes only `fieldalignment`. Signed-off-by: Matthias Rampke --- .golangci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index c3ce04d..ebeb43b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -15,7 +15,9 @@ linters: - whitespace linters-settings: govet: - check-shadowing: true + enable-all: true + disable: + - fieldalignment issues: exclude-use-default: false exclude: