From 0da7670dcd929edb5ea237214f38d1fb2e4b68b1 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Fri, 27 Feb 2026 16:17:42 +0300 Subject: [PATCH] .golangci.yml: enable modernize linter Ref. https://ville.dev/blog/posts/go-modernize/. The support of gopls modernize tool is not available (ref. https://github.com/golangci/golangci-lint/discussions/5466), but this `modernize` linter may be tried instead. Signed-off-by: Anna Shaleva --- .golangci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 63d090a..249e675 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -55,6 +55,9 @@ linters: - staticcheck - unused + # code improvements suggestion + - modernize + # extra linters # - goconst # - err113