fix(code standards): bring over more linters and the github integration from hub repo #1
golangci_lint.yml
on: pull_request
golangci-lint
1m 57s
Annotations
10 errors
golangci-lint:
block/submit_test.go#L51
Error return value of `manager.HandleSubmissionTrigger` is not checked (errcheck)
|
golangci-lint:
block/submit_test.go#L103
Error return value of `manager.HandleSubmissionTrigger` is not checked (errcheck)
|
golangci-lint:
conv/addr_test.go#L58
G601: Implicit memory aliasing in for loop. (gosec)
|
golangci-lint:
mempool/cache.go#L79
Error return value is not checked (errcheck)
|
golangci-lint:
mempool/v1/mempool.go#L209
Error return value is not checked (errcheck)
|
golangci-lint:
mempool/v1/mempool_bench_test.go#L16
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
|
golangci-lint:
mempool/v1/mempool_test.go#L116
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
|
golangci-lint:
mempool/v1/mempool_test.go#L411
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
|
golangci-lint:
p2p/client.go#L324
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
rpc/json/handler.go#L203
unnecessary conversion (unconvert)
|