-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SonarQube analysis #181
Comments
Yes sounds good. How about a PR?
…On 26 Nov 2016 03:14, "Javi" ***@***.***> wrote:
What do you think about analyze your code with SonarQube? it would be
great to have a "sonar-project.properties" file with the configuration to
analyse your typescripts, display the code coverage...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#181>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AG5tSFFaZ9r22HVh5O9eGfgry77rCfTpks5rBzOLgaJpZM4K8q14>
.
|
You just need to add a "sonar-project.properties" file in your root folder and download/setups SonarQube and Runner following the "Get Started in Two Minutes" instructions: http://docs.sonarqube.org/display/SONAR/Get+Started+in+Two+Minutes You also need to add the TS plugin from https://github.com/Pablissimo/SonarTsPlugin in your sonar plugins folder (C:\sonarqube\sonarqube-6.1\extensions\plugins) sonar.projectKey=Clicker sonar.sourceEncoding=UTF-8 #------------- Sonar + DB connection ---------- #sonar.javascript.jstest.reportsPath=reports/junit sonar.modules=html_module,js_module,ts_module,json_module,css_module ts_module.sonar.ts.tslintconfigpath=tslint.json ts_module.sonar.ts.lcov.reportpath=coverage/coverage.lcov ts_module.sonar.tests=src/ #sonar.javascript.lcov.reportpath=coverage/coverage.lcov |
OK, thanks for the info. Will leave this open for reference / in case anyone wants to make a PR. |
Should be raised with / integrated into @angular/cli |
What do you think about analyze your code with SonarQube? it would be great to have a "sonar-project.properties" file with the configuration to analyse your typescripts, display the code coverage...
The text was updated successfully, but these errors were encountered: