imp(cli): Add flags to CLI commands to enable more configuration #47
Annotations
10 errors and 2 warnings
lint:
utils/utils.go#L70
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
lint:
utils/utils.go#L200
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
lint:
gov/deposit.go#L64
gov/deposit.go:64: Line contains TODO/BUG/FIXME: "FIXME: It wasn't possible to unmarshal t..." (godox)
|
lint:
utils/utils.go#L203
unreachable: unreachable code (govet)
|
lint:
utils/utils.go#L138
Magic number: 2, in <argument> detected (mnd)
|
lint:
utils/utils.go#L94
Magic number: 2, in <condition> detected (mnd)
|
lint:
utils/utils.go#L205
break with no blank line before (nlreturn)
|
lint:
utils/utils.go#L192
parameter name 'n' is too short for the scope of its usage (varnamelen)
|
lint:
gov/vote.go#L34
error returned from external package is unwrapped: sig: func github.com/MalteHerrmann/evmos-utils/utils.WaitNBlocks(bin *github.com/MalteHerrmann/evmos-utils/utils.Binary, n int) error (wrapcheck)
|
lint
issues found
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint:
gov/vote.go#L58
increment-decrement: should replace successfulVotes += 1 with successfulVotes++ (revive)
|