File tree Expand file tree Collapse file tree 6 files changed +52
-7
lines changed Expand file tree Collapse file tree 6 files changed +52
-7
lines changed Original file line number Diff line number Diff line change
1
+ # Configuration for golangci-lint for scion-apps.
2
+ # See https://github.com/golangci/golangci-lint#config-file
3
+
4
+ linters :
5
+ enable :
6
+ # enabled by default:
7
+ # - deadcode
8
+ # - errcheck
9
+ # - gosimple
10
+ # - govet
11
+ # - ineffassign
12
+ # - staticcheck
13
+ # - structcheck
14
+ # - typecheck
15
+ # - unused
16
+ # - varcheck
17
+ - asciicheck
18
+ - bidichk
19
+ - contextcheck
20
+ - dupl
21
+ - durationcheck
22
+ - errname
23
+ - errorlint
24
+ - exportloopref
25
+ - gci
26
+ - gofmt
27
+ - ifshort
28
+ - importas
29
+ - makezero
30
+ - misspell
31
+ - nilerr
32
+ - nilnil
33
+ - nolintlint
34
+ - prealloc
35
+ - stylecheck
36
+ - thelper
37
+ - wastedassign
38
+ - tenv
39
+
40
+ issues :
41
+ max-same-issues : 0
42
+
43
+ linters-settings :
44
+ gci :
45
+ local-prefixes : examples
46
+ exhaustive :
47
+ default-signifies-exhaustive : true
48
+
49
+ run :
50
+ build-tags : integration
Original file line number Diff line number Diff line change @@ -25,10 +25,9 @@ import (
25
25
"time"
26
26
27
27
"github.com/lucas-clemente/quic-go"
28
- "inet.af/netaddr"
29
-
30
28
"github.com/netsec-ethz/scion-apps/pkg/pan"
31
29
"github.com/netsec-ethz/scion-apps/pkg/quicutil"
30
+ "inet.af/netaddr"
32
31
)
33
32
34
33
func main () {
Original file line number Diff line number Diff line change @@ -22,9 +22,8 @@ import (
22
22
"os"
23
23
"time"
24
24
25
- "inet.af/netaddr"
26
-
27
25
"github.com/netsec-ethz/scion-apps/pkg/pan"
26
+ "inet.af/netaddr"
28
27
)
29
28
30
29
func main () {
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import (
23
23
"os"
24
24
25
25
"github.com/gorilla/handlers"
26
-
27
26
"github.com/netsec-ethz/scion-apps/pkg/shttp"
28
27
)
29
28
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import (
10
10
"os"
11
11
12
12
"github.com/gorilla/handlers"
13
-
14
13
"github.com/netsec-ethz/scion-apps/pkg/shttp"
15
14
)
16
15
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ import (
24
24
"time"
25
25
26
26
"github.com/gorilla/handlers"
27
-
28
27
"github.com/netsec-ethz/scion-apps/pkg/shttp"
29
28
)
30
29
You can’t perform that action at this time.
0 commit comments