1.4.3 • Published 1 year ago

@qiwi/sonarqube-scanner v1.4.3

Weekly downloads
-
License
LGPL-3.0
Repository
github
Last release
1 year ago

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