Skip to content

fix(code standards): bring over more linters and the github integration from hub repo #1

fix(code standards): bring over more linters and the github integration from hub repo

fix(code standards): bring over more linters and the github integration from hub repo #1

Triggered via pull request May 15, 2024 14:37
Status Failure
Total duration 2m 8s
Artifacts

golangci_lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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)