Skip to content

chore: run linter on CI #27

chore: run linter on CI

chore: run linter on CI #27

Triggered via pull request January 11, 2024 14:18
@n0izn0izn0izn0iz
synchronize #79
lint
Status Failure
Total duration 2m 48s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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)