nametake / golangci-lint-langserver

golangci-lint language server
MIT License
229 stars 20 forks source link

doc: add --issues-exit-code=1 #23

Closed tMinamiii closed 2 years ago

tMinamiii commented 2 years ago

This lsp expected exit-code=1 when found lint errors. If golanci-lint configuration, for example .golanci.yml, defined issues-exit-code: 0, lsp does not work fine. I think I should add --issues-exit-code=1 README.md Configurations

https://github.com/nametake/golangci-lint-langserver/blob/bcc1b4970c5e55254fc43831375be084a0c7d629/handler.go#L44-L47

tMinamiii commented 2 years ago

thx!