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

Handle file:// URLs in exclusion policy #1207

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

anderseknert
Copy link
Member

This is not an ideal solution, as we should not be sending URLs to the linter in the first place. But as fixing that is a much broader issue, we'll have to settle for a hack in the meantime.

Fixes #1204

This is not an ideal solution, as we should not be sending URLs to
the linter in the first place. But as fixing that is a much broader
issue, we'll have to settle for a hack in the meantime.

Fixes #1204

Signed-off-by: Anders Eknert <[email protected]>
Copy link
Member

@charlieegan3 charlieegan3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, it's a shame that the rego code needs to know about the URIs. Thanks for adding a test.

@charlieegan3 charlieegan3 merged commit 5bc9d1d into main Oct 16, 2024
4 checks passed
@charlieegan3 charlieegan3 deleted the handle-url-exclusion branch October 16, 2024 09:06
charlieegan3 pushed a commit to charlieegan3/regal that referenced this pull request Jan 6, 2025
This is not an ideal solution, as we should not be sending URLs to
the linter in the first place. But as fixing that is a much broader
issue, we'll have to settle for a hack in the meantime.

Fixes StyraInc#1204

Signed-off-by: Anders Eknert <[email protected]>
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.

LSP: ignore config doesn't fully work for some rules
2 participants