We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
QF1008
staticcheck
1 parent c6bd235 commit ff8ebd0Copy full SHA for ff8ebd0
1 file changed
.golangci.yml
@@ -3,6 +3,25 @@ linters:
3
enable:
4
- godot
5
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
25
godot:
26
# comments to be checked: `declarations`, `toplevel`, or `all`
27
scope: declarations
0 commit comments