title: How to detect global variables with the sonar javascript plugin
body: <p>We're trying to detect usage of global variables in our js code by using a sonar analysis. It seems that this rule was present in old versions of the javascript plugin, but not anymore (we're using version 1.2 of the plugin).
  Are we doing something wrong ? Or is there a way to use XPath to mimic this rule ?</p>
  
  <p>Thanks in advance</p>