title: jQuery Lint errors are quite non-descriptive
body: <p>I want to use jQuery Lint to check for possible jQuery errors.</p>
  
  <p>I wanted to try it out on a simple script that works. I included jquery lint all right, set it to level 2 and BAM there was 3 errors.</p>
  
  <pre><code>jQuery(.highlightimage) special check failed
  
  jquery.lint.js (line 100)
  
  More info:
  
  Selector: .highlightimage Selectors should be as specific as possible and should be "class only"
  
  Collection: []
  
  Location:
  
  @http://localhost:53402/Resources/Scripts/jquery-1.6.1.min.js:16
  
  @http://localhost:53402/Resources/Scripts/highlights.js:15
  
  @http://localhost:53402/Resources/Scripts/jquery-1.6.1.min.js:16
  
  @http://localhost:53402/Resources/Scripts/jquery-1.6.1.min.js:16 
  </code></pre>
  
  <p>What? Line 15 is:</p>
  
  <pre><code>hl_elements = $(".highlightimage");
  </code></pre>
  
  <p>What does that error mean? The selector contains 5 elements, so it is valid. It is as specific as it can be.</p>
  
  <p>its in the $(document).ready(function () { /<em>here are the scripts</em>/ }); part.</p>
  
  <p>All my selectors fail this way. What am I doing wrong?</p>
  
  <p>I'm using jquery 1.6.1, it's possible that it's not yet supported, but there are test cases for jquery 1.6.1 on github already, and they work fine.</p>
  
  <p>Other errors are:</p>
  
  <pre><code>trigger(ready) called incorrectly
  jquery.lint.js (line 100)
  
  More info:
  Collection: [Document localhost:53402]
  
  Location:
  @http://localhost:53402/Resources/Scripts/jquery-1.6.1.min.js:16
  jquery.lint.js (line 115)
  You passed: ["ready"]
  
  Available signatures include:
  trigger(eventType, extraParameters)
  trigger(event)
  </code></pre>
  
  <p>I get that on page load.</p>
  
  <p>I get this other one every time I the image gets changed.</p>
  
  <pre><code>jQuery.removeData([object HTMLImageElement],fxqueue,true) called incorrectly
  jquery.lint.js (line 100)
  
  More info:
  Location:
  @http://localhost:53402/Resources/Scripts/jquery-1.6.1.min.js:16 
  @http://localhost:53402/Resources/Scripts/jquery-1.6.1.min.js:18 
  @http://localhost:53402/Resources/Scripts/jquery-1.6.1.min.js:18
  jquery.lint.js (line 115)
  You passed: [img.highlightimage /Documen..._293.png, "fxqueue", true]
  
  Available signatures include:
  jQuery.removeData(element, [name])
  </code></pre>
  
  <p>But if I switch to jquery 1.4.4 this last one does not happen.</p>