JSHint checkstyle file reporter
Writes checkstyle output to a file. This can be used to report JSHint results to Jenkins.
Usage
Standard JSHint cli
# optional specify a different filename export JSHINT_CHECKSTYLE_FILE="jshint.xml" # default: checkstyle.xml # run jshint jshint --reporter node_modules/jshint-checkstyle-file-reporter *.js
Gulp
var gulp = ;var jshint = ;var checkstyleFileReporter = ; // optional specify a different filename:processenvJSHINT_CHECKSTYLE_FILE = 'jshint.xml'; // default: checkstyle.xml gulp;