8000 Provide code quality report as JSON according to Code Climate specificiation · Issue #365 · editorconfig-checker/editorconfig-checker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Provide code quality report as JSON according to Code Climate specificiation #365
Closed
@tploss

Description

@tploss

For projects hosted on GitLab the following feature would probably help many developers to better integrate editorconfig-checker in their GitLab CI flow.

Coming from GitLab and reading its documentation on integrating a custom tool for code quality, we should be able to provide a code quality report as JSON according to Code Climate specificiation.

As documented in the first link, the Code Quality report artifact JSON file must contain an array of objects with the following properties:

Name Description
description A description of the code quality violation.
fingerprint A unique fingerprint to identify the code quality violation. For example, an MD5 hash.
severity A severity string (can be info, minor, major, critical, or blocker).
location.path The relative path to the file containing the code quality violation.
location.lines.begin The line on which the code quality violation occurred.

This would be an alternative to the already existing gcc and default format.
As requested in #245 I'd be willing to implement this myself and open a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature which should be implemented

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0