diff --git a/apps/oxlint/src/command/lint.rs b/apps/oxlint/src/command/lint.rs index c39d59c45077d..c5d92943d7504 100644 --- a/apps/oxlint/src/command/lint.rs +++ b/apps/oxlint/src/command/lint.rs @@ -119,7 +119,7 @@ pub struct BasicOptions { /// * you can use comments in configuration files. /// * tries to be compatible with ESLint v8's format /// - /// If not provided, Oxlint will look for `.oxlintrc.json` in the current working directory. + /// If not provided, Oxlint will look for a `.oxlintrc.json` or `oxlint.config.ts` file in the current working directory. #[bpaf(long, short, argument("./.oxlintrc.json"))] pub config: Option, diff --git a/tasks/website_linter/src/snapshots/cli.snap b/tasks/website_linter/src/snapshots/cli.snap index 559f27d5a78be..f3c14fa304457 100644 --- a/tasks/website_linter/src/snapshots/cli.snap +++ b/tasks/website_linter/src/snapshots/cli.snap @@ -18,7 +18,7 @@ search: false * you can use comments in configuration files. * tries to be compatible with ESLint v8's format - If not provided, Oxlint will look for `.oxlintrc.json` in the current working directory. + If not provided, Oxlint will look for a `.oxlintrc.json` or `oxlint.config.ts` file in the current working directory. - **` --tsconfig`**=_`<./tsconfig.json>`_ — TypeScript `tsconfig.json` path for reading path alias and project references for import plugin. If not provided, will look for `tsconfig.json` in the current working directory. - **` --init`** —