File tree 2 files changed +5
-3
lines changed 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ linters:
21
21
- prealloc
22
22
- predeclared
23
23
- promlinter
24
+ - staticcheck
24
25
- tagliatelle
25
26
- typecheck
26
27
- unused
@@ -66,7 +67,6 @@ linters:
66
67
# - rowserrcheck
67
68
# - scopelint
68
69
# - sqlclosecheck
69
- # - staticcheck
70
70
# - stylecheck
71
71
# - testpackage
72
72
# - thelper
@@ -77,6 +77,8 @@ linters:
77
77
# - wrapcheck
78
78
# - wsl
79
79
linters-settings :
80
+ staticcheck :
81
+ checks : ["SA1019"]
80
82
gocritic :
81
83
enabled-checks :
82
84
# Diagnostic
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ import (
31
31
"sync"
32
32
"time"
33
33
34
- "github.com/golang/protobuf/jsonpb"
35
- "github.com/golang/protobuf/proto"
34
+ "github.com/golang/protobuf/jsonpb" //nolint:staticcheck
35
+ "github.com/golang/protobuf/proto" //nolint:staticcheck
36
36
utilyaml "k8s.io/apimachinery/pkg/util/yaml"
37
37
cri "k8s.io/cri-api/pkg/apis"
38
38
internalapi "k8s.io/cri-api/pkg/apis"
You can’t perform that action at this time.
0 commit comments