Skip to content

Add formatted code and linting #71

Add formatted code and linting

Add formatted code and linting #71

Triggered via pull request November 29, 2024 14:41
Status Failure
Total duration 28s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Build: tree/peg.go#L1236
Error return value of `buffer.WriteTo` is not checked (errcheck)
Build: tree/peg.go#L1243
Error return value of `buffer.WriteTo` is not checked (errcheck)
Build: bootstrap/main.go#L539
Error return value of `t.Compile` is not checked (errcheck)
Build: peg_test.go#L147
Error return value of `p.Init` is not checked (errcheck)
Build: set/set.go#L12
Comment should end in a period (godot)
Build: set/set.go#L20
Comment should end in a period (godot)
Build: set/set.go#L26
Comment should end in a period (godot)
Build: tree/peg.go#L845
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
Build: tree/peg.go#L1604
unused-parameter: parameter 'format' seems to be unused, consider removing or renaming it as _ (revive)
Build: tree/peg.go#L585
var-naming: method GetId should be GetID (revive)