From d1132a45125e1755cdce97f8bebf4ff680373eca Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Tue, 7 Jan 2025 11:30:44 -0300 Subject: [PATCH] fix: nolint --- viewport/viewport.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/viewport/viewport.go b/viewport/viewport.go index 0ae1163..f6a123b 100644 --- a/viewport/viewport.go +++ b/viewport/viewport.go @@ -297,7 +297,7 @@ func ViewDown(m Model, lines []string) tea.Cmd { // XXX: high performance rendering is deprecated in Bubble Tea. In a v2 we // won't need to return a command here. - return tea.ScrollDown(lines, top, bottom) + return tea.ScrollDown(lines, top, bottom) //nolint:staticcheck } // ViewUp is a high performance command the moves the viewport down by a given @@ -311,7 +311,7 @@ func ViewUp(m Model, lines []string) tea.Cmd { // XXX: high performance rendering is deprecated in Bubble Tea. In a v2 we // won't need to return a command here. - return tea.ScrollUp(lines, top, bottom) + return tea.ScrollUp(lines, top, bottom) //nolint:staticcheck } // SetHorizontalStep sets the amount of cells that the viewport moves in the