Skip to content

Linters

Linters #11

Triggered via pull request October 16, 2023 07:51
Status Failure
Total duration 1m 34s
Artifacts

terraform-ci.yml

on: pull_request
Check Go formatting, linting, vetting using golangci-lint
1m 5s
Check Go formatting, linting, vetting using golangci-lint
Check Go formatting, linting, vetting
1m 19s
Check Go formatting, linting, vetting
Check for forbidden words
11s
Check for forbidden words
Build
40s
Build
Go security
1m 5s
Go security
Generate
47s
Generate
Malware Scanner
1m 22s
Malware Scanner
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
Generate
Process completed with exit code 1.
Check Go formatting, linting, vetting using golangci-lint: mutexkv/mutexkv.go#L38
empty-lines: extra empty line at the end of a block (revive)
Check Go formatting, linting, vetting using golangci-lint: redfish/models/power.go#L7
exported: exported type Power should have comment or be unexported (revive)
Check Go formatting, linting, vetting using golangci-lint: redfish/models/provider.go#L7
exported: comment on exported type ProviderConfig should be of the form "ProviderConfig ..." (with optional leading article) (revive)
Check Go formatting, linting, vetting using golangci-lint: redfish/models/provider.go#L13
exported: exported type RedfishServer should have comment or be unexported (revive)
Check Go formatting, linting, vetting using golangci-lint: gofish/dell/updateService.go#L43
line-length-limit: line is 115 characters, out of limit 100 (revive)
Check Go formatting, linting, vetting using golangci-lint: gofish/dell/updateService.go#L24
exported: exported method UpdateServiceActions.UnmarshalJSON should have comment or be unexported (revive)
Check Go formatting, linting, vetting using golangci-lint: gofish/dell/common.go#L3
exported: exported type Entity should have comment or be unexported (revive)
Check Go formatting, linting, vetting using golangci-lint: gofish/dell/dellAttributeRegistry.go#L119
early-return: if c { ... } else { ... return } can be simplified to if !c { ... return } ... (revive)
Check Go formatting, linting, vetting using golangci-lint: gofish/dell/dellAttributes.go#L110
line-length-limit: line is 105 characters, out of limit 100 (revive)
Check Go formatting, linting, vetting using golangci-lint: gofish/dell/manager.go#L56
line-length-limit: line is 105 characters, out of limit 100 (revive)