Skip to content

Commit 40dbfae

Browse files

File tree

3 files changed

+621
-0
lines changed

3 files changed

+621
-0
lines changed

crates/oxc_linter/src/rules.rs

+2
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ mod react {
147147
pub mod jsx_no_useless_fragment;
148148
pub mod no_children_prop;
149149
pub mod no_dangerously_set_inner_html;
150+
pub mod no_direct_mutation_state;
150151
pub mod no_find_dom_node;
151152
pub mod no_is_mounted;
152153
pub mod no_render_return_value;
@@ -483,6 +484,7 @@ oxc_macros::declare_all_lint_rules! {
483484
react::react_in_jsx_scope,
484485
react::no_children_prop,
485486
react::no_dangerously_set_inner_html,
487+
react::no_direct_mutation_state,
486488
react::no_find_dom_node,
487489
react::no_render_return_value,
488490
react::no_string_refs,

0 commit comments

Comments
 (0)