Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Update .golangci.yml #28

Update .golangci.yml

Update .golangci.yml #28

Triggered via pull request December 19, 2023 12:41
Status Failure
Total duration 41s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
lint
issues found
lint: cmd/myceld/docs/docs.go#L11
exported: func name will be used as docs.DocsCommand by other packages, and that stutters; consider calling this Command (revive)
lint: x/epochs/types/epoch_identifier.go#L8
var-naming: const WeeklyEpochId should be WeeklyEpochID (revive)
lint: x/epochs/types/epoch_identifier.go#L9
var-naming: const DailyEpochId should be DailyEpochID (revive)
lint: x/registry/keeper/query_domain_registration_fee.go#L52
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: x/registry/keeper/msg_server_update_dns_record.go#L13
var-naming: method UpdateDnsRecord should be UpdateDNSRecord (revive)
lint: x/registry/keeper/events.go#L52
var-naming: func EmitUpdateDnsRecordEvent should be EmitUpdateDNSRecordEvent (revive)
lint: x/registry/client/cli/tx_update_dns_record.go#L17
var-naming: func CmdUpdateDnsRecord should be CmdUpdateDNSRecord (revive)
lint: x/registry/client/cli/tx_update_dns_record.go#L25
var-naming: var argDnsRecordType should be argDNSRecordType (revive)
lint: x/resolver/client/cli/query_dns_record.go#L16
var-naming: func CmdDnsRecord should be CmdDNSRecord (revive)
lint: x/resolver/client/cli/query_dns_record.go#L24
var-naming: var reqDnsRecordType should be reqDNSRecordType (revive)