Skip to content

This is an initial effort to generate custom measures for Node.js projects in SonarQube

License

Notifications You must be signed in to change notification settings

natura-cosmeticos/sonar-nodejs-java-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sonar NodeJS

SonarNodeJS is a code analyzer for NodeJS projects.

Project status: work in progress

This project is currently a result of a POC.

Features

Get Started

To build the plugin and run its unit tests, execute this command from the project's root directory to generate the jar file. After this put the jar file in $SONARQUBE_HOME/extensions/plugins, removing any previous versions of the same plugins:

mvn clean package

Building using docker, execute this command from the project's root directory:

docker run -v ~/.m2:/var/maven/.m2 -ti --name sonar-nodejs --rm -u `id -u`:`id -g` -v "$(pwd)":/usr/src/sonar-nodejs -w /usr/src/sonar-nodejs -e MAVEN_CONFIG=/var/maven/.m2 maven:3.6.1-jdk-8-alpine mvn clean package -Duser.home=/var/maven

About

This is an initial effort to generate custom measures for Node.js projects in SonarQube

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published