| gitlab_output {lintr} | R Documentation |
GitLab Report for lint results
Description
Generate a report of the linting results using the GitLab format.
Usage
gitlab_output(lints, filename = "lintr_results.json")
Arguments
lints |
The linting results |
filename |
The file name of the output report |
Details
lintr only supports three severity types ("style", "warning", and "error") while the GitLab format supports five ("info", "minor", "major", "critical", and "blocker"). The types "style", "warning", and "error" are mapped to the GitLab types "info", "major", and "blocker", respectively. The GitLab types "minor" and "critical" are ignored.
[Package lintr version 3.3.0-1 Index]