Skip to content

Commit ff8ebd0

Browse files
committed
chore: disable QF1008 from staticcheck rules
Signed-off-by: Babak K. Shandiz <babakks@github.com>
1 parent c6bd235 commit ff8ebd0

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.golangci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@ linters:
33
enable:
44
- godot
55
settings:
6+
staticcheck:
7+
# Here, some checks are disabled (note the leading minus sign).
8+
checks:
9+
- all
10+
# These are disabled by the linter's default. We need to repeat them here
11+
# since we're overriding to disable more checks.
12+
- -ST1000
13+
- -ST1003
14+
- -ST1016
15+
- -ST1020
16+
- -ST1021
17+
- -ST1022
18+
19+
# This check is to enforce "omitting embedded fields from selector
20+
# expression". For example, `m.Kind` in favour of `m.Node.Kind` (where
21+
# `Node` is an embedded struct field of `m`)
22+
#
23+
# Disabled to keep the current explicit style.
24+
- -QF1008
625
godot:
726
# comments to be checked: `declarations`, `toplevel`, or `all`
827
scope: declarations

0 commit comments

Comments
 (0)