Node diver metrics #270
Annotations
10 errors and 3 warnings
Golangci:
shared/services/ec-manager.go#L534
dupBranchBody: both branches in if statement have same body (gocritic)
|
Golangci:
stader/node/node.go#L482
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
Golangci:
stader/node/node_test.go#L11
dupImport: package is imported 2 times under different aliases on lines 11 and 12 (gocritic)
|
Golangci:
stader/node/node_test.go#L12
dupImport: package is imported 2 times under different aliases on lines 11 and 12 (gocritic)
|
Golangci:
shared/services/wallet/node.go#L192
unnecessary leading newline (whitespace)
|
Golangci:
shared/utils/stader/node-diversity.go#L36
unnecessary trailing newline (whitespace)
|
Golangci:
stader/node/node.go#L526
unnecessary trailing newline (whitespace)
|
Golangci:
shared/services/beacon/client/std-http-client.go#L592
if statements should only be cuddled with assignments (wsl)
|
Golangci:
shared/services/beacon/client/std-http-client.go#L595
declarations should never be cuddled (wsl)
|
Golangci:
shared/services/beacon/client/std-http-client.go#L596
only one cuddle assignment allowed before if statement (wsl)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Golangci:
shared/types/stader-backend/node-diversity.go#L1
var-naming: don't use an underscore in package name (revive)
|
Golangci:
shared/services/config/stadernode-config.go#L327
var-naming: method GetNodeDiversityApi should be GetNodeDiversityAPI (revive)
|
The logs for this run have expired and are no longer available.
Loading