You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "joao-r-reis (via GitHub)" <gi...@apache.org> on 2025/06/02 14:53:54 UTC
Re: [PR] CASSGO-77: Switch to golangci instead of govet [cassandra-gocql-driver]
joao-r-reis commented on PR #1891:
URL: https://github.com/apache/cassandra-gocql-driver/pull/1891#issuecomment-2931122539
I don't think it's a good idea to say something like "X is standard de facto in golang community" when advocating for a change because a lot of the times when I search online to determine whether this is true or not I'll find a lot of discussion around it and not really any consensus.
In this particular case from what I'm reading it looks like `golangci-lint` is just a way of running multiple linters so you could just add `golanci-lint` and run the `go vet` linter through `golanci-lint`. Instead what this PR is doing is adding a bunch of more linters instead of just `go vet` in addition to adding `golangci-lint` integration.
Personally I'm fine with using `golangci-lint` but I think the current list of linters that you have is way too large and as a result the diff is huge. This will cause all existing open PRs to have giant conflicts and personally I don't think it's worth the hassle. Also it will probably make it very frustrating to contribute to the driver because how harsh the linter checks are. Maybe you can try running `golangci-lint` with the default linters only and see if it's a good compromise.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org