nametake / golangci-lint-langserver

golangci-lint language server
MIT License
201 stars 19 forks source link

Suggested configuration will break if user has a `.golangci.yaml`; error not reported #40

Open rf opened 1 month ago

rf commented 1 month ago

The suggested configs will break if the user has a .golangci.yaml file which would be a nice thing to note in the readme. This is because they suggest adding e.g. --enable-all which can conflict with what the user has in their .golangci.yaml file which causes golangci-lint to error out.

Also, an error is not reported to the user in this case.