teabow / sonar-angular-custom-rules

AngularJS custom rules for SonarQube

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AngularJS 1.x custom rules for SonarQube

Install

  • Build project with mvn clean install
  • Copy the generated JAR file in SONARQUBE_HOME/extensions/plugins/
  • Restart SonarQube

Configure

  • Install Javascript plugin from Update Center
  • Create a new Quality Profile which inherits from Sonar Way Javascript
  • Activate the custom rules for the new Quality Profile (You can find them in the repository Custom Repository)

Run

  • You can use gulp-sonar to generate SonarQube metrics for your AngularJS Project

Rules

About

AngularJS custom rules for SonarQube

License:MIT License


Languages

Language:Java 100.0%