This last two weeks have been quite busy. I thank everybody who took time to send me their bug reports and feature requests. JavaScript Lint Beta 2 is finally available. Here is a summary of the changes:
-
Feature – JavaScript Lint is now available as a Linux binary.
-
Feature – The format of the lint errors can now be customized for better integration with different IDEs.
-
Feature – Portions of a script can notated to be ignored by JavaScript Lint.
-
Bug – Resolved an incorrect warning against missing curly braces for an "else if".
-
Bug – Resolved an incorrect warning regarding ambiguous line breaks.
-
Bug – Resolved a circumstance in which JavaScript Lint treated a JavaScript file as an HTML file.
The most significant feature, however, is JavaScript Lint’s ability to check for undeclared identifiers. Failing to use the var keyword before assigning a value to a variable causes it to have global scope. An undefined variable will evaluate to false in an if statement. This makes it difficult to catch mistyped variable names, which is a common source of bugs.
JavaScript Lint has relocated to JavaScriptLint.com. The new betas, as well as documentation on these features, are available on that site. In addition, JavaScript Lint is now available as an online service.
Feedback relating to JavaScript Lint can be sent to Info<at>JavaScriptLint.com.