How to set up scanning to my files eslintrc. js

I’m using SonarQube 7.5 and Sonar Scanner 4.7.0.2747

I’ve a JavaScript project which I want to scan it using Sonar Scanner but Files under the project root directory are not scanned and displayed like .eslintrc.js, What should I do to make it appear?


Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.5 → 7.9.6 → 8.9.8 → 9.5 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes helpful. If you have questions about upgrading, feel free to open a new thread for that here.

If the issue persists after upgrade, please come back to us.

I think you may have misunderstood my meaning. We do not plan to upgrade the version because of some restrictions. In this case, how can we scan all the files under the project and include configuration files similar to eslint


This information in the log should be correct. I understand that this file should be displayed on the /code page but not display

While that indicates what configuration you fed the scanner, I expect if you scroll down you’ll find the file was “indexed with language ‘null’”. It’s the same reason your .png files don’t appear in SonarQube.

I don’t think it has anything to do with this, so how can I solve the problem that the scan doesn’t display? It’s similar to the configuration file