title: JSLint error: Move all 'var' declarations to the top of the function
body: <p>JSLint site updated, and I cannot check JS scripts anymore. For me, this warning is not critical, and I don't want to go through thousands of lines to fix this, I want to find more critical problems.</p>
  
  <p>Does anybody know how to turn off this error, or use legacy JSLint?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Example:</p>
  
  <pre><code>function doSomethingWithNodes(nodes){
    this.doSomething();
  
    for (var i = 0; i &lt; nodes.length; ++i){
      this.doSomethingElse(nodes[i]);
    }
  
    doSomething(); // want to find this problem
  }
  </code></pre>
  
  <p>jslint.com output:</p>
  
  <pre><code>Error:
  Problem at line 4 character 8: Move all 'var' declarations to the top of the function.
  
  for (var i = 0; i &lt; nodes.length; ++i){
  
  Problem at line 4 character 8: Stopping, unable to continue. (44% scanned).
  </code></pre>
  
  <p>Problem:</p>
  
  <p>Having variables on top of the functions is new requirement. I cannot use JSLINT to test code, because it stops scanning script on this error.</p>
  
  <p>I have a lot of code, and do not want to threat this warning as critical error.</p>
  
  <p>UPDATE 8/22/2011: found <a href="http://jshint.com" rel="noreferrer">http://jshint.com</a>, it looks much better than <a href="http://jslint.com/" rel="noreferrer">http://jslint.com/</a></p>