Skip to content

qiwi-forks/sonar-scanner-npm

 
 

Repository files navigation

@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.

About

SonarQube Scanner for the JavaScript world

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%