If it makes any difference, I am using ExtJS 4.0.
I am using maven and extjs 4.1 in my project. I have managed to run the analysis only on my source code by putting these lines in my pom.xml:
<properties> <sonar.language>js</sonar.language> <sonar.exclusions>extjs/**</sonar.exclusions> </properties> <build> <sourceDirectory>src/main/webapp</sourceDirectory> </build>
I don't know whether you're using maven as well, but perhaps this will give you some hints.