Skip to content

Conversation

@ribru17
Copy link

@ribru17 ribru17 commented Dec 28, 2025

Many misc query lints, broken up by commits. I'll do highlight query capture linting in a separate PR, as that one looks like it needs a lot of work.

Besides invalid captures, most of the fixes are due to incorrect string escaping, duplicate
alternants, or trying to inherit from non-existent queries.

All changes are enforced by CI in this PR.

Most of the fixes are due to incorrect string escaping, duplicated
alternants, or trying to inherit from non-existent queries.
This commit mostly just prefixes auxiliary captures with `_`, though it
did catch a couple cases of queries using incorrect indent captures by
accident.
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.

1 participant