-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] new output format for Code Climate #512
Comments
@Blaimi Are you using the validator as a Node module within JavaScript code or as a CLI tool? |
I want to use it in a gitlab-pipeline [1]. gitlab requires the code climate output format for integration in code quality reports [2]. [1] https://gitlab.com/biletado/apidocs/-/blob/0dfa977c8cc38282dada77f50c8db151f5e6926d/.gitlab-ci.yml#L6 |
I see. So it's not sufficient just to have JSON output, you need an entirely new output structure? |
@Blaimi in our official 1.0.0 release of the validator, we have defined a json schema that describes the JSON output produced by the validator. Perhaps a way to solve this would be to use a tool such as |
Yes, I considered Would you accept a PR on this topic with an implementation? e.g. with |
Signed-off-by: Matthias Blümel <[email protected]>
Signed-off-by: Matthias Blümel <[email protected]>
Signed-off-by: Matthias Blümel <[email protected]>
Signed-off-by: Matthias Blümel <[email protected]>
For the integration of the validation results in other software, it would be nice to have the possibility to get the output as json as specified by Code Climate. Especially the integration in gitlab-ci requires this format.
https://github.com/codeclimate/platform/blob/master/spec/analyzers/SPEC.md#data-types
The text was updated successfully, but these errors were encountered: