Skip to content

Commit 0961296

Browse files
committed
fix(linter): add gitlab to linter --help docs (#10932)
before: ``` Output -f, --format=ARG Use a specific output format. Possible values: `checkstyle`, `default`, `github`, `json`, `junit`, `stylish`, `unix` ``` after: ``` Output -f, --format=ARG Use a specific output format. Possible values: `checkstyle`, `default`, `github`, `gitlab`, `json`, `junit`, `stylish`, `unix` ```
1 parent 466c24a commit 0961296

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/oxlint/src/command/lint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ pub struct WarningOptions {
194194
#[derive(Debug, Clone, Bpaf)]
195195
pub struct OutputOptions {
196196
/// Use a specific output format. Possible values:
197-
/// `checkstyle`, `default`, `github`, `json`, `junit`, `stylish`, `unix`
197+
/// `checkstyle`, `default`, `github`, `gitlab`, `json`, `junit`, `stylish`, `unix`
198198
#[bpaf(long, short, fallback(OutputFormat::Default), hide_usage)]
199199
pub format: OutputFormat,
200200
}

tasks/website/src/linter/snapshots/cli.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Arguments:
110110

111111
## Output
112112
- **`-f`**, **`--format`**=_`ARG`_ —
113-
Use a specific output format. Possible values: `checkstyle`, `default`, `github`, `json`, `junit`, `stylish`, `unix`
113+
Use a specific output format. Possible values: `checkstyle`, `default`, `github`, `gitlab`, `json`, `junit`, `stylish`, `unix`
114114

115115

116116

tasks/website/src/linter/snapshots/cli_terminal.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Handle Warnings
6868

6969
Output
7070
-f, --format=ARG Use a specific output format. Possible values: `checkstyle`,
71-
`default`, `github`, `json`, `junit`, `stylish`, `unix`
71+
`default`, `github`, `gitlab`, `json`, `junit`, `stylish`, `unix`
7272

7373
Miscellaneous
7474
--silent Do not display any diagnostics

0 commit comments

Comments
 (0)