Skip to content
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

Support ignore directives in aggregate rules #809

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

anderseknert
Copy link
Member

Also some light refactoring, but should hopefully not be too distracting.

Fixes #803

Also some light refactoring, but should hopefully not
be too distracting.

Fixes #803

Signed-off-by: Anders Eknert <anders@styra.com>
While the specification isn't clear here, Neovim apparently had issues
dealing with the empty object response. And since all the other editors
seem to handle a null response too, let's just go with that instead.

Fixes #810

Signed-off-by: Anders Eknert <anders@styra.com>
@anderseknert anderseknert merged commit e1ed668 into main Jun 10, 2024
3 checks passed
@anderseknert anderseknert deleted the aggregate-ignore-directives branch June 10, 2024 09:35
srenatus pushed a commit to srenatus/regal that referenced this pull request Oct 1, 2024
* Support ignore directives in aggregate rules

Also some light refactoring, but should hopefully not
be too distracting.

Fixes StyraInc#803

Signed-off-by: Anders Eknert <anders@styra.com>

* Return `null` in textDocument/diagnostic handler (StyraInc#812)

While the specification isn't clear here, Neovim apparently had issues
dealing with the empty object response. And since all the other editors
seem to handle a null response too, let's just go with that instead.

Fixes StyraInc#810

Signed-off-by: Anders Eknert <anders@styra.com>

---------

Signed-off-by: Anders Eknert <anders@styra.com>
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.

ignore directives inconsistency
2 participants