Merge pull request #185 from stader-labs/update-version #265
Annotations
10 errors and 10 warnings
Golangci:
shared/utils/string-utils/str-convs.go#L17
`seperated` is a misspelling of `separated` (misspell)
|
Golangci:
shared/utils/string-utils/str-convs.go#L10
Consider pre-allocating `strArr` (prealloc)
|
Golangci:
shared/utils/string-utils/str-convs.go#L19
Consider pre-allocating `intArr` (prealloc)
|
Golangci:
shared/utils/string-utils/str-convs.go#L1
var-naming: don't use an underscore in package name (revive)
|
Golangci:
shared/utils/string-utils/str-convs.go#L14
return statements should not be cuddled if block has more than two lines (wsl)
|
Golangci:
shared/utils/string-utils/str-convs.go#L25
append only allowed to cuddle with appended value (wsl)
|
Golangci:
shared/utils/string-utils/str-convs.go#L20
ranges should only be cuddled with assignments used in the iteration (wsl)
|
Golangci:
shared/utils/string-utils/str-convs.go#L27
return statements should not be cuddled if block has more than two lines (wsl)
|
Golangci:
shared/utils/string-utils/str-convs.go#L21
mnd: Magic number: 10, in <argument> detected (gomnd)
|
Golangci:
shared/utils/arr-utils/arr.go#L1
var-naming: don't use an underscore in package name (revive)
|
Golangci:
shared/types/config/types.go#L124
var-naming: don't use underscores in Go names; const MevSelectionMode_Unknow should be MevSelectionModeUnknow (revive)
|
Golangci:
shared/types/config/types.go#L125
var-naming: don't use underscores in Go names; const MevSelectionMode_Profile should be MevSelectionModeProfile (revive)
|
Golangci:
shared/types/config/types.go#L126
var-naming: don't use underscores in Go names; const MevSelectionMode_Relay should be MevSelectionModeRelay (revive)
|
Golangci:
shared/types/config/types.go#L131
var-naming: don't use underscores in Go names; const NimbusPruningMode_Archive should be NimbusPruningModeArchive (revive)
|
Golangci:
shared/types/config/types.go#L132
var-naming: don't use underscores in Go names; const NimbusPruningMode_Prune should be NimbusPruningModePrune (revive)
|
Golangci:
shared/utils/sys/cpu-flags.go#L30
var-naming: func GetMissingModernCpuFeatures should be GetMissingModernCPUFeatures (revive)
|
Golangci:
stader-cli/wallet/bip39/mnemonic-validator.go#L70
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
|
Golangci:
stader-lib/types/validator.go#L14
var-naming: struct field OperatorId should be OperatorID (revive)
|
Golangci:
shared/services/gas/etherchain/etherchain.go#L30
var-naming: const gasNowUrl should be gasNowURL (revive)
|
Golangci:
shared/services/gas/etherscan/etherscan.go#L30
var-naming: const gasOracleUrl should be gasOracleURL (revive)
|
The logs for this run have expired and are no longer available.
Loading