nzakas/eslint — pull request #125 by iancmyers (2013-07-23 23:36:16+00:00)
Title: Fixes incorrect reporting of missing semicolon

This fixes the incorrect reporting of missing semicolons when there is no whitespace between the end of a statement and the next token. The semicolon is already included in the tokens returned by `getTokens`, so grabbing one more character after would just grab a whitespace character. In this case because whitespace was not present it grabbed the closing curly, saw that it wasn't a semicolon and reported it as an error.

`setTimeout(function() {foo = "bar";});`

Fixes #121