Okay, I found a workaround myself: Using the --reporter
parameter, besides using the pre-defined values jslint
and checkstyle
you can also specify a .js
file which implements a custom reporter.
So what I did was basically write my own custom reporter that outputs a valid checkstyle-conform .xml
file. This way it works as expected.