Skip to content

Extended Coordinates mouse reporting & additional buttons support #1747

Extended Coordinates mouse reporting & additional buttons support

Extended Coordinates mouse reporting & additional buttons support #1747

Triggered via pull request October 16, 2023 14:47
Status Success
Total duration 29s
Artifacts

lint-soft.yml

on: pull_request
lint-soft
16s
lint-soft
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
lint-soft: mouse.go#L48
`if m.Button == MouseButtonNone` has complex nested blocks (complexity: 6) (nestif)
lint-soft: mouse.go#L291
missing cases in switch of type tea.MouseButton: tea.MouseButtonNone, tea.MouseButtonWheelUp, tea.MouseButtonWheelDown, tea.MouseButtonWheelLeft, tea.MouseButtonWheelRight, tea.MouseButton10, tea.MouseButton11 (exhaustive)
lint-soft: mouse.go#L175
mnd: Magic number: 5, in <condition> detected (gomnd)
lint-soft: key.go#L586
mnd: Magic number: 3, in <operation> detected (gomnd)
lint-soft: mouse.go#L183
variable 'release' is only used in the if-statement (mouse.go:188:2); consider using short syntax (ifshort)
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/bubbletea/bubbletea. Supported file pattern: go.sum