Skip to content

feat: add indent to list node #40

feat: add indent to list node

feat: add indent to list node #40

Triggered via push September 19, 2024 23:48
Status Failure
Total duration 21s
Artifacts
go-static-checks
9s
go-static-checks
go-tests
11s
go-tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors
go-static-checks: parser/parser.go#L134
assignOp: replace `indent = indent / 2` with `indent /= 2` (gocritic)
go-static-checks: parser/parser.go#L123
typeSwitchVar: 3 cases can benefit from type switch with assignment (gocritic)
go-static-checks: parser/parser.go#L146
unchecked-type-assertion: type cast result is unchecked in prevResultNode.(*ast.List) - type assertion will panic if not matched (revive)
go-static-checks
issues found