Skip to content

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

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

Merged

Conversation

tMinamiii
Copy link
Contributor

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

b, err := cmd.Output()
if err == nil {
return diagnostics, nil
}

@nametake nametake merged commit 5cc8588 into nametake:master Aug 27, 2022
@tMinamiii
Copy link
Contributor Author

thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants