Skip to content

feat: upgrade bubbletea and remove deprecated code #378

feat: upgrade bubbletea and remove deprecated code

feat: upgrade bubbletea and remove deprecated code #378

Triggered via push December 13, 2023 18:37
Status Success
Total duration 27s
Artifacts

lint-soft.yml

on: push
lint-soft
19s
lint-soft
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint-soft: progress/progress.go#L304
`inbetween` is a misspelling of `between` (misspell)
lint-soft: textinput/textinput.go#L666
`if pos < len(value)` has complex nested blocks (complexity: 6) (nestif)
lint-soft: list/list.go#L1113
`if m.filterState == Filtering` has complex nested blocks (complexity: 5) (nestif)
lint-soft: textarea/textarea.go#L1282
`if spaces > 0` has complex nested blocks (complexity: 6) (nestif)
lint-soft: textarea/textarea.go#L1063
`if m.ShowLineNumbers` has complex nested blocks (complexity: 5) (nestif)
lint-soft: paginator/paginator.go#L164
missing cases in switch of type paginator.Type: paginator.Arabic (exhaustive)
lint-soft: list/list.go#L682
missing cases in switch of type list.FilterState: list.Unfiltered, list.FilterApplied (exhaustive)
lint-soft: viewport/viewport.go#L338
missing cases in switch of type tea.MouseButton: tea.MouseButtonNone, tea.MouseButtonLeft, tea.MouseButtonMiddle, tea.MouseButtonRight, tea.MouseButtonWheelLeft, tea.MouseButtonWheelRight, tea.MouseButtonBackward, tea.MouseButtonForward, tea.MouseButton10, tea.MouseButton11 (exhaustive)
lint-soft: list/defaultitem.go#L38
mnd: Magic number: 2, in <argument> detected (gomnd)
lint-soft: list/defaultitem.go#L54
mnd: Magic number: 2, in <argument> detected (gomnd)
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/bubbles/bubbles. Supported file pattern: go.sum