From d191a84d6f3d47196d5bfa6285d4e68fe14ba42b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaros=C5=82aw=20Zywert?= Date: Sat, 23 Mar 2024 17:05:39 +0100 Subject: [PATCH] linter cleanup --- .golangci.yml | 5 ++--- gojira/dayview.go | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 1ceed2f..676f014 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -25,12 +25,11 @@ linters-settings: linters: disable-all: true enable: -# - revive - - ifshort +# - revive # This will wait for it's turn to be enabled - staticcheck - gosec - dogsled - - godox +# - godox # too much FIXMEs in the code now :D - megacheck - govet - gocyclo diff --git a/gojira/dayview.go b/gojira/dayview.go index 4bc36d5..5deee50 100644 --- a/gojira/dayview.go +++ b/gojira/dayview.go @@ -17,7 +17,7 @@ type DayView struct { latestIssuesStatus *tview.TextView } -func NewDayView() *DayView { +func NewDayView() *DayView { //nolint:funlen dayView := &DayView{ worklogList: tview.NewTable(), worklogStatus: tview.NewTextView().SetChangedFunc(func() {