chore: run linter on CI #27
Annotations
10 errors
test:
x/mint/types/params.go#L90
Error return value of `json.Unmarshal` is not checked (errcheck)
|
test:
x/mint/keeper/keeper.go#L38
type `insufficientDevVestingBalanceError` is unused (unused)
|
test:
x/mint/keeper/keeper.go#L43
func `insufficientDevVestingBalanceError.Error` is unused (unused)
|
test:
cmd/teritorid/cmd/richest_snapshot.go#L144
S1002: should omit comparison to bool constant, can be simplified to `excludeAddrs[address]` (gosimple)
|
test:
app/fee.go#L71
S1034: assigning the result of this type assertion to a variable (switch msg := msg.(type)) could eliminate type assertions in switch cases (gosimple)
|
test:
app/fee.go#L73
S1034(related information): could eliminate this type assertion (gosimple)
|
test:
x/airdrop/client/cli/tx.go#L43
ineffectual assignment to err (ineffassign)
|
test:
x/airdrop/client/cli/tx.go#L73
ineffectual assignment to err (ineffassign)
|
test:
x/mint/client/cli/tx.go#L38
ineffectual assignment to err (ineffassign)
|
test:
x/airdrop/client/cli/fetch_and_remove_airdrop.go#L47
SA5001: should check returned error before deferring f.Close() (staticcheck)
|