forked from netsec-ethz/scion-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
50 lines (44 loc) · 968 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Configuration for golangci-lint for scion-apps.
# See https://github.com/golangci/golangci-lint#config-file
linters:
enable:
# enabled by default:
#- deadcode
#- errcheck
#- gosimple
#- govet
#- ineffassign
#- staticcheck
#- structcheck
#- typecheck
#- unused
#- varcheck
- gofmt
- stylecheck # replacement for golint
- dupl
- misspell
issues:
# XXX exclude some linters where there are too many issues to fix now
exclude-rules:
- path: bwtester/
linters:
- stylecheck
- path: webapp/
linters:
- stylecheck
- staticcheck
- errcheck
- path: ssh/
linters:
- errcheck
max-same-issues: 0
run:
# Bat is mostly copied third-party code that we don't care to fix
# Modifications are only (?) in bat/bat.go
skip-dirs:
- bat/*/
skip-files:
- bat/color.go
- bat/bench.go
- bat/pb.go
- bat/http.go