Skip to content

Feat: yamlls

Feat: yamlls #65

Triggered via pull request December 3, 2023 13:27
Status Success
Total duration 1m 35s
Artifacts

lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint (1.19.1, ubuntu-latest): internal/adapter/yamlls/documentSync.go#L100
Error return value of `(go.lsp.dev/jsonrpc2.Conn).Notify` is not checked (errcheck)
lint (1.19.1, ubuntu-latest): internal/adapter/yamlls/initization.go#L30
Error return value of `(go.lsp.dev/jsonrpc2.Conn).Notify` is not checked (errcheck)
lint (1.19.1, ubuntu-latest): internal/adapter/yamlls/initization.go#L33
Error return value of `(go.lsp.dev/jsonrpc2.Conn).Notify` is not checked (errcheck)
lint (1.19.1, ubuntu-latest): internal/handler/completion.go#L82
string `Chart` has 3 occurrences, make it a constant (goconst)
lint (1.19.1, ubuntu-latest): internal/handler/completion.go#L84
string `Values` has 3 occurrences, make it a constant (goconst)
lint (1.19.1, ubuntu-latest): internal/handler/completion.go#L100
context-as-argument: context.Context should be the first parameter of a function (revive)
lint (1.19.1, ubuntu-latest): internal/handler/configuration.go#L12
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.19.1, ubuntu-latest): internal/handler/definition.go#L35
`supress` is a misspelling of `suppress` (misspell)
lint (1.19.1, ubuntu-latest): internal/handler/hover.go#L44
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
lint (1.19.1, ubuntu-latest): internal/handler/initialization.go#L29
ineffectual assignment to err (ineffassign)
lint (1.19.1, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/