textarea(v2): highlight, formatter, suggestions #2176
lint.yml
on: pull_request
Matrix: lint / lint-soft
Matrix: lint / lint
Annotations
27 errors and 4 warnings
lint / lint-soft (ubuntu-latest):
textarea/textarea.go#L1679
textarea/textarea.go:1679: Line contains TODO/BUG/FIXME: "TODO: this should be better" (godox)
|
lint / lint-soft (ubuntu-latest):
textarea/textarea.go#L1337
`if m.row == l && lineInfo.RowOffset == wl` has complex nested blocks (complexity: 15) (nestif)
|
lint / lint-soft (ubuntu-latest):
textarea/textarea.go#L1264
Consider pre-allocating `lines` (prealloc)
|
lint / lint-soft (ubuntu-latest):
textarea/textarea.go#L1829
Consider pre-allocating `r` (prealloc)
|
lint / lint-soft (ubuntu-latest):
textarea/textarea.go#L1837
Consider pre-allocating `result` (prealloc)
|
lint / lint-soft (ubuntu-latest):
textarea/textarea.go#L1308
directive `//nolint:nestif` is unused for linter "nestif" (nolintlint)
|
lint / lint (ubuntu-latest):
textarea/textarea.go#L983
redefines-builtin-id: redefinition of the built-in function min (revive)
|
lint / lint (ubuntu-latest):
textarea/textarea.go#L984
redefines-builtin-id: redefinition of the built-in function max (revive)
|
lint / lint (ubuntu-latest):
filepicker/filepicker.go#L185
redefines-builtin-id: redefinition of the built-in function min (revive)
|
lint / lint (ubuntu-latest)
issues found
|
lint / lint (macos-latest)
The job was canceled because "ubuntu-latest" failed.
|
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):
textarea/textarea.go#L1679
\textarea\textarea.go:1679: Line contains TODO/BUG/FIXME: "TODO: this should be better" (godox)
|
lint / lint-soft (windows-latest):
textarea/textarea.go#L1337
`if m.row == l && lineInfo.RowOffset == wl` has complex nested blocks (complexity: 15) (nestif)
|
lint / lint-soft (windows-latest):
textarea/textarea.go#L1264
Consider pre-allocating `lines` (prealloc)
|
lint / lint-soft (windows-latest):
textarea/textarea.go#L1829
Consider pre-allocating `r` (prealloc)
|
lint / lint-soft (windows-latest):
textarea/textarea.go#L1837
Consider pre-allocating `result` (prealloc)
|
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#L1308
directive `//nolint:nestif` is unused for linter "nestif" (nolintlint)
|
lint / lint-soft (macos-latest):
textarea/textarea.go#L1679
textarea/textarea.go:1679: Line contains TODO/BUG/FIXME: "TODO: this should be better" (godox)
|
lint / lint-soft (macos-latest):
textarea/textarea.go#L1337
`if m.row == l && lineInfo.RowOffset == wl` has complex nested blocks (complexity: 15) (nestif)
|
lint / lint-soft (macos-latest):
textarea/textarea.go#L1264
Consider pre-allocating `lines` (prealloc)
|
lint / lint-soft (macos-latest):
textarea/textarea.go#L1829
Consider pre-allocating `r` (prealloc)
|
lint / lint-soft (macos-latest):
textarea/textarea.go#L1837
Consider pre-allocating `result` (prealloc)
|
lint / lint-soft (macos-latest):
textarea/textarea.go#L1308
directive `//nolint:nestif` is unused for linter "nestif" (nolintlint)
|
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 (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/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
|
lint / lint-soft (macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/bubbles/bubbles. Supported file pattern: go.sum
|