Skip to content

Commit

Permalink
feat(linter): add the eslint/no_duplicate_imports rule (#7309)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spoutnik97 authored Nov 25, 2024
1 parent e5d49db commit 87c893f
Show file tree
Hide file tree
Showing 3 changed files with 634 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 @@ -67,6 +67,7 @@ mod eslint {
pub mod no_dupe_else_if;
pub mod no_dupe_keys;
pub mod no_duplicate_case;
pub mod no_duplicate_imports;
pub mod no_else_return;
pub mod no_empty;
pub mod no_empty_character_class;
Expand Down Expand Up @@ -531,6 +532,7 @@ oxc_macros::declare_all_lint_rules! {
eslint::max_lines,
eslint::max_params,
eslint::no_object_constructor,
eslint::no_duplicate_imports,
eslint::no_alert,
eslint::no_array_constructor,
eslint::no_async_promise_executor,
Expand Down
Loading

0 comments on commit 87c893f

Please sign in to comment.