From fb6cc41f3ba9959b28b1805038abe4e4018a72a8 Mon Sep 17 00:00:00 2001 From: Niclas Thall Date: Fri, 18 Oct 2024 14:59:44 +0200 Subject: [PATCH] feat(sggolangcilint): add slog linter https://github.com/go-simpler/sloglint --- tools/sggolangcilint/golangci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/sggolangcilint/golangci.yml b/tools/sggolangcilint/golangci.yml index 73c303b1..05c6a7f2 100644 --- a/tools/sggolangcilint/golangci.yml +++ b/tools/sggolangcilint/golangci.yml @@ -198,6 +198,8 @@ linters: # [fast: false, auto-fix: false] - spancheck + # Ensure consistent code style when using log/slog. + - sloglint linters-settings: gomodguard: blocked: