fix linting as muchlinting errors as possible; #5
Annotations
10 errors and 1 warning
golangci_lint:
command/secrets/output/secrets_output.go#L42
string `from the provided secrets manager` has 3 occurrences, make it a constant (goconst)
|
golangci_lint:
command/peers/list/result.go#L41
File is not `gofmt`-ed with `-s` (gofmt)
|
golangci_lint:
consensus/polybft/contracts_initializer.go#L64
`Governer` is a misspelling of `Governor` (misspell)
|
golangci_lint:
consensus/polybft/mocks_test.go#L273
ST1016: methods on the same type should have the same receiver name (seen 3x "m", 6x "s") (stylecheck)
|
golangci_lint:
archive/backup_test.go#L165
if statements should only be cuddled with assignments (wsl)
|
golangci_lint:
archive/backup_test.go#L258
if statements should only be cuddled with assignments (wsl)
|
golangci_lint:
archive/backup_test.go#L271
append only allowed to cuddle with appended value (wsl)
|
golangci_lint:
archive/backup_test.go#L267
ranges should only be cuddled with assignments used in the iteration (wsl)
|
golangci_lint:
archive/backup_test.go#L273
expressions should not be cuddled with blocks (wsl)
|
golangci_lint:
consensus/polybft/fsm.go#L502
block should not end with a whitespace (or comment) (wsl)
|
golangci_lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@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/.
|