rmuir commented on PR #14804:
URL: https://github.com/apache/lucene/pull/14804#issuecomment-2981726602

   Can we consider ast-grep for this? it is really fast and doesn't require 
regular expressions, has plugins for editors. I wrote a rule for this in less 
than a minute:
   ```yaml
   id: wildcard-import-not-allowed
   language: java
   rule:
     kind: asterisk
     inside:
       kind: import_declaration
   severity: error
   message: don't use wildcard imports
   note: please use full import instead
   url: https://whatever/explanation
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to