Skip to content

Full-file syntax highlighting for diff pages #27800

Full-file syntax highlighting for diff pages

Full-file syntax highlighting for diff pages #27800

Triggered via pull request March 2, 2025 02:54
Status Failure
Total duration 7m 17s
Artifacts

pull-compliance.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
lint-backend: services/gitdiff/gitdiff.go#L1262
S1011: should replace loop with `oldLines = append(oldLines, oldLines...)` (gosimple)
lint-backend: services/gitdiff/gitdiff.go#L1274
S1011: should replace loop with `newLines = append(newLines, newLines...)` (gosimple)
lint-backend: services/gitdiff/highlightdiff.go#L87
`(*highlightCodeDiff).diffWithHighlight` - `filename` is unused (unparam)
lint-backend
Process completed with exit code 2.
lint-go-windows: services/gitdiff/gitdiff.go#L1262
S1011: should replace loop with `oldLines = append(oldLines, oldLines...)` (gosimple)
lint-go-windows: services/gitdiff/gitdiff.go#L1274
S1011: should replace loop with `newLines = append(newLines, newLines...)` (gosimple)
lint-go-windows: services/gitdiff/highlightdiff.go#L87
`(*highlightCodeDiff).diffWithHighlight` - `filename` is unused (unparam)
lint-go-windows
Process completed with exit code 2.
lint-go-gogit: services/gitdiff/gitdiff.go#L1262
S1011: should replace loop with `oldLines = append(oldLines, oldLines...)` (gosimple)
lint-go-gogit: services/gitdiff/gitdiff.go#L1274
S1011: should replace loop with `newLines = append(newLines, newLines...)` (gosimple)
lint-go-gogit: services/gitdiff/highlightdiff.go#L87
`(*highlightCodeDiff).diffWithHighlight` - `filename` is unused (unparam)
lint-go-gogit
Process completed with exit code 2.