Skip to content

Commit

Permalink
feat(linter) eslint-plugin-react/jsx-no-target-blank
Browse files Browse the repository at this point in the history
  • Loading branch information
huangjunjie.coder committed Jan 23, 2024
1 parent 2406e94 commit 288aa83
Show file tree
Hide file tree
Showing 3 changed files with 1,056 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 @@ -149,6 +149,7 @@ mod react {
pub mod jsx_key;
pub mod jsx_no_comment_text_nodes;
pub mod jsx_no_duplicate_props;
pub mod jsx_no_target_blank;
pub mod jsx_no_undef;
pub mod jsx_no_useless_fragment;
pub mod no_children_prop;
Expand Down Expand Up @@ -500,6 +501,7 @@ oxc_macros::declare_all_lint_rules! {
unicorn::text_encoding_identifier_case,
unicorn::throw_new_error,
react::button_has_type,
react::jsx_no_target_blank,
react::jsx_key,
react::jsx_no_comment_text_nodes,
react::jsx_no_duplicate_props,
Expand Down
Loading

0 comments on commit 288aa83

Please sign in to comment.