run golangci-lint on the entire codebase on every pr #17
Annotations
10 errors and 1 warning
Run golangci-lint:
pkg/db/db.go#L100
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
|
Run golangci-lint:
pkg/db/db.go#L126
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
|
Run golangci-lint:
pkg/ui/delegate.go#L27
Error return value of `p.LaunchRenderer` is not checked (errcheck)
|
Run golangci-lint:
pkg/ui/interactiveTable.go#L42
Error return value of `p.LaunchRenderer` is not checked (errcheck)
|
Run golangci-lint:
pkg/ui/statusTable.go#L37
`initialised` is a misspelling of `initialized` (misspell)
|
Run golangci-lint:
pkg/ui/tui.go#L95
unchecked-type-assertion: type cast result is unchecked in d.([]item) - type assertion result ignored (revive)
|
Run golangci-lint:
pkg/ui/delegate.go#L17
early-return: if c { ... } else { ... return } can be simplified to if !c { ... return } ... (move short variable declaration to its own line if necessary) (revive)
|
Run golangci-lint:
pkg/ui/delegate.go#L23
unnecessary-stmt: switch with only one case can be replaced by an if-then (revive)
|
Run golangci-lint:
pkg/ui/statusTable.go#L18
unexported-naming: the symbol TableData is local, its name should start with a lowercase letter (revive)
|
Run golangci-lint:
pkg/ui/interactiveTable.go#L25
unused-receiver: method receiver 'm' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
Install Go
Restore cache failed: Dependencies file is not found in /home/runner/work/pman/pman. Supported file pattern: go.sum
|
Loading