b2network / b2-node

Ethermint is a Cosmos SDK library for running scalable and interoperable EVM chains
https://docs.evmos.org/
GNU Lesser General Public License v3.0
3 stars 7 forks source link

Cannot be checked by golangci-lint #119

Open any0Ne1010 opened 4 months ago

any0Ne1010 commented 4 months ago

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/