Fix a lot of linting issues. #7173
Annotations
10 errors and 1 warning
golangci-lint:
cmd/provenanced/config/toml.go#L54
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
golangci-lint:
x/quarantine/quarantine.go#L88
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
golangci-lint:
testutil/cli/exec.go#L30
exported: type name will be used as cli.CLITxExecutor by other packages, and that stutters; consider calling this TxExecutor (revive)
|
golangci-lint:
cmd/provenanced/cmd/genesis.go#L613
S1040: type assertion to the same type: msg already has type sdk.Msg (gosimple)
|
golangci-lint:
internal/provwasm/message_encoders.go#L43
SA1019: wasm.MessageEncoders is deprecated: Do not use. (staticcheck)
|
golangci-lint:
internal/provwasm/message_encoders.go#L44
SA1019: wasm.MessageEncoders is deprecated: Do not use. (staticcheck)
|
golangci-lint:
internal/provwasm/message_encoders.go#L50
SA1019: wasm.CustomEncoder is deprecated: Do not use. (staticcheck)
|
golangci-lint:
internal/provwasm/query_plugins.go#L46
SA1019: wasm.QueryPlugins is deprecated: Do not use. (staticcheck)
|
golangci-lint:
internal/provwasm/query_plugins.go#L47
SA1019: wasm.QueryPlugins is deprecated: Do not use. (staticcheck)
|
golangci-lint:
internal/provwasm/query_plugins.go#L54
SA1019: wasm.CustomQuerier is deprecated: Do not use. (staticcheck)
|
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|