When it comes to JavaScript programs, errors can be identified using Integrated Development Environments (IDEs) or online web apps. However, I am in search of a method that specifically focuses on detecting syntax errors.
I have experimented with JSLint and JSHint, exploring their various options, but have yet to discover a configuration that filters out warnings, displaying only the syntax errors.
Is there a way to assess JavaScript code solely for syntax errors through the command line?