Hello,
I have a Angular project which will be analyzed by SonarQube running the following command:
sonar-scanner -Dsonar.exlusions=node_modules/** \
-Dsonar.sources=src \
-Dsonar.projectName=my_project_fronted \
-Dsonar.projectKey=my_project_frontend \
-Dsonar.host.url=http://ip-to-sonar:9000/sonar \
-Dsonar.ts.tslint.configPath=tslint.json
-Dsonar.ts.tslint.typeCheck=true
The tslint.json does not require to add all modules to the package.json, whereas the SonarQube reports many code smells:
Module 'app' is not listed as dependency in package.json
So, what does SonarQube use the tslint.json anyways when it just use its own rules?
Regards,
Christian