diff --git a/apps/oxlint/src/command/lint.rs b/apps/oxlint/src/command/lint.rs index 0374390cf7f14..71b8775b263e7 100644 --- a/apps/oxlint/src/command/lint.rs +++ b/apps/oxlint/src/command/lint.rs @@ -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 #[bpaf(long("report-unused-disable-directives"), switch, hide_usage)] bool, diff --git a/tasks/website/src/linter/snapshots/cli.snap b/tasks/website/src/linter/snapshots/cli.snap index cba7650ec611a..d76ae04fede09 100644 --- a/tasks/website/src/linter/snapshots/cli.snap +++ b/tasks/website/src/linter/snapshots/cli.snap @@ -138,7 +138,7 @@ Arguments: ## 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 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 can be used at a time. diff --git a/tasks/website/src/linter/snapshots/cli_terminal.snap b/tasks/website/src/linter/snapshots/cli_terminal.snap index ca3cb77d6a0c4..61b40ee005daa 100644 --- a/tasks/website/src/linter/snapshots/cli_terminal.snap +++ b/tasks/website/src/linter/snapshots/cli_terminal.snap @@ -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