imp(cli): Add flags to CLI commands to enable more configuration #48
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:
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#L141
Magic number: 2, in <argument> detected (mnd)
|
lint:
utils/utils.go#L203
Magic number: 2, in <argument> detected (mnd)
|
lint:
utils/utils.go#L97
Magic number: 2, in <condition> detected (mnd)
|
lint:
utils/utils.go#L195
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:
utils/utils.go#L204
assignments should only be cuddled with other assignments (wsl)
|
lint:
utils/utils.go#L205
only one cuddle assignment allowed before if statement (wsl)
|
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)
|