Skip to content

Commit

Permalink
feat(linter): eslint/no-else-return (#4305)
Browse files Browse the repository at this point in the history
  • Loading branch information
poyoho authored Oct 1, 2024
1 parent 0400ff9 commit a089e19
Show file tree
Hide file tree
Showing 3 changed files with 977 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 @@ -63,6 +63,7 @@ mod eslint {
pub mod no_dupe_else_if;
pub mod no_dupe_keys;
pub mod no_duplicate_case;
pub mod no_else_return;
pub mod no_empty;
pub mod no_empty_character_class;
pub mod no_empty_function;
Expand Down Expand Up @@ -536,6 +537,7 @@ oxc_macros::declare_all_lint_rules! {
eslint::no_empty_function,
eslint::no_empty_pattern,
eslint::no_empty_static_block,
eslint::no_else_return,
eslint::no_eq_null,
eslint::no_eval,
eslint::no_ex_assign,
Expand Down
Loading

0 comments on commit a089e19

Please sign in to comment.