refactor: lint fixes #474
Annotations
10 errors and 3 warnings
Run linters:
cmd/gdu/app/app_linux_test.go#L24
too many arguments in call to runApp
|
Run linters:
cmd/gdu/app/app_linux_test.go#L39
too many arguments in call to runApp
|
Run linters:
cmd/gdu/app/app_linux_test.go#L50
too many arguments in call to runApp
|
Run linters:
cmd/gdu/app/app_linux_test.go#L73
too many arguments in call to runApp
|
Run linters:
cmd/gdu/app/app_linux_test.go#L96
too many arguments in call to runApp
|
Run linters:
internal/common/ignore.go#L103
cyclomatic complexity 27 of func `(*UI).CreateIgnoreFunc` is high (> 25) (gocyclo)
|
Run linters:
pkg/analyze/dir_linux-openbsd.go#L15
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
Run linters:
pkg/analyze/file.go#L99
unnamedResult: consider giving a name to these results (gocritic)
|
Run linters:
pkg/analyze/file.go#L200
unnamedResult: consider giving a name to these results (gocritic)
|
Run linters:
pkg/analyze/parallel.go#L216
emptyFallthrough: replace empty case containing only fallthrough with expression list (gocritic)
|
Run linters:
pkg/remove/parallel.go#L14
exported: func name will be used as remove.RemoveItemFromDirParallel by other packages, and that stutters; consider calling this ItemFromDirParallel (revive)
|
Run linters:
pkg/remove/remove.go#L11
exported: func name will be used as remove.RemoveItemFromDir by other packages, and that stutters; consider calling this ItemFromDir (revive)
|
Install Go
Restore cache failed: Dependencies file is not found in /home/runner/work/gdu/gdu. Supported file pattern: go.sum
|
Loading