ci: update golangci.yml
This commit is contained in:
parent
ec84a11036
commit
9986aa2522
2 changed files with 3 additions and 8 deletions
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue