Skip to content

fix linter

fix linter #94

Triggered via push August 5, 2024 21:26
Status Failure
Total duration 25s
Artifacts

golangci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
lint: internal/handler/completion.go#L18
Function 'handleTextDocumentCompletion' has too many statements (88 > 50) (funlen)
lint: internal/handler/completion.go#L155
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
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/