douglascrockford/JSLint — Issue #92: var in for stops parsing.
Author: baryluk
Created: 2011-12-28 10:35:34+00:00
State: open

when linting thing like this:

```javascript
/*jslint white: true, maxerr: 100 */
function f() {
for (var i = 0; i < 2; i++) {
return i;
}
}

kah dkjash kajshdk jahkd as d
and other non-senses
```

jslint will stop on for loop:

```
Problem at line 2 character 2: Missing 'use strict' statement.

for (var i = 0; i < 2; i++) {

Problem at line 2 character 7: Move 'var' declarations to the top of the function.

for (var i = 0; i < 2; i++) {

Problem at line 2 character 7: Stopping. (22% scanned).
```

No, option combination prevents it from stopping stopping, or not emiting this varning.