Skip to content

Linter fixes

Linter fixes #1086

Triggered via pull request February 14, 2024 09:27
Status Failure
Total duration 2m 3s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Linter: e2e-polybft/e2e/bridge_test.go#L79
block should not end with a whitespace (or comment) (wsl)
Linter: e2e-polybft/e2e/bridge_test.go#L1331
ranges should only be cuddled with assignments used in the iteration (wsl)
Linter: e2e-polybft/e2e/consensus_test.go#L401
only cuddled expressions if assigning variable or using from line above (wsl)
Linter: e2e-polybft/e2e/jsonrpc_test.go#L193
assignments should only be cuddled with other assignments (wsl)
Linter: e2e-polybft/e2e/txpool_test.go#L86
expressions should not be cuddled with blocks (wsl)
Linter: e2e-polybft/e2e/txpool_test.go#L87
if statements should only be cuddled with assignments (wsl)
Linter: e2e-polybft/e2e/txpool_test.go#L277
if statements should only be cuddled with assignments (wsl)
Linter: e2e-polybft/property/property_test.go#L112
assignments should only be cuddled with other assignments (wsl)
Linter: e2e-polybft/property/property_test.go#L113
only cuddled expressions if assigning variable or using from line above (wsl)
Linter: e2e-polybft/property/property_test.go#L114
assignments should only be cuddled with other assignments (wsl)
Linter
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
Linter
Restore cache failed: Dependencies file is not found in /home/runner/work/blade/blade. Supported file pattern: go.sum