Linters #11
terraform-ci.yml
on: pull_request
Check Go formatting, linting, vetting using golangci-lint
1m 5s
Check Go formatting, linting, vetting
1m 19s
Check for forbidden words
11s
Build
40s
Go security
1m 5s
Generate
47s
Malware Scanner
1m 22s
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)
|