google / closure-linter

Automatically exported from code.google.com/p/closure-linter
Apache License 2.0
109 stars 37 forks source link

STDIN Support #96

Open steelbrain opened 8 years ago

steelbrain commented 8 years ago

We are using gjslint in our atom package and whenever we want to lint a file that hasn't been saved to disk yet, we have to save it to a temp location to be able to use it with gjslint. It would be nice to have it accept files via stdin like other linters do. They often have a parameter such as -s/--stdin for this kind-of purposes. The linters who look for rc or configuration files using that file path take additional parameters like --stdin-filepath.

Ref: https://github.com/AtomLinter/linter-gjslint/pull/16