Generate a report of the linting results using the GitLab format.
gitlab_output(lints, filename = "lintr_results.json")The linting results
The file name of the output report
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.