Skip to content

fix some linter

fix some linter #102

Triggered via push August 27, 2024 20:14
Status Failure
Total duration 2m 49s
Artifacts

golangci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
lint: internal/handler/completion.go#L18
Function 'handleTextDocumentCompletion' has too many statements (89 > 50) (funlen)
lint: internal/handler/completion.go#L161
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
lint
issues found
lint
The following actions use a deprecated Node.js version 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/