Skip to content
Open
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
4 changes: 4 additions & 0 deletions crates/oxc_linter/src/generated/rule_runner_impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1775,6 +1775,10 @@ impl RuleRunner for crate::rules::react::no_unknown_property::NoUnknownProperty
Some(&AstTypesBitset::from_types(&[AstType::JSXOpeningElement]));
}

impl RuleRunner for crate::rules::react::only_export_components::OnlyExportComponents {
const NODE_TYPES: Option<&AstTypesBitset> = None;
}

impl RuleRunner for crate::rules::react::prefer_es6_class::PreferEs6Class {
const NODE_TYPES: Option<&AstTypesBitset> = None;
}
Expand Down
2 changes: 2 additions & 0 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ pub(crate) mod react {
pub mod no_string_refs;
pub mod no_unescaped_entities;
pub mod no_unknown_property;
pub mod only_export_components;
pub mod prefer_es6_class;
pub mod react_in_jsx_scope;
pub mod require_render_return;
Expand Down Expand Up @@ -1029,6 +1030,7 @@ oxc_macros::declare_all_lint_rules! {
react::no_string_refs,
react::no_unescaped_entities,
react::no_unknown_property,
react::only_export_components,
react::prefer_es6_class,
react::react_in_jsx_scope,
react::require_render_return,
Expand Down
Loading
Loading