Skip to content

Conversation

@ribru17
Copy link

@ribru17 ribru17 commented Nov 22, 2025

This commit address various lints like duplicate alternants in alternations, superfluous escape chars (\), and unused underscored captures.

Please let me know if you'd like a workflow to detect this in CI, and/or one to ensure queries have been formatted with ts_query_ls. I'd be happy to do this.

This commit address various lints like duplicate alternants in
alternations, superfluous escape chars (`\`), and unused underscored
captures.

Please let me know if you'd like a workflow to detect this in CI, and/or
one to ensure queries have been formatted with `ts_query_ls`. I'd be
happy to do this.
@ribru17
Copy link
Author

ribru17 commented Nov 22, 2025

By the way @jcs090218, this check can be performed regardless of whether parser objects are installed :) But a deeper analysis can be performed with them. (Though you may likely already have such a check for this repo)

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