Skip to content

Sd utilize

Sd utilize #301

Triggered via pull request February 26, 2024 14:31
Status Success
Total duration 52s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: stader-lib/utils/eth/units.go#L41
assignments should only be cuddled with other assignments (wsl)
Lint: stader-lib/utils/eth/units.go#L52
return statements should not be cuddled if block has more than two lines (wsl)
Lint: stader-lib/utils/eth/units.go#L42
only one cuddle assignment allowed before if statement (wsl)
Lint: stader-lib/utils/eth/units.go#L49
if statements should only be cuddled with assignments (wsl)
Lint: stader-lib/sdutility/sd-utility.go#L118
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)
Lint: stader-lib/sdutility/sd-utility.go#L83
ineffectual assignment to err (ineffassign)
Lint: stader-lib/sdutility/sd-utility.go#L22
assignments should only be cuddled with other assignments (wsl)
Lint: stader-lib/sdutility/sd-utility.go#L23
only one cuddle assignment allowed before if statement (wsl)
Lint: stader-lib/sdutility/sd-utility.go#L26
assignments should only be cuddled with other assignments (wsl)
Lint: stader-lib/sdutility/sd-utility.go#L27
only one cuddle assignment allowed before if statement (wsl)