Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/oxlint/src/command/lint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ impl EnablePlugins {
#[derive(Debug, Clone, PartialEq, Eq, Bpaf)]
pub enum ReportUnusedDirectives {
WithoutSeverity(
/// Report directive comments like `// eslint-disable-line` when no errors would have been reported on that line anyway.
/// Report directive comments like `// oxlint-disable-line`, when no errors would have been reported on that line anyway
// More information at <https://eslint.org/docs/latest/use/command-line-interface#--report-unused-disable-directives>
#[bpaf(long("report-unused-disable-directives"), switch, hide_usage)]
bool,
Expand Down
2 changes: 1 addition & 1 deletion tasks/website/src/linter/snapshots/cli.snap
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Arguments:

## Inline Configuration Comments
- **` --report-unused-disable-directives`** &mdash;
Report directive comments like `// eslint-disable-line` when no errors would have been reported on that line anyway.
Report directive comments like `// oxlint-disable-line`, when no errors would have been reported on that line anyway
- **` --report-unused-disable-directives-severity`**=_`SEVERITY`_ &mdash;
Same as `--report-unused-disable-directives`, but allows you to specify the severity level of the reported errors. Only one of these two options can be used at a time.

Expand Down
4 changes: 2 additions & 2 deletions tasks/website/src/linter/snapshots/cli_terminal.snap
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ Miscellaneous
linting is performed and only config-related options are valid.

Inline Configuration Comments
--report-unused-disable-directives Report directive comments like `// eslint-disable-line`
when no errors would have been reported on that line anyway.
--report-unused-disable-directives Report directive comments like `// oxlint-disable-line`,
when no errors would have been reported on that line anyway
--report-unused-disable-directives-severity=SEVERITY Same as
`--report-unused-disable-directives`, but allows you to specify the
severity level of the reported errors. Only one of these two options
Expand Down
Loading