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

Add rule catching uses of regexp fields with captures which have no users #41

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

bbannier
Copy link
Owner

No description provided.

@bbannier bbannier self-assigned this Jul 10, 2024
@bbannier
Copy link
Owner Author

bbannier commented Jul 10, 2024

@sethhall, this implements the lint you suggested. I intentionally left the commits less condensed than usual. All this was basically created with

  • Generate boilerplate: sg new rule regexp-capture
  • Run tests and update snapshots:sg test -U

@bbannier bbannier changed the title Add rule catching uses of fields regexp with captures which have no users Add rule catching uses of regexp fields with captures which have no users Jul 10, 2024
@bbannier bbannier merged commit 638e397 into main Jul 15, 2024
2 checks passed
@bbannier bbannier deleted the t/nosub branch July 15, 2024 14:04
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