Skip to content

Commit a25d31e

Browse files
committed
docs(linter): fix grammar (#15666)
Just remove an extraneous "the" from docs comment. I *think* this will remove the same typo from website (https://oxc.rs/docs/guide/usage/linter/cli.html#basic-configuration), because that file appears to be auto-generated from this comment.
1 parent f5f452f commit a25d31e

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
@@ -108,7 +108,7 @@ pub struct BasicOptions {
108108
/// Oxlint configuration file (experimental)
109109
/// * only `.json` extension is supported
110110
/// * you can use comments in configuration files.
111-
/// * tries to be compatible with the ESLint v8's format
111+
/// * tries to be compatible with ESLint v8's format
112112
///
113113
/// If not provided, Oxlint will look for `.oxlintrc.json` in the current working directory.
114114
#[bpaf(long, short, argument("./.oxlintrc.json"))]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ search: false
1515
Oxlint configuration file (experimental)
1616
* only `.json` extension is supported
1717
* you can use comments in configuration files.
18-
* tries to be compatible with the ESLint v8's format
18+
* tries to be compatible with ESLint v8's format
1919

2020
If not provided, Oxlint will look for `.oxlintrc.json` in the current working directory.
2121
- **` --tsconfig`**=_`<./tsconfig.json>`_ &mdash;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Basic Configuration
88
-c, --config=<./.oxlintrc.json> Oxlint configuration file (experimental)
99
* only `.json` extension is supported
1010
* you can use comments in configuration files.
11-
* tries to be compatible with the ESLint v8's format
11+
* tries to be compatible with ESLint v8's format
1212
--tsconfig=<./tsconfig.json> TypeScript `tsconfig.json` path for reading path alias and
1313
project references for import plugin. If not provided, will look for
1414
`tsconfig.json` in the current working directory.

0 commit comments

Comments
 (0)