Skip to content

shrutigv/sonarQube-typescript-setup

Repository files navigation

sonarQube-typescript-setup

Static code analysis with sonarqube tslint

#SonarTS documents

https://docs.sonarqube.org/display/PLUG/SonarTS

#Description

SonarTS detects bugs, vulnerabilities and code smells in TypeScript code.

#Setup

  1. Install node.js
  2. Install typescript
  3. Install SonarQube Server see Setup and Upgrade for more details
  4. Install SonarQube Scanner and be sure your can call sonar-scanner from the directory where you have your source code
  5. Install SonarTS (see Installing a Plugin for more details)
  6. Run your analysis with the SonarQube Scanner by executing the following command from the root directory of the project: sonar-scanner -Dsonar.projectKey=xxx -Dsonar.sources=.
  7. Typescript testexecution and coverage config
  8. Tslint configurations

Refer the above code base for setting up the project with static analysis tool.

About

Static code analysis with sonarqube tslint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published