Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JS validator alternatives to JSLint?

Is JSLint it as far as js validation tools go, or are there others?

like image 923
morgancodes Avatar asked Jul 08 '10 22:07

morgancodes


People also ask

What is the difference between JSLint and ESLint?

JSLint is strict and not configurable, whereas JSHint is lacking the extension mechanism. JSCS is a good choice if you only want to check coding style, but ESLint does that and it checks your code for bugs and other problems as well.

Is there a JavaScript checker?

Javascript Validator is easy to use tool to validate JavaScript code. Copy, Paste and Validate JavaScript. This JS linter checks the js code and highlights errors as well as shows the detail of the error in a plain and easy-to-read gradient table.

Is JSHint useful?

JSHint will display errors, with a file name, line number and column number, as well as a short explanation of what's wrong with the code. While this is useful, it doesn't compare to the clarity provided by ESLint. The other major shortcoming for JSHint is that it doesn't provide nearly as many output options.


1 Answers

There are two good ones that I know of:

  • ESLint
  • JSHint
like image 104
DebugXYZ Avatar answered Sep 29 '22 04:09

DebugXYZ