Sonar.sources is ignoring src/external/

I have a node app in which 3rd party api integrations are in a folder called src/external.

I have the following setting in sonar-project.properties:

sonar.sources = src/

but in the sonarcloud code dashboard it says there is no code in the src/external directory.

Screenshot 2024-10-24 at 4.55.08 PM

How can I ensure that sonar analyzes the src/external/ directory recursively?

Hey there.

Take a look at the docs here.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.