JakubOnderka / PHP-Parallel-Lint

This tool check syntax of PHP files faster than serial check with fancier output.
Other
647 stars 62 forks source link

checkstyle.xml as output format #118

Closed kamazee closed 6 years ago

kamazee commented 6 years ago

checkstyle.xml fits rather well as output format for nearly any linter or code analyzer and unlike custom formats, it's well understood by some existing tools, e.g. Jenkins plugins, so by reporting errors in this format it's possible to achieve better integration with various existing tools, for example our pipeline is capable of reporting entries from checkstyle.xml into a corresponding pull request which is very convenient.

There are several obvious ways to achieve this goal:

I'm not sure which way would work out better. What do you think?

kamazee commented 6 years ago

119 is a quick and yet untested (in code; reports are generated just fine) try to implement the former approach; I wonder if it's worth working on (i.e. if maintainers are interested in merging checkstyle support), if not – I'll just go for a standalone converter.

kamazee commented 6 years ago

Closed by #119