Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot be checked by golangci-lint #119

Open
any0Ne1010 opened this issue Feb 22, 2024 · 0 comments
Open

Cannot be checked by golangci-lint #119

any0Ne1010 opened this issue Feb 22, 2024 · 0 comments

Comments

@any0Ne1010
Copy link
Collaborator

Currently executing golangci-lint produces G114 errors, maybe we should remove the check for G114?

$ golangci-lint run --out-format=github-actions --timeout 10m
::error file=rpc/websockets.go,line=114,col=10::G114: Use of net/http serve function that has no support for setting timeouts (gosec)
::error file=rpc/websockets.go,line=116,col=10::G114: Use of net/http serve function that has no support for setting timeouts (gosec)

G114 definition:

- G114 # Use of net/http serve function that has no support for setting timeouts

Related link: https://golangci-lint.run/usage/linters/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant