Skip to content

Commit ee9d484

Browse files
committed
fix(golangci): Move staticcheck settings to the linters section
1 parent ee94473 commit ee9d484

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.golangci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,19 @@ linters:
2121
locale: US
2222
unparam:
2323
check-exported: false
24+
staticcheck:
25+
checks:
26+
- all
27+
- '-SA1029'
28+
- '-SA1019'
29+
- '-ST1003'
2430
exclusions:
2531
generated: lax
2632
presets:
2733
- comments
2834
- common-false-positives
2935
- legacy
3036
- std-error-handling
31-
rules:
32-
- linters:
33-
- staticcheck
34-
text: 'SA1029:'
3537
paths:
3638
- configs
3739
- third_party$

pkg/interceptors/request_id_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (ss *testServerStream) SendMsg(m interface{}) error {
8181
return nil
8282
}
8383

84-
func (f *testServerStream) RecvMsg(m interface{}) error {
84+
func (ss *testServerStream) RecvMsg(m interface{}) error {
8585
return nil
8686
}
8787

0 commit comments

Comments
 (0)