Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SonarQube analysis on JSX file

I need to run SonarQube analysis for .jsx file . Is there any way so that we can run sonar-runner to analyse JSX file for performance issue?

like image 313
curogal Avatar asked Dec 15 '25 20:12

curogal


1 Answers

You can try to add:

sonar.javascript.file.suffixes=.js,.jsx

in your sonar-project.properties file. The default value is .js, so only those files will be parsed by Sonar.

like image 96
dompuiu Avatar answered Dec 18 '25 01:12

dompuiu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!