Support for ExtJS and Vue.js

393 views
Skip to first unread message

j...@moogsoft.com

unread,
Apr 28, 2017, 9:17:58 AM4/28/17
to SonarQube
Hi,

I looked in many places but couldn't find if SonarJS can actually support ExtJS and Vue.js.
All the JS files that I am scanning are returning:  org.sonar.squidbridge.api.AnalysisException: Unable to analyse file without much more helpful detail even running with --debug and --stacktrace.

Anyone have a clue on what could have gone wrong here? 

Thanks.

JP

carlo.bo...@sonarsource.com

unread,
Apr 28, 2017, 10:06:10 AM4/28/17
to SonarQube
Hello JP,
Vue.js files are not JS files and there's currently a request open for this feature on SonarJS GitHub Issues : https://github.com/SonarSource/sonar-javascript/issues/576
We will be updating that issue when we implement Vue.js support.

ExtJS is a bit more suprising, as far as I can tell ExtJS files are plain javascript files. I just dropped a big ExtJS file into a SonarLint with the latest version of SonarJS and it works like a charm. Do you have an example of an ExtJS file failing the analysis?

ric...@cookra.co.uk

unread,
Jul 1, 2017, 9:38:20 PM7/1/17
to SonarQube
This fails off the bat but it is part of an SDK that uses ExtJS (Rally / Agile Central)..

Ext.define('CustomApp', {
    extend: 'Rally.app.App',
    componentCls: 'app',
    launch: function() {
        //Write app code here
 
    }


});


I'm not getting those errors though - what are pointing too in Sonar?

Elena Vilchik

unread,
Jul 12, 2017, 8:51:10 AM7/12/17
to SonarQube, ric...@cookra.co.uk
Hello,

Could you be more precise in your message? What does mean "This fails off the bat"? What is exception message/log?
What does mean "I'm not getting those errors though - what are pointing too in Sonar?"?

Thanks,
Elena
Reply all
Reply to author
Forward
0 new messages