title: Exclude JavaScript libraries from Sonar
body: <p>If you look at this site analysing JavaScript with Sonar you see that there are lots of errors reported on the JavaScript libraries.</p>
  
  <p><a href="http://nemo.sonarsource.org/drilldown/violations/jquery?rids%5B%5D=421365&amp;severity=MAJOR" rel="noreferrer">http://nemo.sonarsource.org/drilldown/violations/jquery?rids%5B%5D=421365&amp;severity=MAJOR</a></p>
  
  <p>How can I prevent Sonar reporting the errors in the JavaScript libraries that I am using (since I can't fix any issues)?</p>
  
  <p>At the same time, if I do manage to exclude the library, I don't want errors like "undefined variables" to appear in my files because they are referencing the JavaScript library.</p>
  
  <p>If it makes any difference, I am using ExtJS 4.0.</p>