Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Suggestion: Add checkstyle formatter #250

Closed
huerlisi opened this issue Dec 12, 2014 · 6 comments
Closed

Suggestion: Add checkstyle formatter #250

huerlisi opened this issue Dec 12, 2014 · 6 comments

Comments

@huerlisi
Copy link

The checkstyle format is supported by the jshint library and support in Jenkins Validation plugin. It would make tslint a bit more up to par with jshint.

@ashwinr
Copy link
Contributor

ashwinr commented Dec 12, 2014

is there a spec out there for the checkstyle format?

@ashwinr
Copy link
Contributor

ashwinr commented Jan 31, 2015

closing for now. please comment with a spec and we can support the checkstyle formatter natively

@ashwinr ashwinr closed this as completed Jan 31, 2015
@huerlisi
Copy link
Author

The homepage of the project is http://checkstyle.sourceforge.net/

I haven't found an actual spec unfortunately, but it seems a simple form.

@huerlisi
Copy link
Author

I did some more googling but was actually not able to find something explicit:-(

According to this google message https://groups.google.com/forum/#!topic/checkstyle-devel/ozgxErB4DdQ the output format for the XML is 'defined' here: https://github.com/checkstyle/checkstyle/blob/master/src/main/java/com/puppycrawl/tools/checkstyle/XMLLogger.java

Here's a list of checks that are implemented in the checkstyle project for Java: http://checkstyle.sourceforge.net/checks.html

This plugin adds checkstyle reporting to jshint: https://github.com/sublimeye/jshint-jenkins-checkstyle-reporter Here's the actual code generating the XML output: https://github.com/sublimeye/jshint-jenkins-checkstyle-reporter/blob/master/src/reporter.js

Hope this helps:-)

@sshev
Copy link
Contributor

sshev commented Apr 20, 2016

Hi! I've created PR for checkstyle formatter - pls check it
#1143

@jkillian
Copy link
Contributor

Merged #1143 which fixes this. It will be available in the next release! Please note that #656 is still open which can cause issues with formatters depending on use

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants