At the moment our team is working with a custom eclipse Formatter configuration. Is there a way to import the generated xml file into Checkstyle to have both on the same ruleset?
Right-click on the project. Click on Checkstyle and Activate Checkstyle . (Or, if there is no Checkstyle entry, click on Properties and then select “Checkstyle”, check “Checkstyle active…” and click on OK .)
Checkstyle obtains a configuration from an XML document whose elements specify the configuration's hierarchy of modules and their properties. You provide a file that contains the configuration document when you invoke Checkstyle at the command line, and when you run a Checkstyle task in ant.
As answered here, there is no way to convert a formatter file to a checkstyle ruleset at the moment. The formater file has another syntax as checkstyle, so it's unable to read it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With