mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
.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 <kolyshkin@gmail.com>
This commit is contained in:
@@ -19,3 +19,4 @@ linters:
|
|||||||
staticcheck:
|
staticcheck:
|
||||||
checks:
|
checks:
|
||||||
- all
|
- all
|
||||||
|
- -QF1008 # https://staticcheck.dev/docs/checks/#QF1008 Omit embedded fields from selector expression.
|
||||||
|
|||||||
Reference in New Issue
Block a user