Skip to content

minor

minor #736

Triggered via push August 7, 2023 10:29
Status Failure
Total duration 40s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: x/ratelimit/types/keys.go#L35
unslice: could simplify channelIdBz[:] to channelIdBz (gocritic)
lint: x/ratelimit/types/expected_keepers.go#L18
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: x/ratelimit/types/quota.go#L8
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: x/ratelimit/types/keys.go#L33
var-naming: func parameter channelId should be channelID (revive)
lint: x/ratelimit/types/keys.go#L34
var-naming: var channelIdBz should be channelIDBz (revive)
lint: x/ratelimit/types/epoch.go#L9
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
lint: x/ratelimit/types/keys.go#L30
var-declaration: should omit type int from declaration of var PendingSendPacketChannelLength; it will be inferred from the right-hand side (revive)
lint: x/ratelimit/types/msg.go#L193
if-return: redundant if ...; err != nil check, just return error instead. (revive)
lint: x/ratelimit/types/epoch.go#L10
var-declaration: should omit type time.Duration from declaration of var EpochHourPeriod; it will be inferred from the right-hand side (revive)
lint: x/ratelimit/types/msg.go#L239
if-return: redundant if ...; err != nil check, just return error instead. (revive)