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

[feature] Report unused suppressions / 'ast-grep-ignore' comments #1346

Open
soceanainn opened this issue Jul 23, 2024 · 0 comments
Open

[feature] Report unused suppressions / 'ast-grep-ignore' comments #1346

soceanainn opened this issue Jul 23, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@soceanainn
Copy link

⭐ Suggestion

As time goes on in a large code base, it would be good to be able to report unused 'ast-grep-ignore' comments.

💻 Use Cases

It's easy to miss removal of ast-grep-ignore comments as you are refactoring code or changing/removing rule definitions. Having an automated way to report unused ast-grep-ignore comments after running ast-grep scan would be really useful in large codebases.

@soceanainn soceanainn added the enhancement New feature or request label Jul 23, 2024
@HerringtonDarkholme HerringtonDarkholme added the help wanted Extra attention is needed label Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants