An ESLint custom formatter that outputs lint results in JSON format compatible with SonarQube 7.4+ external analyzer feature. Current stable version is 1.0.0. The tool converts ESLint results into a JSON structure that SonarQube can import as external issues. It is specifically designed for SonarQube 7.4+ and requires no additional dependencies. The formatter is used by passing it as the -f flag to ESLint CLI and outputting to a file referenced in sonar-project.properties.
npm install eslint-formatter-sonarqubeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install the formatter, run ESLint with the formatter to produce a SonarQube-compatible report, then configure SonarQube to import the report.
Upgrade SonarQube to 7.4+ or use a different formatter.
Use -f node_modules/eslint-formatter-sonarqube (or relative path) in ESLint CLI.
Ensure the -o path and the property value are identical relative to the project root.
Run 'npm install eslint-formatter-sonarqube --save-dev' or use the full path (e.g., node_modules/eslint-formatter-sonarqube).
Use -f node_modules/eslint-formatter-sonarqube or -f ./node_modules/eslint-formatter-sonarqube.
Ensure the path in sonar.externalIssuesReportPaths matches the -o path from ESLint, relative to project root.
No dependency data recorded yet.