Created
October 30, 2021 18:53
-
-
Save jonra1993/7803b32db5a472d7261e769fcd7b93fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const scanner = require('sonarqube-scanner'); | |
scanner( | |
{ | |
serverUrl: 'http://localhost:9000', | |
token: "e838dd064de0e78c5c39bcbb23aeb758353944ca", | |
options: { | |
'sonar.projectName': 'sonarqube-react-project', | |
'sonar.projectDescription': 'Here I can add a description of my project', | |
'sonar.projectKey': 'sonarqube-react-project', | |
'sonar.projectVersion': '0.0.1', | |
'sonar.exclusions': '', | |
'sonar.sourceEncoding': 'UTF-8', | |
} | |
}, | |
() => process.exit() | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment