Open merjadok opened 8 years ago
I have even tried manually changing the path to absolute path (in reports/sonar/tslint.json):
C:\Jenkins\workspace\sonarQube\src\frontend\mobile\custom_typings\file.ts
but I still get the same error:
fr.sii.sonar.report.core.common.exception.SaveException: The file C:\\Jenkins\\workspace\\sonarQube\\src\\frontend\\mobile\\custom_typings\\file.ts doesn't exist
This is a sonar plugin issue : https://github.com/groupe-sii/sonar-web-frontend-plugin. it seems like a bug we had by the past on other linters, either the bug is present for TS or it is fixed and the problem comes from your sonar configuration. Is the sonar.properties configuration correct ? (sonar.sources should be src/frontend or src.frontend for your project)
Looks like the problem is with the name of the file. I renamed the rules (aka config) file from .tslintrc to tsrules.json and it worked. The tslint plugin might be expecting a json file instead of .tslintrc file.
Hello,
We are getting a following error when running the TS analysis for our project:
We have the following structure
This is how we configured the Gulp task:
and this is the output we get in reports/sonar/tslint.json (just part of it):
It seems that paths are somehow wrong but I cannot find any configuration which actually works. Am I doing something obviously wrong here?
Thanks in advance and best regards,