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
8 changes: 4 additions & 4 deletions apps/oxlint/src/command/lint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl LintCommand {
/// Basic Configuration
#[derive(Debug, Clone, Bpaf)]
pub struct BasicOptions {
/// Oxlint configuration file (experimental)
/// Oxlint configuration file
/// * only `.json` extension is supported
/// * you can use comments in configuration files.
/// * tries to be compatible with ESLint v8's format
Expand Down Expand Up @@ -268,16 +268,16 @@ pub struct EnablePlugins {
)]
pub typescript_plugin: OverrideToggle,

/// Enable the experimental import plugin and detect ESM problems.
/// It is recommended to use along side with the `--tsconfig` option.
/// Enable import plugin and detect ESM problems.
/// It is recommended to use alongside the `--tsconfig` option.
#[bpaf(flag(OverrideToggle::Enable, OverrideToggle::NotSet), hide_usage)]
pub import_plugin: OverrideToggle,

/// Enable react plugin, which is turned off by default
#[bpaf(flag(OverrideToggle::Enable, OverrideToggle::NotSet), hide_usage)]
pub react_plugin: OverrideToggle,

/// Enable the experimental jsdoc plugin and detect JSDoc problems
/// Enable jsdoc plugin and detect JSDoc problems
#[bpaf(flag(OverrideToggle::Enable, OverrideToggle::NotSet), hide_usage)]
pub jsdoc_plugin: OverrideToggle,

Expand Down
6 changes: 3 additions & 3 deletions tasks/website/src/linter/snapshots/cli.snap
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ search: false

## Basic Configuration
- **`-c`**, **`--config`**=_`<./.oxlintrc.json>`_ &mdash;
Oxlint configuration file (experimental)
Oxlint configuration file
* only `.json` extension is supported
* you can use comments in configuration files.
* tries to be compatible with ESLint v8's format
Expand Down Expand Up @@ -59,11 +59,11 @@ Arguments:
- **` --disable-typescript-plugin`** &mdash;
Disable TypeScript plugin, which is turned on by default
- **` --import-plugin`** &mdash;
Enable the experimental import plugin and detect ESM problems. It is recommended to use along side with the `--tsconfig` option.
Enable import plugin and detect ESM problems. It is recommended to use alongside the `--tsconfig` option.
- **` --react-plugin`** &mdash;
Enable react plugin, which is turned off by default
- **` --jsdoc-plugin`** &mdash;
Enable the experimental jsdoc plugin and detect JSDoc problems
Enable jsdoc plugin and detect JSDoc problems
- **` --jest-plugin`** &mdash;
Enable the Jest plugin and detect test problems
- **` --vitest-plugin`** &mdash;
Expand Down
8 changes: 4 additions & 4 deletions tasks/website/src/linter/snapshots/cli_terminal.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ expression: snapshot
Usage: [-c=<./.oxlintrc.json>] [PATH]...

Basic Configuration
-c, --config=<./.oxlintrc.json> Oxlint configuration file (experimental)
-c, --config=<./.oxlintrc.json> Oxlint configuration file
* only `.json` extension is supported
* you can use comments in configuration files.
* tries to be compatible with ESLint v8's format
Expand Down Expand Up @@ -35,10 +35,10 @@ Enable/Disable Plugins
--disable-unicorn-plugin Disable unicorn plugin, which is turned on by default
--disable-oxc-plugin Disable oxc unique rules, which is turned on by default
--disable-typescript-plugin Disable TypeScript plugin, which is turned on by default
--import-plugin Enable the experimental import plugin and detect ESM problems. It is
recommended to use along side with the `--tsconfig` option.
--import-plugin Enable import plugin and detect ESM problems. It is recommended to use
alongside the `--tsconfig` option.
--react-plugin Enable react plugin, which is turned off by default
--jsdoc-plugin Enable the experimental jsdoc plugin and detect JSDoc problems
--jsdoc-plugin Enable jsdoc plugin and detect JSDoc problems
--jest-plugin Enable the Jest plugin and detect test problems
--vitest-plugin Enable the Vitest plugin and detect test problems
--jsx-a11y-plugin Enable the JSX-a11y plugin and detect accessibility problems
Expand Down
Loading