Tsconfig.js still producing warning even when *explicitly* ignored

SonarQube Version: Community Edition Version 10.4 (build 87286)

When we run the sonarscanner, the following errors are show on the server:

Failed to create TypeScript program with TSConfig file /MyProject/wwwroot/lib/babylonjs-gui/tsconfig.json. Highest TypeScript supported version is 5.3.2.

and

Failed to create TypeScript program with TSConfig file /MyProject/wwwroot/lib/babylonjs-loaders/tsconfig.json. Highest TypeScript supported version is 5.3.2.

However, I am explicitly excluding **/wwwroot/lib/** from my analysis.

Is there anything else I need to do to suppress this warning?

Hello @jbvirt,

Thank you for the feedback, and welcome to the Sonar community!

Would it be possible to share the full debug logs of the analysis? Additionally, could you clarify how exactly are you trying to exclude specific folder patterns?

This would help us understand the cause of these errors as well as why explicitly excluding this folder doesn’t work.

Cheers,
Yassin

I am unsure about how I might retrieve the logs. I do not have admin access to the SonarQube server, and the logs likely would contain some confidential information.

Here are the commands we are using to start/stop SonarQube:

    dotnet-sonarscanner begin -k:${project_id} \
        -d:sonar.host.url="${server}" \
        -d:sonar.token=${project_key} \
        -d:sonar.cs.vstest.reportsPaths=${test_results_path}/*.trx \
        -d:sonar.cs.${coverage_format}.reportsPaths=${test_results_path}/**/*.${coverage_format}.xml \
        -d:sonar.exclusions="${exclusions}" \
        -v:${build_version}
dotnet-sonarscanner end -d:sonar.token="$project_key"

This is the variable we are using for Exclusions:
exclusions="ExcludeThisDir/**, **/wwwroot/lib/**"