-
Notifications
You must be signed in to change notification settings - Fork 0
/
.reviewdog.yml
38 lines (37 loc) · 950 Bytes
/
.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
# reviewdog.yml
runner:
golint:
cmd: golint $(go list ./... | grep -v /vendor/)
format: golint
level: warning
govet:
cmd: go vet $(go list ./... | grep -v /vendor/)
format: govet
errcheck:
cmd: errcheck -asserts -ignoretests -blank $(go list ./... | grep -v /vendor/)
errorformat:
- "%f:%l:%c:%m"
level: warning
staticcheck:
cmd: staticcheck $(go list ./... | grep -v /vendor/)
errorformat:
- "%f:%l:%c: %m"
misspell:
cmd: misspell $(git ls-files)
errorformat:
- "%f:%l:%c: %m"
unparam:
cmd: unparam $(go list ./... | grep -v /vendor/)
errorformat:
- "%f:%l:%c: %m"
revive:
cmd: revive -config=.revive.toml $(go list ./... | grep -v /vendor/)
format: golint
level: warning
golangci:
cmd: golangci-lint run --out-format=line-number ./...
errorformat:
- '%E%f:%l:%c: %m'
- '%E%f:%l: %m'
- '%C%.%#'
level: warning