In my project there is sonar scanner which is analyzing only *.js files (probably there is such configuration or so on). Also I have istanbul code coverage which generates a perfect lcov file with the results.
This lcov file has references to *.ts files which are not analyzed by Sonar. So the question is how to tell Sonar to analyze *.ts files instead of *.js files?
Now i'm getting somthing like this -
Could not resolve 10 file paths in [coverage.lcov], first unresolved path:
[path]/test.ts .
I would really appreciate any help and it will be super if someone can share their working configuration file sonar-project.properties
.
In my project there is sonar scanner which is analyzing only *.js files (probably there is such configuration or so on). Also I have istanbul code coverage which generates a perfect lcov file with the results.
This lcov file has references to *.ts files which are not analyzed by Sonar. So the question is how to tell Sonar to analyze *.ts files instead of *.js files?
Now i'm getting somthing like this -
Could not resolve 10 file paths in [coverage.lcov], first unresolved path:
[path]/test.ts .
I would really appreciate any help and it will be super if someone can share their working configuration file sonar-project.properties
.
1 Answer
Reset to default 5This isn't configured in sonar-project.properties but through the GUI: Administration > General Settings > SonarJS > File Suffixes
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745662402a4638917.html
评论列表(0条)