mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
chore(linter): update doc comment to reflect existance of stylish formatter (#8645)
after:
```
Output
-f, --format=ARG Use a specific output format (default, json, unix, checkstyle, github,
stylish)
```
This commit is contained in:
parent
835b25889b
commit
b75d4919ee
3 changed files with 4 additions and 5 deletions
|
|
@ -185,7 +185,7 @@ pub struct WarningOptions {
|
|||
/// Output
|
||||
#[derive(Debug, Clone, Bpaf)]
|
||||
pub struct OutputOptions {
|
||||
/// Use a specific output format (default, json, unix, checkstyle, github)
|
||||
/// Use a specific output format (default, json, unix, checkstyle, github, stylish)
|
||||
#[bpaf(long, short, fallback(OutputFormat::Default), hide_usage)]
|
||||
pub format: OutputFormat,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
source: tasks/website/src/linter/cli.rs
|
||||
expression: snapshot
|
||||
snapshot_kind: text
|
||||
---
|
||||
## Usage
|
||||
**`oxlint`** \[**`-c`**=_`<./oxlintrc.json>`_\] \[_`PATH`_\]...
|
||||
|
|
@ -111,7 +110,7 @@ Arguments:
|
|||
|
||||
## Output
|
||||
- **`-f`**, **`--format`**=_`ARG`_ —
|
||||
Use a specific output format (default, json, unix, checkstyle, github)
|
||||
Use a specific output format (default, json, unix, checkstyle, github, stylish)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
source: tasks/website/src/linter/cli.rs
|
||||
expression: snapshot
|
||||
snapshot_kind: text
|
||||
---
|
||||
Usage: [-c=<./oxlintrc.json>] [PATH]...
|
||||
|
||||
|
|
@ -68,7 +67,8 @@ Handle Warnings
|
|||
your project
|
||||
|
||||
Output
|
||||
-f, --format=ARG Use a specific output format (default, json, unix, checkstyle, github)
|
||||
-f, --format=ARG Use a specific output format (default, json, unix, checkstyle, github,
|
||||
stylish)
|
||||
|
||||
Miscellaneous
|
||||
--silent Do not display any diagnostics
|
||||
|
|
|
|||
Loading…
Reference in a new issue