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

   Thanks for playing with it. I would be happy to try to write ast-grep rules 
to try to replace some of the slower error-prone checks, or whatever else 
(nocommit checks etc).
   
   We could install the package via pip or npm in the GH actions to support the 
checker. At just a glance, many of the rules are basically trivial e.g. 
https://errorprone.info/bugpattern/EqualsNull. 
   
   From what I remember, each check has a high overhead for errorprone which I 
don't believe is the case for ast-grep. I know I'm oversimplifying it, but I 
assume each file is parsed only once and then all rules run similar to 
https://tree-sitter.github.io/tree-sitter/using-parsers/queries/1-syntax.html, 
but without the s-expressions :)


-- 
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