Skip to content
Merged
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
12 changes: 6 additions & 6 deletions crates/oxc_linter/src/rules/react/no_multi_comp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down
Loading