File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
linters-settings :
2
2
govet :
3
3
check-shadowing : true
4
- golint :
5
- min-confidence : 0
6
4
gocyclo :
7
5
min-complexity : 50
8
6
maligned :
@@ -43,10 +41,13 @@ linters:
43
41
- cyclop # because we have gocyclo already
44
42
# TODO: review the linters below. We disabled them to make the CI pass first.
45
43
- gocritic
46
- - revive
47
44
- containedctx
48
45
- ireturn
49
46
- varnamelen
50
47
- forcetypeassert
51
48
- thelper
52
- - wastedassign
49
+ - wastedassign
50
+ # Disable deprecated linters.
51
+ # They will be removed from golangci-lint in future.
52
+ - interfacer
53
+ - golint
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const (
19
19
none operationType = "none" // not specified in ctx
20
20
)
21
21
22
- var operationTypeEnum [] operationType = []operationType {request , response , none }
22
+ var operationTypeEnum = []operationType {request , response , none }
23
23
24
24
// WithOperationRequest returns a new context with operationType request
25
25
// in context value
You can’t perform that action at this time.
0 commit comments