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?
JSX is supported by the SonarQube JavaScript plugin since version 2.12.
See SONARJS-521 for more information.
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.
Copyright © 2021 Jogjafile Inc.
JSX is supported by the SonarQube JavaScript plugin since version 2.12.
See SONARJS-521 for more information.