eslint-formatter-sonarqube

1.0.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    5,732
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    5,732

Package Sidebar

Install

npm i eslint-formatter-sonarqube

Weekly Downloads

5,732

Version

1.0.0

License

ISC

Unpacked Size

3 kB

Total Files

5

Last publish

Collaborators

  • garrett.sutula