ci: update golangci.yml

This commit is contained in:
Dan Anglin 2022-10-08 22:13:41 +01:00
parent ec84a11036
commit 9986aa2522
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
2 changed files with 3 additions and 8 deletions

View file

@ -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:

View file

@ -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