Update Makefile: add verbosity to xgo #1860
Annotations
10 errors and 3 warnings
lint:
x/emergencybutton/keeper/genesis.go#L12
Error return value of `i.SetParams` is not checked (errcheck)
|
lint:
x/emergencybutton/keeper/params.go#L30
Error return value of `i.SetParams` is not checked (errcheck)
|
lint:
x/emergencybutton/migrations/v2/migrate.go#L15
File is not `gofumpt`-ed (gofumpt)
|
lint:
x/emergencybutton/keeper/keeper.go#L10
SA1019: "github.com/cosmos/ibc-go/v8/modules/core/02-client/types" is deprecated: The legacy v1beta1 gov types maintained in this file are deprecated and will be removed in a future release. Please use MsgIBCSoftwareUpgrade and MsgRecoverClient in favour of the legacy v1beta1 gov proposal types. (staticcheck)
|
lint:
app/upgrades/v1.15/upgrade.go#L28
SA1019: "github.com/cosmos/ibc-go/v8/modules/core/02-client/types" is deprecated: The legacy v1beta1 gov types maintained in this file are deprecated and will be removed in a future release. Please use MsgIBCSoftwareUpgrade and MsgRecoverClient in favour of the legacy v1beta1 gov proposal types. (staticcheck)
|
lint:
x/emergencybutton/keeper/genesis.go#L16
ST1016: methods on the same type should have the same receiver name (seen 11x "i", 1x "k") (stylecheck)
|
lint:
x/emergencybutton/keeper/keeper.go#L8
directive `//nolint:staticcheck` is unused for linter "staticcheck" (nolintlint)
|
lint:
app/upgrades/v1.15/upgrade.go#L83
directive `//nolint:staticcheck` is unused for linter "staticcheck" (nolintlint)
|
lint:
app/upgrades/v1.15/upgrade.go#L87
directive `//nolint:staticcheck` is unused for linter "staticcheck" (nolintlint)
|
lint
issues found
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/SecretNetwork/SecretNetwork. Supported file pattern: go.sum
|
lint:
x/emergencybutton/keeper/keeper.go#L64
receiver-naming: receiver name k should be consistent with previous receiver name i for Keeper (revive)
|