Skip to content

fix: grapheme width #2028

fix: grapheme width

fix: grapheme width #2028

Triggered via push January 10, 2025 19:36
Status Failure
Total duration 55s
Artifacts

lint.yml

on: push
Matrix: lint / lint-soft
Matrix: lint / lint
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 8 warnings
lint / lint (ubuntu-latest): viewport/viewport.go#L201
exported: exported method Model.GetContent should have comment or be unexported (revive)
lint / lint (ubuntu-latest): viewport/viewport.go#L569
exported: exported method Model.HightlightNext should have comment or be unexported (revive)
lint / lint (ubuntu-latest): viewport/viewport.go#L579
exported: exported method Model.HighlightPrevious should have comment or be unexported (revive)
lint / lint (ubuntu-latest): viewport/viewport.go#L339
empty-block: this block is empty, you can remove it (revive)
lint / lint (ubuntu-latest): viewport/viewport.go#L345
empty-block: this block is empty, you can remove it (revive)
lint / lint (ubuntu-latest): viewport/highlight.go#L62
ineffectual assignment to graphemeEnd (ineffassign)
lint / lint (ubuntu-latest): viewport/highlight.go#L110
unnecessary trailing newline (whitespace)
lint / lint (ubuntu-latest)
issues found
lint / lint-soft (ubuntu-latest): viewport/viewport.go#L233
`if len(m.lines) > 0` has complex nested blocks (complexity: 8) (nestif)
lint / lint-soft (macos-latest): viewport/viewport.go#L233
`if len(m.lines) > 0` has complex nested blocks (complexity: 8) (nestif)
lint / lint (macos-latest)
The job was canceled because "ubuntu-latest" failed.
lint / lint (macos-latest)
The operation was canceled.
lint / lint (windows-latest)
The job was canceled because "ubuntu-latest" failed.
lint / lint (windows-latest)
The operation was canceled.
lint / lint-soft (windows-latest): filepicker/hidden_windows.go#L14
error returned from external package is unwrapped: sig: func syscall.UTF16PtrFromString(s string) (*uint16, error) (wrapcheck)
lint / lint-soft (windows-latest): filepicker/hidden_windows.go#L18
error returned from external package is unwrapped: sig: func syscall.GetFileAttributes(name *uint16) (attrs uint32, err error) (wrapcheck)
lint / lint-soft (windows-latest): viewport/viewport.go#L233
`if len(m.lines) > 0` has complex nested blocks (complexity: 8) (nestif)
lint / lint (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint / lint (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/bubbles/bubbles. Supported file pattern: go.sum
lint / lint-soft (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint / lint-soft (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/bubbles/bubbles. Supported file pattern: go.sum
lint / lint-soft (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/bubbles/bubbles. Supported file pattern: go.sum
lint / lint (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/bubbles/bubbles. Supported file pattern: go.sum
lint / lint (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\bubbles\bubbles. Supported file pattern: go.sum
lint / lint-soft (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\bubbles\bubbles. Supported file pattern: go.sum