fix(internal/ui): correct PagerMsg String method casting #7
Annotations
10 errors and 1 warning
lint:
internal/config/paths.go#L27
Error return value of `os.MkdirAll` is not checked (errcheck)
|
lint:
internal/config/paths.go#L37
Error return value of `os.MkdirAll` is not checked (errcheck)
|
lint:
cmd/cli/config.go#L17
Error return value of `cmd.Help` is not checked (errcheck)
|
lint:
cmd/cli/output.go#L13
Error return value of `cmd.Help` is not checked (errcheck)
|
lint:
cmd/cli/plugin.go#L13
Error return value of `cmd.Help` is not checked (errcheck)
|
lint:
internal/config/config.go#L13
don't use `init` function (gochecknoinits)
|
lint:
internal/config/config.go#L65
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
lint:
internal/input/voiceinput/runner.go#L8
unused-parameter: parameter 'outCh' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
internal/config/config.go#L22
exported: func name will be used as config.ConfigExists by other packages, and that stutters; consider calling this Exists (revive)
|
lint:
internal/ui/model.go#L34
unexported-return: exported func NewModel returns unexported type ui.model, which can be annoying to use (revive)
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
|