Skip to content

test: fix typo

test: fix typo #8

Triggered via push January 31, 2024 12:54
Status Success
Total duration 18s
Artifacts

lint-soft.yml

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

Annotations

7 errors and 2 warnings
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#L625
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: key.go#L635
naked return in func `detectOneMsg` with 94 lines of code (nakedret)
lint-soft: key.go#L644
naked return in func `detectOneMsg` with 94 lines of code (nakedret)
lint-soft
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint-soft
Restore cache failed: Dependencies file is not found in /home/runner/work/bubbletea/bubbletea. Supported file pattern: go.sum