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 @@ -128,7 +128,7 @@ pub struct BasicOptions {
/// Use this only when your project uses a non-standard tsconfig name or location.
///
/// ::: warning
/// Avoid using this this option. It can cause differences between import resolution,
/// Avoid using this option. It can cause differences between import resolution,
/// and type-aware linting. Type aware linting **does not** respect this option,
/// and will always discover the appropriate `tsconfig.json` for each file automatically.
/// :::
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 @@ -22,7 +22,7 @@ search: false
- **` --tsconfig`**=_`<./tsconfig.json>`_ &mdash;
Override the TypeScript config used for import resolution. Oxlint automatically discovers the relevant `tsconfig.json` for each file. Use this only when your project uses a non-standard tsconfig name or location.

::: warning Avoid using this this option. It can cause differences between import resolution, and type-aware linting. Type aware linting **does not** respect this option, and will always discover the appropriate `tsconfig.json` for each file automatically. :::
::: warning Avoid using this option. It can cause differences between import resolution, and type-aware linting. Type aware linting **does not** respect this option, and will always discover the appropriate `tsconfig.json` for each file automatically. :::
- **` --init`** &mdash;
Initialize oxlint configuration with default values

Expand Down
Loading