simple-icons / svglint

Linter for SVG files
MIT License
42 stars 10 forks source link

Support junit xml output #58

Open maxolasersquad opened 2 years ago

maxolasersquad commented 2 years ago

I am wanting to integrate svglint with a project in Gitlab, which uses the Junit XML to parse the output. Ideally an --output option to specify a variety of formats would be available.

ericcornelissen commented 2 years ago

Interesting suggestion, what information would you expect in such an output file for this purpose?

In any case, I'd be happy to review/collaborate on this if you (or anyone else) is interested in contributing this feature to the project. Speaking as the most active maintainer of this project, I don't think there's bandwidth to add support for this internally at the moment.

maxolasersquad commented 2 years ago

I would think support for multiple output formats like eslint does would be best.

I did some digging into the source code. I think this would take some non-trivial re-engineering of the GUI class, but it seems tackleable. If I'm able to get to this, it would probably be a few weeks before I could start.

ericcornelissen commented 2 years ago

I would think support for multiple output formats like eslint does would be best.

That sounds reasonable :+1: Thanks for the suggestion!