Fix x axis on history graph when only one item (#8) #43
Annotations
10 errors and 4 warnings
lint:
cmd/where.go#L484
`humanize` is a misspelling of `humanise` (misspell)
|
lint:
cmd/root.go#L104
`info` - `a` always receives `nil` (unparam)
|
lint:
internal/fs/fs.go#L82
type `pathTime` is unused (unused)
|
lint:
cmd/root.go#L44
const `connectTimeout` is unused (unused)
|
lint:
server/server_test.go#L932
shadow: declaration of "err" shadows declaration at line 919 (govet)
|
lint:
server/server_test.go#L943
shadow: declaration of "err" shadows declaration at line 919 (govet)
|
lint:
cmd/where.go#L208
fmt.Sprintf can be replaced with faster strconv.Itoa (perfsprint)
|
lint:
cmd/where.go#L483
fmt.Sprintf can be replaced with faster strconv.FormatUint (perfsprint)
|
lint:
cmd/where.go#L485
fmt.Sprintf can be replaced with faster strconv.Itoa (perfsprint)
|
lint:
cmd/where.go#L486
fmt.Sprintf can be replaced with faster strconv.Itoa (perfsprint)
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint:
cmd/version.go#L43
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/server.go#L111
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/where.go#L163
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|