forked from neuvector/neuvector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
29 lines (28 loc) · 1023 Bytes
/
.golangci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
linters:
disable-all: true
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- unused
- gofmt
issues:
exclude-rules:
- path: share/
linters:
- staticcheck
text: 'SA5008: unknown JSON option ("cloak"|"overflow")'
- path: controller/
linters:
- staticcheck
text: 'SA5008: unknown JSON option ("cloak"|"overflow")'
exclude:
- "SA1019: grpc.RPCCompressor is deprecated: use encoding.RegisterCompressor"
- "SA1019: grpc.RPCDecompressor is deprecated: use encoding.RegisterCompressor"
- "SA1019: grpc.WithDecompressor is deprecated: use encoding.RegisterCompressor"
- "SA1019: grpc.WithCompressor is deprecated: use UseCompressor"
- "SA1019: grpc.WithInsecure is deprecated: use WithTransportCredentials and insecure.NewCredentials()"
- "SA1019: grpc.WithDialer is deprecated: use WithContextDialer"
- "SA1019: grpc.WithTimeout is deprecated: use DialContext instead of Dial and context.WithTimeout"