| gitlab_output | R Documentation |
Generate a report of the linting results using the GitLab format.
gitlab_output(lints, filename = "lintr_results.json")
lints |
The linting results |
filename |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.