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 @@ -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<PathBuf>,

Expand Down
2 changes: 1 addition & 1 deletion tasks/website_linter/src/snapshots/cli.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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>`_ &mdash;
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`** &mdash;
Expand Down
Loading