🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

eslint-formatter-sonarqube

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-formatter-sonarqube

eslint formatter to output JSON in a format compatible with sonarqube 7.4's new external analyzer feature

1.0.0
latest
Source
npm
Version published
Weekly downloads
3.6K
14.21%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-formatter-sonarqube

This formatter aggregates the ESLint results into JSON format that can be imported into your sonarqube 7.4+ projects. After installing this module, configure your sonar-project.properties file to add the parameter sonar.externalIssuesReportPaths with one or more paths to reports that will be imported when a scan is run.

Installation & Usage

To Install

npm install eslint-formatter-sonarqube --save-dev

Once installed, pass the module as the formatter parameter when using eslint:

eslint -f node_modules/eslint-formatter-sonarqube -o ./sonar/result.json  ./  

Reference

  • ESLint documentation on custom formatters
  • SonarQube documentation on external analyzers

Keywords

sonarqube

FAQs

Package last updated on 01 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts