From dd1a6539fe534492b7ff7dd06a568dfc448bcc7a Mon Sep 17 00:00:00 2001 From: connorshea <2977353+connorshea@users.noreply.github.com> Date: Sun, 1 Feb 2026 17:32:06 +0000 Subject: [PATCH] docs(linter): Fix doc comment for ignoreStateless config option. (#18808) Oops. --- crates/oxc_linter/src/rules/react/no_multi_comp.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/oxc_linter/src/rules/react/no_multi_comp.rs b/crates/oxc_linter/src/rules/react/no_multi_comp.rs index f1cbb21750d6f..73e737cca36a5 100644 --- a/crates/oxc_linter/src/rules/react/no_multi_comp.rs +++ b/crates/oxc_linter/src/rules/react/no_multi_comp.rs @@ -35,12 +35,12 @@ fn no_multi_comp_diagnostic(component_name: &str, span: Span) -> OxcDiagnostic { #[derive(Debug, Default, Clone, Serialize, Deserialize, JsonSchema)] #[serde(rename_all = "camelCase", default, deny_unknown_fields)] struct NoMultiCompConfig { - // When `true`, the rule will ignore stateless components and will allow you to have multiple - // stateless components in the same file. Or one stateful component and one-or-more stateless - // components in the same file. - // - // Stateless basically just means function components, including those created via - // `memo` and `forwardRef`. + /// When `true`, the rule will ignore stateless components and will allow you to have multiple + /// stateless components in the same file. Or one stateful component and one-or-more stateless + /// components in the same file. + /// + /// Stateless basically just means function components, including those created via + /// `memo` and `forwardRef`. ignore_stateless: bool, }