google / closure-linter

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

Provide a silent version? #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Would you please provide a silent version (with just simple error output, one 
error per line) of closure-linter so that we can easily port to some other 
program, like vim?

Currently I have to hack the code, delete some log output, so that it can be 
integrated with quickfix of vim. 

Original issue reported on code.google.com by yyfrankyy on 19 Aug 2011 at 3:29

GoogleCodeExporter commented 9 years ago
I believe what you're looking for is gjslint --unix_mode

If that's still too noisy feel free to re-open this issue.

Original comment by a...@google.com on 28 Sep 2011 at 9:24

GoogleCodeExporter commented 9 years ago
gjslint --unix_mode --nojsdoc --strict somefile.js

still got this from output

Some of the errors reported by GJsLint may be auto-fixable using the script
fixjsstyle. Please double check any changes it makes and report any bugs. The
script can be run by executing:

fixjsstyle --nojsdoc --strict lib/workerDispatcher.js

Original comment by yyfrankyy on 20 Oct 2011 at 9:17