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: linters:
enable: enable:
- bodyclose - bodyclose
- deadcode
- depguard - depguard
- dogsled - dogsled
- dupl - dupl
- errcheck - errcheck
- exportloopref
- funlen - funlen
- gochecknoglobals - gochecknoglobals
- gochecknoinits - gochecknoinits
@ -32,29 +32,24 @@ linters:
- godox - godox
- gofmt - gofmt
- goimports - goimports
- golint
- gomnd - gomnd
- goprintffuncname - goprintffuncname
- gosec - gosec
- gosimple - gosimple
- govet - govet
- ineffassign - ineffassign
- interfacer
- lll - lll
- maligned
- misspell - misspell
- nakedret - nakedret
- prealloc - prealloc
- revive
- rowserrcheck - rowserrcheck
- scopelint
- staticcheck - staticcheck
- structcheck
- stylecheck - stylecheck
- typecheck - typecheck
- unconvert - unconvert
- unparam - unparam
- unused - unused
- varcheck
- whitespace - whitespace
- wsl - wsl
#disable: #disable:

View file

@ -47,7 +47,7 @@ type Pominal struct {
shortBreak float64 shortBreak float64
// longBreak is the time (represented in seconds) // longBreak is the time (represented in seconds)
//for the long break sessions. // for the long break sessions.
longBreak float64 longBreak float64
// workNotificationMsg is the desktop notification // workNotificationMsg is the desktop notification