From 9986aa2522d5e1e97287d0d948463ca10dcf0265 Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Sat, 8 Oct 2022 22:13:41 +0100 Subject: [PATCH] ci: update golangci.yml --- .golangci.yml | 9 ++------- pominal.go | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 1520bfe..e26b613 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -17,11 +17,11 @@ linters-settings: linters: enable: - bodyclose - - deadcode - depguard - dogsled - dupl - errcheck + - exportloopref - funlen - gochecknoglobals - gochecknoinits @@ -32,29 +32,24 @@ linters: - godox - gofmt - goimports - - golint - gomnd - goprintffuncname - gosec - gosimple - govet - ineffassign - - interfacer - lll - - maligned - misspell - nakedret - prealloc + - revive - rowserrcheck - - scopelint - staticcheck - - structcheck - stylecheck - typecheck - unconvert - unparam - unused - - varcheck - whitespace - wsl #disable: diff --git a/pominal.go b/pominal.go index b756d46..aede8ab 100644 --- a/pominal.go +++ b/pominal.go @@ -47,7 +47,7 @@ type Pominal struct { shortBreak float64 // longBreak is the time (represented in seconds) - //for the long break sessions. + // for the long break sessions. longBreak float64 // workNotificationMsg is the desktop notification