This file contains hidden or 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
/** | |
* The default JSHint output is somewhat wasteful, and very bland, making it hard for a human to | |
* parse. The following does IMO a better job and colours the output for you. This requires the | |
* `colors` package, available via npm. If you don't want the dependency, just remove the color | |
* commands from strings. | |
* | |
* Usage: When invoking jshint from the command line, point it to this file with the --reporter | |
* flag. e.g. | |
* | |
* jshint someFile.js --config /path/to/config.cfg --reporter /path/to/jshintReporter.js |