You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added a new reporter named `rdjson`. This reporter prints diagnostics following the [RDJSON format](https://deepwiki.com/reviewdog/reviewdog/3.2-reviewdog-diagnostic-format):
/// Diagnostics and summary are printed in JUnit format
156
156
Junit,
157
-
/// Reports linter diagnostics grouped by category and number of hits. Reports formatter diagnostics grouped by file.
157
+
/// Reports diagnostics grouped by category and number of hits. Reports formatter diagnostics grouped by file.
158
158
Summary,
159
-
/// Reports linter diagnostics using the [GitLab Code Quality report](https://docs.gitlab.com/ee/ci/testing/code_quality.html#implement-a-custom-tool).
159
+
/// Reports diagnostics using the [GitLab Code Quality report](https://docs.gitlab.com/ee/ci/testing/code_quality.html#implement-a-custom-tool).
160
160
GitLab,
161
161
/// Reports diagnostics in Checkstyle XML format
162
162
Checkstyle,
163
+
/// Reports diagnostics using the [Reviewdog JSON format](https://deepwiki.com/reviewdog/reviewdog/3.2-reviewdog-diagnostic-format)
164
+
RdJson,
163
165
}
164
166
165
167
implCliReporter{
@@ -180,6 +182,7 @@ impl FromStr for CliReporter {
180
182
"junit" => Ok(Self::Junit),
181
183
"gitlab" => Ok(Self::GitLab),
182
184
"checkstyle" => Ok(Self::Checkstyle),
185
+
"rdjson" => Ok(Self::RdJson),
183
186
_ => Err(format!(
184
187
"value {s:?} is not valid for the --reporter argument"
185
188
)),
@@ -198,6 +201,7 @@ impl Display for CliReporter {
0 commit comments