Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Recommended Eclipse-friendly checkstyle configuration for java open source projects?

I'd like to open source some code of mine. To make it easier for contributors, I'd like to set up a checkstyle configuration to go along with it. However, my recent experience is that the Eclipse Checkstyle plugin's ability to generate formatter rules that correspond to a checkstyle.xml file leaves something to be desired; that is, I need to manually tweak the generated formatter rules quite a bit to get them to actually format a file such that it complies with the checkstyle rules.

Are there "reference" checkstyle.xml files out there somewhere that are considered semi-standard for open source projects, and which are Eclipse-friendly in the sense that that formatter rules generated from them by the Checkstyle plugin are compatible?

like image 578
Andy Dennie Avatar asked Feb 25 '26 21:02

Andy Dennie


1 Answers

I would definitely recommend Geosoft Checkstyle Configuration.
The same is available here.

like image 177
Srinivas Avatar answered Feb 28 '26 10:02

Srinivas