Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(linter): implement react/style-prop-object #6342

Merged
merged 7 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from 6 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: 2 additions & 0 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ mod react {
pub mod require_render_return;
pub mod rules_of_hooks;
pub mod self_closing_comp;
pub mod style_prop_object;
pub mod void_dom_elements_no_children;
}

Expand Down Expand Up @@ -808,6 +809,7 @@ oxc_macros::declare_all_lint_rules! {
react::require_render_return,
react::rules_of_hooks,
react::self_closing_comp,
react::style_prop_object,
react::void_dom_elements_no_children,
react_perf::jsx_no_jsx_as_prop,
react_perf::jsx_no_new_array_as_prop,
Expand Down
Loading
Loading