-
Notifications
You must be signed in to change notification settings - Fork 5
/
.reviewdog.yml
64 lines (51 loc) · 1.27 KB
/
.reviewdog.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
runner:
golint:
cmd: "golint ./pkg/..."
errorformat:
- "%f:%l:%c: %m"
govet:
cmd: "go vet ./pkg/..."
misspell:
cmd: "misspell ./pkg/..."
errorformat:
- "%f:%l:%c: %m"
unused:
cmd: "unused ./pkg/..."
errorformat:
- "%f:%l:%c: %m"
gosimple:
cmd: "gosimple ./pkg/..."
errorformat:
- "%f:%l:%c: %m"
varcheck:
cmd: "varcheck ./pkg/..."
errorformat:
- "%f:%l:%c: %m"
structcheck:
cmd: "structcheck ./pkg/..."
errorformat:
- "%f:%l:%c: %m"
staticcheck:
cmd: "staticcheck -ignore '*_test.go' ./pkg/..."
errorformat:
- "%f:%l:%c: %m"
errcheck:
cmd: "errcheck -ignore 'io:.*,ioutil:.*,net/http:.*' -asserts -ignoretests ./pkg/..."
errorformat:
- "%f:%l:%c:%m"
unconvert:
cmd: "unconvert ./pkg/..."
errorformat:
- "%f:%l:%c: %m"
ineffassign:
cmd: "gometalinter --vendor --disable-all --enable=ineffassign ./pkg/..."
errorformat:
- "%f:%l:%c:%s: %m"
deadcode:
cmd: "gometalinter --vendor --disable-all --enable=deadcode ./pkg/..."
errorformat:
- "%f:%l:%c:%s: %m"
gas:
cmd: "gometalinter --vendor --disable-all --enable=gas --exclude='Errors unhandled' ./pkg/..."
errorformat:
- "%f:%l::%s: %m,%s,%s"