in Javascript

JSLint – a JavaScript syntax checker and validator

JSLint is a code quality tool which looks for problems in Javascript programs. It is developed by Douglas Crockford and comes with a funny warning ‘JSLint will hurt your feelings:)

The background for JSLint in Crockford’s words -

When C was a young programming language, there were several common programming errors that were not caught by the primitive compilers, so an accessory program called lint was developed that would scan a source file, looking for problems.
As the language matured, the definition of the language was strengthened to eliminate some insecurities, and compilers got better at issuing warnings. Lint is no longer needed.

Continue reading