@qiwi/sonar-scanner
v1.4.3
Published
SonarQube/SonarCloud Scanner for the JavaScript world / QIWI fork to bring a bit more security
Downloads
28
Readme
@qiwi/sonarqube-scanner
The fork of the fork (dvolpato/sonar-scanner-npm) of the original SonarQube Scanner for NPM to bring a bit more security for enterprise use.
Extras
- Check bin hashes
- Fixed some vuls / updated deps
Installation
npm install -D @qiwi/sonarqube-scanner
Usage
const scanner = require('sonarqube-scanner');
scanner(
{
serverUrl : 'https://sonarqube.mycompany.com',
token : "019d1e2e04eefdcd0caee1468f39a45e69d33d3f",
options: {
'sonar.projectName': 'My App',
'sonar.projectDescription': 'Description for "My App" project...',
'sonar.sources': 'src',
'sonar.tests': 'specs'
}
},
() => process.exit()
)
Follow the upstream docs for details.
License
sonarqube-scanner
is licensed under the LGPL v3 License.