Skip to content

Commit

Permalink
feat(linter): eslint-plugin-react: no-direct-mutation-state (oxc-proj…
Browse files Browse the repository at this point in the history
  • Loading branch information
2 people authored and IWANABETHATGUY committed May 29, 2024
1 parent 6aa0825 commit 684a2f5
Show file tree
Hide file tree
Showing 3 changed files with 621 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ mod react {
pub mod jsx_no_useless_fragment;
pub mod no_children_prop;
pub mod no_dangerously_set_inner_html;
pub mod no_direct_mutation_state;
pub mod no_find_dom_node;
pub mod no_is_mounted;
pub mod no_render_return_value;
Expand Down Expand Up @@ -483,6 +484,7 @@ oxc_macros::declare_all_lint_rules! {
react::react_in_jsx_scope,
react::no_children_prop,
react::no_dangerously_set_inner_html,
react::no_direct_mutation_state,
react::no_find_dom_node,
react::no_render_return_value,
react::no_string_refs,
Expand Down
Loading

0 comments on commit 684a2f5

Please sign in to comment.