PMD formatter for TSLint
Category : Tools
When running static code analysis in CD flow one wants some statistics on analysis results and a nice graphic representation of the results. All these are already implemented in the Jenkins PMD plug-in. (We’ve already used the PMD plugin successfully for representing the OCLint analysis results we run for an iOS project we support.)
So the only thing we needed was formatting the tslint output according to PMD format, which is in fact a very simple xml markup.
Writing a formatter was really easy following the guidelines on tslint README.
And it was already integrated into tslint trunk today (this commit) , so now you can use it for your own project – just use ‘-t pmd’ in oclint CLI.