File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,23 @@ linters:
5151 - " -ST1020"
5252 - " -ST1021"
5353 - " -ST1022"
54- # FIXME: this below this point is disabled for now, but we should investigate
55- - " -QF1008" # Omit embedded fields from selector expression https://staticcheck.dev/docs/checks#QF1008
56- - " -QF1003" # Convert if/else-if chain to tagged switch https://staticcheck.dev/docs/checks#QF1003
57- - " -QF1001" # Apply De Morgan’s law https://staticcheck.dev/docs/checks#QF1001
58- - " -QF1012" # Use fmt.Fprintf(x, ...) instead of x.Write(fmt.Sprintf(...)) https://staticcheck.dev/docs/checks#QF1012
54+
55+ # #### TODO: fix and enable these
56+ # 4 occurrences.
57+ # Use fmt.Fprintf(x, ...) instead of x.Write(fmt.Sprintf(...)) https://staticcheck.dev/docs/checks#QF1012
58+ - " -QF1012"
59+ # 6 occurrences.
60+ # Apply De Morgan’s law https://staticcheck.dev/docs/checks#QF1001
61+ - " -QF1001"
62+ # 10 occurrences.
63+ # Convert if/else-if chain to tagged switch https://staticcheck.dev/docs/checks#QF1003
64+ - " -QF1003"
65+
66+ # #### These have been vetted to be disabled.
67+ # 55 occurrences. Omit embedded fields from selector expression https://staticcheck.dev/docs/checks#QF1008
68+ # Usefulness is questionable.
69+ - " -QF1008"
70+
5971 revive :
6072 enable-all-rules : true
6173 rules :
You can’t perform that action at this time.
0 commit comments