Skip to content

textarea(v2): highlight, formatter, suggestions #2186

textarea(v2): highlight, formatter, suggestions

textarea(v2): highlight, formatter, suggestions #2186

Triggered via pull request February 7, 2025 13:49
@caarlos0caarlos0
synchronize #657
v2-area
Status Failure
Total duration 1m 8s
Artifacts

lint.yml

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

Annotations

28 errors and 4 warnings
lint / lint (ubuntu-latest): filepicker/filepicker.go#L185
redefines-builtin-id: redefinition of the built-in function min (revive)
lint / lint (ubuntu-latest): textarea/textarea.go#L978
redefines-builtin-id: redefinition of the built-in function min (revive)
lint / lint (ubuntu-latest): textarea/textarea.go#L979
redefines-builtin-id: redefinition of the built-in function max (revive)
lint / lint (ubuntu-latest)
issues found
lint / lint-soft (ubuntu-latest): textarea/textarea.go#L1674
textarea/textarea.go:1674: Line contains TODO/BUG/FIXME: "TODO: this should be better" (godox)
lint / lint-soft (ubuntu-latest): textarea/textarea.go#L1332
`if m.row == l && lineInfo.RowOffset == wl` has complex nested blocks (complexity: 15) (nestif)
lint / lint-soft (ubuntu-latest): textarea/textarea.go#L1259
Consider pre-allocating `lines` (prealloc)
lint / lint-soft (ubuntu-latest): textarea/textarea.go#L1824
Consider pre-allocating `r` (prealloc)
lint / lint-soft (ubuntu-latest): textarea/textarea.go#L1832
Consider pre-allocating `result` (prealloc)
lint / lint-soft (ubuntu-latest): textarea/textarea.go#L1303
directive `//nolint:nestif` is unused for linter "nestif" (nolintlint)
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 (macos-latest): textarea/textarea.go#L1674
textarea/textarea.go:1674: Line contains TODO/BUG/FIXME: "TODO: this should be better" (godox)
lint / lint-soft (macos-latest): textarea/textarea.go#L1332
`if m.row == l && lineInfo.RowOffset == wl` has complex nested blocks (complexity: 15) (nestif)
lint / lint-soft (macos-latest): textarea/textarea.go#L1259
Consider pre-allocating `lines` (prealloc)
lint / lint-soft (macos-latest): textarea/textarea.go#L1824
Consider pre-allocating `r` (prealloc)
lint / lint-soft (macos-latest): textarea/textarea.go#L1832
Consider pre-allocating `result` (prealloc)
lint / lint-soft (macos-latest): textarea/textarea.go#L1303
directive `//nolint:nestif` is unused for linter "nestif" (nolintlint)
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): textarea/textarea.go#L1674
\textarea\textarea.go:1674: Line contains TODO/BUG/FIXME: "TODO: this should be better" (godox)
lint / lint-soft (windows-latest): textarea/textarea.go#L1332
`if m.row == l && lineInfo.RowOffset == wl` has complex nested blocks (complexity: 15) (nestif)
lint / lint-soft (windows-latest): textarea/textarea.go#L1259
Consider pre-allocating `lines` (prealloc)
lint / lint-soft (windows-latest): textarea/textarea.go#L1824
Consider pre-allocating `r` (prealloc)
lint / lint-soft (windows-latest): textarea/textarea.go#L1832
Consider pre-allocating `result` (prealloc)
lint / lint-soft (windows-latest): textarea/textarea.go#L1303
directive `//nolint:nestif` is unused for linter "nestif" (nolintlint)
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)
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-soft (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\bubbles\bubbles. Supported file pattern: go.sum