Skip to content

A little more safety in JSON #106

A little more safety in JSON

A little more safety in JSON #106

Triggered via push December 9, 2024 10:30
Status Failure
Total duration 1m 10s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
checks: internal/guibuilder/main.go#L200
if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)
checks: internal/guidefs/go.go#L11
exported function GoString should have comment or be unexported
checks: internal/guidefs/layout.go#L26
exported var Layouts should have comment or be unexported
checks: internal/guidefs/res.go#L17
exported function WrapResource should have comment or be unexported
checks: internal/guidefs/res.go#L21
exported function IconName should have comment or be unexported
checks: internal/guidefs/widget.go#L23
exported var CollectionNames should have its own declaration
checks: internal/guidefs/widget.go#L25
exported var Collections should have its own declaration
checks: internal/guidefs/widget.go#L31
exported type WidgetInfo should have comment or be unexported
checks: internal/guidefs/widget.go#L41
exported method WidgetInfo.IsContainer should have comment or be unexported
checks: internal/guidefs/widget.go#L118
if block ends with a return statement, so drop this else and outdent its block
checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636