Gitlab reporter does not generate proper json #169
Labels
Error
Report something not working
Review/Pending
Initial stage of the issue to evaluate its approval
Describe the error
As per the official docs, the GitLab style should have an array of objects, but the DCL is generating something else.
I am running this "dart run dart_code_linter:metrics analyze . -r codeclimate --json-path gl-code-quality-report.json"
gl-code-quality-report-mine.json
Runtime environment
Upon looking at DCL code, I see that gitlab and codeclimate reporters are using same template,
a new reporter should be made for gitlab format as per the spec https://docs.gitlab.com/ee/ci/testing/code_quality.html#code-quality-report-format
Also, there is a pkg that promises to generate correct format : https://pub.dev/packages/flutter_analyze_reporter
Probably we can understand and adapt it. I will try that too and update the thread
The text was updated successfully, but these errors were encountered: