wip(completion): address other cases #93
Annotations
9 errors and 1 warning
lint:
internal/handler/completion.go#L18
Function 'handleTextDocumentCompletion' has too many statements (88 > 50) (funlen)
|
lint:
internal/handler/completion.go#L157
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
lint:
internal/gno/gno.go#L129
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
|
lint:
internal/handler/completion.go#L239
func `handler.lookupSymbols` is unused (unused)
|
lint:
internal/handler/completion.go#L55
unnecessary leading newline (whitespace)
|
lint:
internal/handler/completion.go#L178
unnecessary trailing newline (whitespace)
|
lint:
internal/handler/completion.go#L101
unnecessary leading newline (whitespace)
|
lint:
internal/gno/gno.go#L133
directive `//nolint:gosec` is unused for linter "gosec" (nolintlint)
|
lint
issues found
|
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, 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/
|