From 7a58d8231f23098b3b4806dad0fe9f6c735b4a58 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Mon, 31 Mar 2025 17:13:26 -0700 Subject: [PATCH] .golanci-extra: disable staticcheck QF1008 That is, > QF1008: could remove embedded field "Resources" from selector (staticcheck) While occasionally useful, in other cases it actually decreases readability, so let's disable it even for "extra" (i.e. "new code") linters. Signed-off-by: Kir Kolyshkin --- .golangci-extra.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.golangci-extra.yml b/.golangci-extra.yml index 0b27a1bf0..fdc20c774 100644 --- a/.golangci-extra.yml +++ b/.golangci-extra.yml @@ -19,3 +19,4 @@ linters: staticcheck: checks: - all + - -QF1008 # https://staticcheck.dev/docs/checks/#QF1008 Omit embedded fields from selector expression.