Skip to content

Merge pull request #185 from stader-labs/update-version #265

Merge pull request #185 from stader-labs/update-version

Merge pull request #185 from stader-labs/update-version #265

Triggered via push January 24, 2024 07:34
Status Success
Total duration 49s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

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