Node diver metrics #274
Annotations
10 errors and 2 warnings
build:
shared/types/stader-backend/node-diversity.go#L1
var-naming: don't use an underscore in package name (revive)
|
build:
shared/types/stader-backend/node-diversity.go#L3
fieldalignment: struct with 24 pointer bytes could be 16 (govet)
|
build:
shared/types/stader-backend/node-diversity.go#L8
fieldalignment: struct with 96 pointer bytes could be 88 (govet)
|
build:
shared/types/stader-backend/node-diversity.go#L18
fieldalignment: struct with 16 pointer bytes could be 8 (govet)
|
build:
shared/utils/stader/node-diversity.go#L37
unnecessary trailing newline (whitespace)
|
build:
shared/services/wallet/node.go#L192
unnecessary leading newline (whitespace)
|
build:
shared/services/wallet/node.go#L208
only one cuddle assignment allowed before if statement (wsl)
|
build:
shared/services/config/stadernode-config.go#L327
var-naming: method GetNodeDiversityApi should be GetNodeDiversityAPI (revive)
|
build:
shared/services/beacon/client/std-http-client.go#L595
declarations should never be cuddled (wsl)
|
build:
shared/services/beacon/client/std-http-client.go#L592
if statements should only be cuddled with assignments (wsl)
|
build
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/.
|
build:
stader/node/node.go#L500
var-naming: var operatorId should be operatorID (revive)
|