code_quality_report: ^0.1.2 copied to clipboard
Generate Code Climate JSON reports from dart Analysis Server. Transforms the output of dartanalyzer to GitLab code quality JSON
Code Quality Report #
This application can be used to convert the results of dartanalyzer to Code Climate json reports. These JSON reports can then be used by other tools like GitLab CI.
dartanalyzer . --format=machine 2>&1 | tocodeclimate > code-quality-report.json
this program will generate 'code-quality-report.json' containing JSON containing list of Code Climate issues as in specification.
pub global activate code_quality_report to download the program and make a launch script available:
<dart-cache>/bin directory is not on your path, you will get a warning, including tips on how to fix it.
Once the directory is on your path you should be able to pipe dartanalyzer output to this program.