Page MenuHomePhabricator

Add default support for java linters
Closed, DuplicatePublic

Description

Why arcanist linters don't support Java?

It would be nice to provide support for a few types of java linters:

  • an abstract java linter, configured with a custom renderer
  • an abstract maven linter, configured with a custom renderer
  • an abstract gradle linter, configured with a custom renderer

and provide a few basic java renderers for popular tools:

  • checkstyle renderer
  • pmd renderer

I found various old differential or commits to do it but they don't work right of the box so it would be nice to add that functionality to arcanist since java is a very much used...

Event Timeline

It's fairly straight forward to add your own linter extensions as well, the only thing that becomes difficult if how you distribute them. Upstream doesn't help with this at all but you should be able to figure it out from the wiki if you have a need for them.