When using sonarscanner for .NET version 6.2.0 to analyze a C# .NET project, containing multiple TypeSycript files, the sonarscanner does not analyze any TypeScript content.
Taking a look into the debug logs, I see that the scanner doesn’t detect any tsconfig.json files. To be fair, the (multiple) tsconfig files are located in a subdirectory of the root folder, but setting the path to said files manually also doesn’t change that fact.
I even created a tsconfig file in the root folder of the project, containing universal dummy content like
{ "include": ["**/*.ts", "**/*.tsx"] }
but it still doesn’t recognize any tsconfig files.
The logs keep saying:
14:55:42.800 INFO: Resolving TSConfig files using 'tsconfig.json' from property sonar.typescript.tsconfigPath
14:55:42.800 DEBUG: Using 'tsconfig.json' to resolve TSConfig file(s)
14:55:42.808 INFO: Found 0 TSConfig file(s): []
14:55:42.813 INFO: Found 0 tsconfig.json file(s): []
14:55:42.814 INFO: No tsconfig.json file found
What else could I be missing here?