Created
May 4, 2013 03:59
-
-
Save xjamundx/5516105 to your computer and use it in GitHub Desktop.
super simple example of how to do an async reporter for jshint (with my changes)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
exports.reporter = function(errors, data, opts, cb) { | |
setTimeout(function() { | |
console.log(errors.length ? "FAILED" : "OK"); | |
}, 50); | |
}; | |
exports.reporter.async = true; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment