How can I check JavaScript code for syntax errors ONLY from the command line? -


JavaScript programs can be checked for errors in IDEs or I am looking for ways to detect syntax errors < Em> alone .

I have tried JSLInd and JSH int and have taken care of my options but I have not got a combination which will give up the warnings.

How do I check the JavaScript code for syntax errors only from the command line?

I use it:

$ akron - sealant test / File /js-error.js; $ Echo? Unexpected token (1:14) 1 dollar akron - cilant test / file / js-oak. JS; $ Echo? Install via 0

: npm -g installed acor .


Comments