Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Expose position information for key rule parts #34

Merged
merged 4 commits into from
May 24, 2023
Merged

Conversation

bradleyjkemp
Copy link
Owner

For the purposes of writing linters (e.g. https://github.com/bradleyjkemp/sigmafmt) it's useful to have position information for rule parts like conditions, searches, and field matchers.

This allows the linter to report contextual errors, linking to or directly highlighting the broken part of the rule

@bradleyjkemp bradleyjkemp merged commit 99be942 into main May 24, 2023
@bradleyjkemp bradleyjkemp deleted the raw-yaml branch May 24, 2023 09:22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant