Skip to content

Sd utilize

Sd utilize #127

Triggered via pull request November 30, 2023 09:40
Status Success
Total duration 44s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
build: stader-cli/node/commands.go#L399
unnecessary leading newline (whitespace)
build: stader-cli/node/commands.go#L424
unnecessary leading newline (whitespace)
build: stader/api/node/commands.go#L199
unnecessary leading newline (whitespace)
build: stader/api/node/commands.go#L250
unnecessary trailing newline (whitespace)
build: stader/api/node/commands.go#L805
unnecessary trailing newline (whitespace)
build: stader/api/node/utility-sd.go#L47
unnecessary trailing newline (whitespace)
build: shared/services/services.go#L439
assignments should only be cuddled with other assignments (wsl)
build: shared/services/services.go#L440
only one cuddle assignment allowed before if statement (wsl)
build: shared/services/stader/node.go#L643
declarations should never be cuddled (wsl)
build: shared/services/stader/node.go#L644
only one cuddle assignment allowed before if statement (wsl)
build: stader-lib/sd_utility/sd_utility.go#L1
var-naming: don't use an underscore in package name (revive)
build: stader-cli/node/deposit-sd.go#L51
exported: func name will be used as node.NodeDepositSdWithAmount by other packages, and that stutters; consider calling this DepositSdWithAmount (revive)
build: stader/api/node/sd-status.go#L47
var-naming: var operatorId should be operatorID (revive)