forked from onosproject/onos-e2t
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
97 lines (95 loc) · 2.81 KB
/
.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# SPDX-FileCopyrightText: 2020 Open Networking Foundation <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0
linters:
enable:
- gofmt
# - revive
- misspell
- typecheck
- errcheck
- dogsled
- unconvert
- nakedret
- exportloopref
run:
skip-dirs:
- modelplugin
issues:
exclude:
- Error return value of `.*Close` is not checked
- Error return value of `.*Flush` is not checked
- Error return value of `.*Write` is not checked
- Error return value of `.*Stop` is not checked
exclude-rules:
- path: pkg/southbound/e2ap/asn1cgo/TriggeringMessage.go
linters:
- misspell
- path: pkg/southbound/e2ap/pdubuilder/ric-subscription-delete-failure_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/asn1cgo/CriticalityDiagnostics_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/pdubuilder/ric-subscription-failure_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/pdudecoder/ricSubscriptionFailureDecoder_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/pdubuilder/e2-setup-failure_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/pdubuilder/error-indication_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/asn1cgo/TriggeringMessage.go
linters:
- misspell
- path: pkg/southbound/e2ap/pdubuilder/ric-subscription-delete-failure_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/asn1cgo/CriticalityDiagnostics_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/pdubuilder/ric-subscription-failure_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/pdudecoder/ricSubscriptionFailureDecoder_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/pdubuilder/e2-setup-failure_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/pdubuilder/error-indication_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/pdubuilder/e2-connection-update-failure_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/pdubuilder/e2-node-configuration-update-failure_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/pdubuilder/reset-response_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/pdubuilder/ric-service-update-failure_test.go
linters:
- misspell
- path: pkg/southbound/e2ap/pdudecoder/
linters:
- misspell
- path: api/e2ap/v2
linters:
- revive
- path: api/e2ap_go/v2
linters:
- revive
- path: pkg/southbound/e2ap/asn1cgo/
linters:
- deadcode
- unused
- misspell
- path: pkg/protocols/e2ap/
linters:
- govet