jshint/node-jshint — Issue #63: Input via stdin
Author: hallettj
Created: 2011-12-14 23:14:34+00:00
State: open

It would be super useful to me to have an option for jshint to accept input from stdin instead of from a file input. The use case that I have in mind is taking a text buffer from an editor, piping it to jshint, and parsing jshint output to highlight errors in the editor.

My suggestion is to follow the Unix convention where if a given file path is a dash (-) then the program reads from stdin.