2019-07-22 12:05:57 +03:00
|
|
|
run:
|
|
|
|
# timeout for analysis
|
|
|
|
deadline: 4m
|
2019-09-10 13:35:31 +03:00
|
|
|
build-tags:
|
|
|
|
- autopilotrpc
|
|
|
|
- chainrpc
|
|
|
|
- invoicesrpc
|
|
|
|
- routerrpc
|
|
|
|
- signrpc
|
|
|
|
- walletrpc
|
|
|
|
- watchtowerrpc
|
|
|
|
- wtclientrpc
|
2019-07-22 12:05:57 +03:00
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
govet:
|
|
|
|
# Don't report about shadowed variables
|
|
|
|
check-shadowing: false
|
|
|
|
gofmt:
|
|
|
|
# simplify code: gofmt with `-s` option, true by default
|
|
|
|
simplify: true
|
|
|
|
|
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- gofmt
|
|
|
|
- golint
|
|
|
|
- govet
|
2019-09-10 13:35:39 +03:00
|
|
|
- unused
|