Skip to content

Commit dca762a

Browse files
committed
disable some staticcheck lints
1 parent 94474a2 commit dca762a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.golangci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ linters:
1818
govet:
1919
enable:
2020
- nilness
21+
staticcheck:
22+
checks:
23+
- all
24+
# disable: could remove embedded field "field" from selector
25+
# explicit selectors can be clearer
26+
- '-QF1008'
27+
# TODO: re-enable. We have a lot of packages without comments and the
28+
# diff to upgrade go is already huge
29+
- '-ST1000'
30+
# We have a lot of legacy capitalized error strings that are really user
31+
# Facing log messages
32+
- '-ST1005'
2133
exclusions:
2234
paths:
2335
- .git

0 commit comments

Comments
 (0)